From aecf415145d50404bfe7170d0e04ae7a5d297e25 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 31 Aug 2022 23:31:28 -0700 Subject: image selection mockups --- src/locales/en.json | 2 + src/routes/[username]/settings/_account.svelte | 54 +++++++++++++++++++------- tailwind.config.cjs | 3 +- 3 files changed, 43 insertions(+), 16 deletions(-) diff --git a/src/locales/en.json b/src/locales/en.json index a1688524..3c75edee 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -146,6 +146,8 @@ "showQR": "Show QR" }, "settings": { + "bannerImage": "Banner Image", + "profileImage": "Profile Image", "oneTimeCode": "Enter one-time code", "accountId": "Account Secret", "header": "Settings", diff --git a/src/routes/[username]/settings/_account.svelte b/src/routes/[username]/settings/_account.svelte index ff718637..f34828e5 100644 --- a/src/routes/[username]/settings/_account.svelte +++ b/src/routes/[username]/settings/_account.svelte @@ -31,20 +31,12 @@
- +
- +
@@ -65,11 +57,7 @@
- +
@@ -92,6 +80,42 @@

+
+
+ {$t('user.settings.profileImage')} +
+ +
+
+ +
+
+ +
gumbo.jpg
+
+
+
+ +
+
+ {$t('user.settings.bannerImage')} +
+

+ Recommended size: 1920x540px +

+
+ +
gumbo.jpg
+
+
{$t('user.settings.theme')}

{$t('user.settings.themeDescription')}

diff --git a/tailwind.config.cjs b/tailwind.config.cjs index d8b7f6d4..2941c890 100644 --- a/tailwind.config.cjs +++ b/tailwind.config.cjs @@ -7,7 +7,8 @@ module.exports = { primary: '#F5F7FA', secondary: '#70757E', gradient: '#C3CFE2', - lightgrey: '#EAECEF' + lightgrey: '#EAECEF', + grey: '#70757E' } } }, -- cgit v1.2.3