Add donations to about page
This commit is contained in:
parent
ecc6cbd35e
commit
a25e8c2d07
4 changed files with 124 additions and 0 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
30
pnpm-lock.yaml
generated
30
pnpm-lock.yaml
generated
|
@ -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
|
||||
|
|
89
src/components/Donations.astro
Normal file
89
src/components/Donations.astro
Normal file
|
@ -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";
|
||||
---
|
||||
|
||||
<Partition>
|
||||
<h1>Feel free to fund me at these places:</h1>
|
||||
<ul class="list-disc p-4 whitespace-nowrap">
|
||||
<li>
|
||||
<a href={kofi} class="p-1" target="_blank"
|
||||
><Icon name="hugeicons:ko-fi" class={"svg-inline"} /> Ko-Fi</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href={buymeacoffee} class="p-1" target="_blank"
|
||||
><Icon name="cib:buy-me-a-coffee" class={"svg-inline"} /> Buy Me a Coffee</a>
|
||||
</li>
|
||||
<li>
|
||||
<Icon name="token:xmr" class={"svg-inline"} /> XMR: <textarea
|
||||
onclick="this.select()"
|
||||
readonly
|
||||
cols="95"
|
||||
rows="1"
|
||||
class="rounded backdrop-brightness-0"
|
||||
style="background-color: var(--third-colour); resize: none;"
|
||||
>48NZQ5rYpiNEjNtsWKbyniVY3FpJ9kLVA815cxfSMPF5gvjrBiHH9x5JLr3aBYhvKvENCdhrYgzQ9LhBnR5NoinWDCGBzNm</textarea
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<Icon name="token:btc" class={"svg-inline"} /> BTC: <textarea
|
||||
onclick="this.select()"
|
||||
readonly
|
||||
cols="42"
|
||||
rows="1"
|
||||
class="rounded backdrop-brightness-0"
|
||||
style="background-color: var(--third-colour); resize: none;"
|
||||
>bc1qeqz2fswpn4hjjy373gyvjgkq63hv7mknwd6cau</textarea
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<Icon name="token:ltc" class={"svg-inline"} /> LTC: <textarea
|
||||
onclick="this.select()"
|
||||
readonly
|
||||
cols="34"
|
||||
rows="1"
|
||||
class="rounded backdrop-brightness-0"
|
||||
style="background-color: var(--third-colour); resize: none;"
|
||||
>LW4tGWNzYQ21eJ8G2LZaLqroYU67nSNwnY</textarea
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<Icon name="token:eth" class={"svg-inline"} /> ETH: <textarea
|
||||
onclick="this.select()"
|
||||
readonly
|
||||
cols="42"
|
||||
rows="1"
|
||||
class="rounded backdrop-brightness-0"
|
||||
style="background-color: var(--third-colour); resize: none;"
|
||||
>0xDd947270bCE2bBB3a3E3eCc4eA5095c14aa9ec58</textarea
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<Icon name="token:usdc" class={"svg-inline"} /> USDC(ETH): <textarea
|
||||
onclick="this.select()"
|
||||
readonly
|
||||
cols="42"
|
||||
rows="1"
|
||||
class="rounded backdrop-brightness-0"
|
||||
style="background-color: var(--third-colour); resize: none;"
|
||||
>0xDd947270bCE2bBB3a3E3eCc4eA5095c14aa9ec58</textarea
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<Icon name="token:usdt" class={"svg-inline"} /> USDT(ETH): <textarea
|
||||
onclick="this.select()"
|
||||
readonly
|
||||
cols="42"
|
||||
rows="1"
|
||||
class="rounded backdrop-brightness-0"
|
||||
style="background-color: var(--third-colour); resize: none;"
|
||||
>0xDd947270bCE2bBB3a3E3eCc4eA5095c14aa9ec58</textarea
|
||||
>
|
||||
</li>
|
||||
</ul>
|
||||
</Partition>
|
|
@ -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";
|
|||
</li>
|
||||
</ul>
|
||||
</Partition>
|
||||
<Donations />
|
||||
</BaseLayout>
|
||||
|
||||
<style define:vars={{ skillColor }}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue