From a25e8c2d07188e1c59088757eb66ed4b4af4e134 Mon Sep 17 00:00:00 2001 From: Aria Date: Sun, 11 May 2025 22:29:26 +1000 Subject: [PATCH] Add donations to about page --- package.json | 3 ++ pnpm-lock.yaml | 30 ++++++++++++ src/components/Donations.astro | 89 ++++++++++++++++++++++++++++++++++ src/pages/about.astro | 2 + 4 files changed, 124 insertions(+) create mode 100644 src/components/Donations.astro diff --git a/package.json b/package.json index 19df357..5e9f208 100644 --- a/package.json +++ b/package.json @@ -25,10 +25,13 @@ "typescript": "^5.8.3" }, "devDependencies": { + "@iconify-json/cib": "^1.2.2", + "@iconify-json/hugeicons": "^1.2.5", "@iconify-json/mdi": "^1.2.3", "@iconify-json/meteor-icons": "^1.2.1", "@iconify-json/tabler": "^1.2.17", "@tailwindcss/typography": "^0.5.16", + "@iconify-json/token": "^1.2.16", "vite": "^6.3.3" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3847f49..338e1ae 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,6 +48,12 @@ importers: specifier: ^5.8.3 version: 5.8.3 devDependencies: + '@iconify-json/cib': + specifier: ^1.2.2 + version: 1.2.2 + '@iconify-json/hugeicons': + specifier: ^1.2.5 + version: 1.2.5 '@iconify-json/mdi': specifier: ^1.2.3 version: 1.2.3 @@ -57,6 +63,9 @@ importers: '@iconify-json/tabler': specifier: ^1.2.17 version: 1.2.17 + '@iconify-json/token': + specifier: ^1.2.16 + version: 1.2.16 '@tailwindcss/typography': specifier: ^0.5.16 version: 0.5.16(tailwindcss@3.4.17) @@ -410,6 +419,12 @@ packages: cpu: [x64] os: [win32] + '@iconify-json/cib@1.2.2': + resolution: {integrity: sha512-WevYDdIm0x3I3YZyoIgdSu4uurbzs2b2gsMLUj8/EMKMoPIx6GF+t0VcaCgFY4a0rIdUY18MYP6m9XgcOhOtFg==} + + '@iconify-json/hugeicons@1.2.5': + resolution: {integrity: sha512-luPAFcmQU7eQFHzjtYdYbF5j2h8/6SCv+FGQP7FNJNVBjVGQOyuyum5wXDFEx13F8lGk/AGPVWGqMHp7+HdmJg==} + '@iconify-json/mdi@1.2.3': resolution: {integrity: sha512-O3cLwbDOK7NNDf2ihaQOH5F9JglnulNDFV7WprU2dSoZu3h3cWH//h74uQAB87brHmvFVxIOkuBX2sZSzYhScg==} @@ -419,6 +434,9 @@ packages: '@iconify-json/tabler@1.2.17': resolution: {integrity: sha512-Jfk20IC/n7UOQQSXM600BUhAwEfg8KU1dNUF+kg4eRhbET5w1Ktyax7CDx8Z8y0H6+J/8//AXpJOEgG8YoP8rw==} + '@iconify-json/token@1.2.16': + resolution: {integrity: sha512-SSAcsY2Gz6WSbInwHSGj6hbk5kgWluOOQunG4L7Gfri1hEb3vCQjl5VMKgTojKd8jqLZw5NykNeRokw5FssATw==} + '@iconify/tools@4.1.2': resolution: {integrity: sha512-q6NzLQYEN9zkDfcyBqD3vItHcZw97w/s++3H3TBxUORr57EfHxj6tOW6fyufDjMq+Vl56WXWaPx1csBPYlI5CA==} @@ -3290,6 +3308,14 @@ snapshots: '@esbuild/win32-x64@0.25.3': optional: true + '@iconify-json/cib@1.2.2': + dependencies: + '@iconify/types': 2.0.0 + + '@iconify-json/hugeicons@1.2.5': + dependencies: + '@iconify/types': 2.0.0 + '@iconify-json/mdi@1.2.3': dependencies: '@iconify/types': 2.0.0 @@ -3302,6 +3328,10 @@ snapshots: dependencies: '@iconify/types': 2.0.0 + '@iconify-json/token@1.2.16': + dependencies: + '@iconify/types': 2.0.0 + '@iconify/tools@4.1.2': dependencies: '@iconify/types': 2.0.0 diff --git a/src/components/Donations.astro b/src/components/Donations.astro new file mode 100644 index 0000000..875638d --- /dev/null +++ b/src/components/Donations.astro @@ -0,0 +1,89 @@ +--- +const kofi = "https://ko-fi.com/buymyaria"; +const buymeacoffee = "https://buymeacoffee.com/buymymojo"; + + +import Partition from "../components/Partition.astro"; + +import { Icon } from "astro-icon/components"; +--- + + +

Feel free to fund me at these places:

+ +
diff --git a/src/pages/about.astro b/src/pages/about.astro index 671c51e..2dc827a 100644 --- a/src/pages/about.astro +++ b/src/pages/about.astro @@ -1,6 +1,7 @@ --- import FriendLink from "../components/FriendLink.astro"; import Partition from "../components/Partition.astro"; +import Donations from "../components/Donations.astro"; import BaseLayout from "../layouts/BaseLayout.astro"; import "../styles/aria.css"; @@ -183,6 +184,7 @@ const skillColor = "#F5A8B7"; +