diff --git a/src/pages/about/about.hbs b/src/pages/about/about.hbs index 4da7b1fd7..a39e5b9b9 100644 --- a/src/pages/about/about.hbs +++ b/src/pages/about/about.hbs @@ -1,60 +1,75 @@ -
- -
- - -
-

Acode editor {{version}} ({{versionCode}})

-
-
- {{#webview}} - - -
- Webview {{versionName}} - {{packageName}} -
-
- {{/webview}} - - -
- Official webpage -
-
- - -
- foxdebug.com -
-
- - -
- Mail -
-
- - -
- Twitter -
-
- - -
- Instagram -
-
- - -
- GitHub -
-
+
+ -
-
\ No newline at end of file +
+

Acode editor

+
Version {{version}} ({{versionCode}})
+
+ +
+ {{#webview}} + +
+ +
+
+ Webview {{versionName}} +
{{packageName}}
+
+
+ {{/webview}} + +
+ +
+
Official webpage
+
+ +
+ +
+
foxbiz.io
+
+
+ + + diff --git a/src/pages/about/about.scss b/src/pages/about/about.scss index bb6ce2dbb..e2e25c787 100644 --- a/src/pages/about/about.scss +++ b/src/pages/about/about.scss @@ -1,20 +1,132 @@ #about-page { - overflow: auto; + padding: 32px 16px; + display: flex; + flex-direction: column; + align-items: center; + gap: 24px; .logo { - display: block; - height: 250px; - width: 250px; - border-radius: 50%; - background-repeat: no-repeat; - background-position: center; - background-size: contain; - box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.2); - box-shadow: 0 0 8px 2px (--box-shadow-color); - margin: 15px auto; + width: 120px; + height: 120px; + border-radius: 24px; + display: flex; + align-items: center; + justify-content: center; + margin-bottom: 8px; + background: color-mix( + in srgb, + var(--popup-background-color) 20%, + transparent + ); + overflow: hidden; + padding: 8px; + img { + width: auto; + max-width: 100%; + height: auto; + max-height: 100%; + background-repeat: no-repeat; + background-position: center; + background-size: contain; + } + } + .version-info { + text-align: center; + margin-bottom: 32px; + .version-title { + font-size: 24px; + font-weight: 600; + margin-bottom: 4px; + } + .version-number { + color: color-mix(in srgb, var(--primary-text-color) 60%, transparent); + font-size: 14px; + } + } + .info-section { + width: 100%; + max-width: 400px; + background: color-mix( + in srgb, + var(--popup-background-color) 20%, + transparent + ); + border-radius: 12px; + overflow: hidden; + margin-bottom: 16px; + .info-item { + display: flex; + align-items: center; + padding: 16px; + color: var(--secondary-text-color); + text-decoration: none; + border-bottom: 1px solid var(--border-color); + transition: background 0.2s ease; + &:last-child { + border-bottom: none; + } + &:hover { + background: color-mix( + in srgb, + var(--popup-background-color) 40%, + transparent + ); + } + .info-item-icon { + width: 24px; + height: 24px; + margin-right: 12px; + display: flex; + align-items: center; + font-size: 24px; + } + .info-item-text { + flex: 1; + font-size: 15px; + .info-item-subtext { + color: color-mix(in srgb, var(--primary-text-color) 60%, transparent); + font-size: 13px; + margin-top: 2px; + } + } + } } - .file { - background-position: center; + .social-links { + display: grid; + grid-template-columns: repeat(2, 1fr); + gap: 12px; + width: 100%; + max-width: 400px; + .social-link { + display: inline-flex; + align-items: center; + padding: 12px; + background: color-mix( + in srgb, + var(--popup-background-color) 20%, + transparent + ); + border-radius: 12px; + color: var(--secondary-text-color); + text-decoration: none; + transition: all 0.2s ease; + &:hover { + background: color-mix( + in srgb, + var(--popup-background-color) 40%, + transparent + ); + transform: translateY(-1px); + } + .social-icon { + width: 24px; + height: 24px; + margin-right: 12px; + font-size: 24px; + display: flex; + align-items: center; + } + } } } diff --git a/www/index.html b/www/index.html index aa1ce8cea..4387ddc52 100644 --- a/www/index.html +++ b/www/index.html @@ -164,11 +164,11 @@ Acode - - - - - + + + + +