From 557a7f8239c95ee2126a993ef84c43b5fc59adee Mon Sep 17 00:00:00 2001 From: Midou36O Date: Mon, 24 Jul 2023 19:09:24 +0100 Subject: [PATCH] Rework the main page to look like the donation page and sprinkle some donation page layout on top of it --- package.json | 30 +++++------ src/routes/+page.svelte | 71 +++++++++++++++++---------- src/routes/donate/monero/+page.svelte | 28 ++++++++--- 3 files changed, 82 insertions(+), 47 deletions(-) diff --git a/package.json b/package.json index f5ca5a6..0fc72ef 100644 --- a/package.json +++ b/package.json @@ -12,31 +12,31 @@ "format": "prettier --plugin-search-dir . --write ." }, "devDependencies": { - "@iconify/json": "^2.2.27", + "@iconify/json": "^2.2.94", "@sveltejs/adapter-auto": "^1.0.3", - "@sveltejs/adapter-static": "^2.0.1", - "@sveltejs/kit": "^1.8.3", - "@typescript-eslint/eslint-plugin": "^5.53.0", - "@typescript-eslint/parser": "^5.53.0", + "@sveltejs/adapter-static": "^2.0.2", + "@sveltejs/kit": "^1.22.3", + "@typescript-eslint/eslint-plugin": "^5.62.0", + "@typescript-eslint/parser": "^5.62.0", "@unocss/preset-icons": "^0.48.5", "@unocss/preset-web-fonts": "^0.48.5", - "eslint": "^8.34.0", - "eslint-config-prettier": "^8.6.0", + "eslint": "^8.45.0", + "eslint-config-prettier": "^8.8.0", "eslint-plugin-svelte3": "^4.0.0", - "prettier": "^2.8.4", - "prettier-plugin-svelte": "^2.9.0", - "svelte": "^3.55.1", - "svelte-check": "^3.0.4", + "prettier": "^2.8.8", + "prettier-plugin-svelte": "^2.10.1", + "svelte": "^3.59.2", + "svelte-check": "^3.4.6", "svelte-dark-mode": "^2.1.0", - "svelte-time": "^0.7.1", - "tslib": "^2.5.0", + "svelte-time": "^0.7.2", + "tslib": "^2.6.0", "typescript": "^4.9.5", "unocss": "^0.48.5", - "vite": "^4.1.4" + "vite": "^4.4.7" }, "type": "module", "dependencies": { "@unocss/reset": "^0.48.5", - "dayjs": "^1.11.7" + "dayjs": "^1.11.9" } } diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 0c63396..6a490a3 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -2,30 +2,49 @@ import data from '$lib/data.json'; import { fly } from 'svelte/transition'; import { quintOut } from 'svelte/easing'; - - -
-
-
-
-

{data.name}

-

{@html data.description}

-
-
-
-
- - - - -
-
-
-
-
+ - - - - - + +
+ +
+
+
+

{data.name}

+

{@html data.description}

+
+
+ +
+
+ +
+ +

About

+
+ diff --git a/src/routes/donate/monero/+page.svelte b/src/routes/donate/monero/+page.svelte index cc64c54..4b74033 100644 --- a/src/routes/donate/monero/+page.svelte +++ b/src/routes/donate/monero/+page.svelte @@ -6,14 +6,30 @@
-
-

Monero

-
-
+
+

Monero

+
+

QR code:

- QR code + QR code

Monero wallet:

44UzWvWS9wELmqPXzLqiPphXVYBbsjkbC7r4RwCSoXC4UyzC2NbPEoPEjxZsGVfbSPbAHUGtpc8GUYUZ8fdu1a4bNAyBPDe

- +