From e72efae24df29a8d3d728cbacfeb0eabd0536904 Mon Sep 17 00:00:00 2001 From: dumbmoron Date: Sun, 4 Aug 2024 13:24:10 +0000 Subject: [PATCH] web/donate: initial re-redesign --- pnpm-lock.yaml | 8 + web/i18n/en/donate.json | 4 + web/package.json | 1 + web/src/routes/donate/+page.svelte | 338 ++++++++--------------------- web/static/icons/imput.svg | 5 + 5 files changed, 114 insertions(+), 242 deletions(-) create mode 100644 web/i18n/en/donate.json create mode 100644 web/static/icons/imput.svg diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 39ceaa36..1d6d724e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -92,6 +92,9 @@ importers: '@eslint/js': specifier: ^9.5.0 version: 9.8.0 + '@fontsource/redaction-10': + specifier: ^5.0.2 + version: 5.0.2 '@sveltejs/adapter-static': specifier: ^3.0.2 version: 3.0.2(@sveltejs/kit@2.5.19(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.3.5(@types/node@20.14.14)))(svelte@4.2.18)(vite@5.3.5(@types/node@20.14.14))) @@ -324,6 +327,9 @@ packages: '@fontsource/ibm-plex-mono@5.0.13': resolution: {integrity: sha512-gtlMmvk//2AgDEZDFsoL5z9mgW3ZZg/9SC7pIfDwNKp5DtZpApgqd1Fua3HhPwYRIHrT76IQ1tMTzQKLEGtJGQ==} + '@fontsource/redaction-10@5.0.2': + resolution: {integrity: sha512-PODxYvb06YrNxdUBGcygiMibpgcZihzmvkmlX/TQAA2F7BUU/anfSKQi/VnLdJ/8LIK81/bUY+i7L/GP27FkVw==} + '@humanwhocodes/config-array@0.11.14': resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==} engines: {node: '>=10.10.0'} @@ -1945,6 +1951,8 @@ snapshots: '@fontsource/ibm-plex-mono@5.0.13': {} + '@fontsource/redaction-10@5.0.2': {} + '@humanwhocodes/config-array@0.11.14': dependencies: '@humanwhocodes/object-schema': 2.0.3 diff --git a/web/i18n/en/donate.json b/web/i18n/en/donate.json new file mode 100644 index 00000000..687be9ec --- /dev/null +++ b/web/i18n/en/donate.json @@ -0,0 +1,4 @@ +{ + "title": "Support a safe\nand open Internet", + "subtitle": "donate to imput or share the\njoy of cobalt with a friend" +} \ No newline at end of file diff --git a/web/package.json b/web/package.json index 7d486620..b50062e4 100644 --- a/web/package.json +++ b/web/package.json @@ -25,6 +25,7 @@ "homepage": "https://cobalt.tools/", "devDependencies": { "@eslint/js": "^9.5.0", + "@fontsource/redaction-10": "^5.0.2", "@sveltejs/adapter-static": "^3.0.2", "@sveltejs/kit": "^2.0.0", "@sveltejs/vite-plugin-svelte": "^3.0.0", diff --git a/web/src/routes/donate/+page.svelte b/web/src/routes/donate/+page.svelte index efd65747..c977368b 100644 --- a/web/src/routes/donate/+page.svelte +++ b/web/src/routes/donate/+page.svelte @@ -1,13 +1,11 @@