From a3b0413bf54b5bc72b74149b1040491c862916b2 Mon Sep 17 00:00:00 2001 From: Sebin Song Date: Wed, 9 Oct 2024 12:12:58 +1300 Subject: [PATCH] replace the widget with button (#158) --- src/pages/donate.astro | 66 +++++++++++++++++++++++++++++++++--------- 1 file changed, 52 insertions(+), 14 deletions(-) diff --git a/src/pages/donate.astro b/src/pages/donate.astro index 6e1e40f..30fae38 100644 --- a/src/pages/donate.astro +++ b/src/pages/donate.astro @@ -23,21 +23,27 @@ import { resolvePath } from '@/utils/helpers.js'

If you want to support our project and get rewards like early access to our development or your name listed on this page, you can back us! Here’s how:

-
+ +

Direct Cryptocurrency Donation

or
-

Credit/Debit Card Donation

- +
+

Credit/Debit Card Donation

+ Donate with Donorbox +
+ +
+

Others

+ Other ways to Donate +
- -
+ +
Crypto Donation Receipt
After you make a crypto donation, email us at hi@okturtles.org so we can thank you and send you a receipt for your records and tax purposes — and let us know us know if you'd like us to publicly thank you for your donation!
@@ -103,6 +109,7 @@ import { resolvePath } from '@/utils/helpers.js' .c-container-center { text-align: center; margin: 6rem auto 0 auto; + padding: 0 1rem; } .c-main-title { @@ -128,7 +135,7 @@ import { resolvePath } from '@/utils/helpers.js' } .c-sub-title { - margin-bottom: 2rem; + margin-bottom: 1.5rem; font-style: normal; font-weight: bold; font-size: 18px; @@ -156,6 +163,39 @@ import { resolvePath } from '@/utils/helpers.js' } } +.c-credit { + position: relative; + display: flex; + flex-direction: column; + row-gap: 3rem; + + @include from ($tablet) { + flex-direction: row; + column-gap: 3rem; + justify-content: flex-start; + } + + @include from ($desktop) { + display: flex; + flex-direction: column; + } + + &-block { + display: flex; + flex-direction: column; + + @include from ($tablet) { + flex-grow: 1; + align-items: stretch; + } + + @include from ($desktop) { + flex-grow: unset; + align-items: flex-start; + } + } +} + .c-or { position: absolute; display: flex; @@ -213,10 +253,6 @@ import { resolvePath } from '@/utils/helpers.js' } } -.c-donation-box { - filter: drop-shadow(0px 2px 6px rgba(0,0,0,.2)); -} - .dark-container { background: url('/images/about/blue-background.svg') no-repeat center #fff; background-size: 100%; @@ -262,8 +298,6 @@ import { resolvePath } from '@/utils/helpers.js' } } - - .c-silver-sponsor { width: 22rem; display: flex; @@ -315,4 +349,8 @@ import { resolvePath } from '@/utils/helpers.js' flex-grow: 1; } } + +.c-mb-6 { + margin-bottom: 6rem; +}