From 71d6a9d9cd67668e41efa040c2337b0bb4316561 Mon Sep 17 00:00:00 2001 From: Akis Date: Wed, 17 Aug 2022 16:51:26 +0300 Subject: [PATCH 1/2] apply midou's patch --- src/routes/donate.md | 47 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/src/routes/donate.md b/src/routes/donate.md index c264b13..191cd85 100644 --- a/src/routes/donate.md +++ b/src/routes/donate.md @@ -11,7 +11,16 @@ description: The ways you can donate to us and more. If you donate, we will be more motivated to work on the server and host more stuff and maybe even get more hardware. We really recommend you donate any spare money you have if you enjoy or use our services on a daily basis. Thanks! -## Donation Links +# Donation Links + +## Credit Card + +
+ + + +## Cryptos ### You can use our [domain name](https://projectsegfau.lt) as a crypto wallet address in supported OpenAlias Clients such as [MyMonero](https://mymonero.com/), [Electrum](https://electrum.org/) and [Electrum-LTC](https://electrum-ltc.org/). @@ -36,4 +45,40 @@ _You can find all of our financial reports on [our transparency repository on Gi code { word-wrap: break-word; } + .money { + } + + + +@media screen and (max-width: 452px) { + .buttons { + flex-direction: column; + } +} + + +html { + --accent: #F6C915; +} + +html.light { + --accent: #F6C915; + + } + +.buttons a { + text-decoration: none; + background-color: var(--accent); + padding: 8px 1em 8px 1em; + color: var(--primary); + border-radius: 10px; + transition: filter 0.25s; + display: inline-flex; + align-items: center; + gap: 4px; +} + +.buttons a:hover { + filter: brightness(125%); +} From 7623aed2bce62561ec62fd754150f247db556c80 Mon Sep 17 00:00:00 2001 From: Akis Date: Wed, 17 Aug 2022 17:08:41 +0300 Subject: [PATCH 2/2] split buttons into component and format stuff --- src/lib/LinkButton.svelte | 33 ++++++++++++++++++++++ src/routes/donate.md | 59 ++++++++------------------------------- src/routes/index.svelte | 30 ++++++-------------- 3 files changed, 53 insertions(+), 69 deletions(-) create mode 100644 src/lib/LinkButton.svelte diff --git a/src/lib/LinkButton.svelte b/src/lib/LinkButton.svelte new file mode 100644 index 0000000..c1a88db --- /dev/null +++ b/src/lib/LinkButton.svelte @@ -0,0 +1,33 @@ + + + + {#if icon} +
+ {/if} + {title} + + + diff --git a/src/routes/donate.md b/src/routes/donate.md index 191cd85..076c0f9 100644 --- a/src/routes/donate.md +++ b/src/routes/donate.md @@ -3,6 +3,10 @@ title: Donate to Project Segfault description: The ways you can donate to us and more. --- + + # { title } { description } @@ -11,30 +15,27 @@ description: The ways you can donate to us and more. If you donate, we will be more motivated to work on the server and host more stuff and maybe even get more hardware. We really recommend you donate any spare money you have if you enjoy or use our services on a daily basis. Thanks! -# Donation Links +## Donation links -## Credit Card +### Credit Card -
- - + -## Cryptos +### Cryptocurrency -### You can use our [domain name](https://projectsegfau.lt) as a crypto wallet address in supported OpenAlias Clients such as [MyMonero](https://mymonero.com/), [Electrum](https://electrum.org/) and [Electrum-LTC](https://electrum-ltc.org/). +You can use our [domain name](https://projectsegfau.lt) as a crypto wallet address in supported OpenAlias clients such as [MyMonero](https://mymonero.com/), [Electrum](https://electrum.org/) and [Electrum-LTC](https://electrum-ltc.org/). -### Monero +#### Monero Address: `47L7Qsto7XcifY3CdG18ySe5Tt83kpFLDLve9jQwbc9taPBLNGv6ZrJNUKpMG9Nj9zHgCZ4FQMSyt75e8Jvx12JFLtJyFdA` ![Monero QR code](/Monero.png) -### Bitcoin +#### Bitcoin Address: `bc1qrc8ywgp95a6p3zausp4nff70qzstp6h8z86sxd` ![Bitcoin QR code](/Bitcoin.png) -### Litecoin +#### Litecoin Address: `ltc1qn3ald586h2ntt0n3zkvwsmju2e5vndgtvvgatj` ![Litecoin QR code](/Litecoin.png) @@ -45,40 +46,4 @@ _You can find all of our financial reports on [our transparency repository on Gi code { word-wrap: break-word; } - .money { - } - - - -@media screen and (max-width: 452px) { - .buttons { - flex-direction: column; - } -} - - -html { - --accent: #F6C915; -} - -html.light { - --accent: #F6C915; - - } - -.buttons a { - text-decoration: none; - background-color: var(--accent); - padding: 8px 1em 8px 1em; - color: var(--primary); - border-radius: 10px; - transition: filter 0.25s; - display: inline-flex; - align-items: center; - gap: 4px; -} - -.buttons a:hover { - filter: brightness(125%); -} diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 4133504..4870672 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -1,6 +1,7 @@