-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDonationMethods.astro
More file actions
55 lines (49 loc) · 2.08 KB
/
DonationMethods.astro
File metadata and controls
55 lines (49 loc) · 2.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
import JakobPortrait from '@assets/team-members/jakob-portait.jpeg';
import Button from '@components/Button.astro';
import { getDonationMethods } from '@data/real/donations';
import { Image } from 'astro:assets';
import DonationMethodList from './DonationMethodList.svelte';
import DonationMethodTabs from './DonationMethodTabs.svelte';
const possibilities = await getDonationMethods();
---
<section class="mx-auto max-w-[80rem] py-16 lg:py-24">
<div class="mt-4 lg:px-20">
<h2 class="font-serif text-2xl font-bold">Weitere Möglichkeiten, uns zu unterstützen</h2>
<p class="mt-3 text-xl lg:mt-4">
Deine Unterstützung ist der Schlüssel, um unsere Mission voranzutreiben und jungen Menschen
transformative Erfahrungen zu ermöglichen. Neben finanziellen Spenden gibt es auch andere
wertvolle Wege, wie du uns unterstützen kannst:
</p>
<DonationMethodTabs client:idle possibilities={possibilities} />
<DonationMethodList client:idle possibilities={possibilities} />
</div>
<div
class="mt-24 gap-x-28 border-y-2 border-yellow-500 bg-yellow-900 px-4 py-10 lg:mx-20 lg:mt-36 lg:flex lg:flex-row lg:rounded-2xl lg:border-2 lg:px-24"
>
<h3 class="font-serif text-2xl font-bold lg:hidden">Falls sie Fragen haben!</h3>
<Image
alt="Jakob"
class="mx-auto mt-5 h-56 w-56 rounded-2xl bg-gray-300 object-cover object-center lg:mx-0 lg:mt-0"
sizes="14rem"
src={JakobPortrait}
widths={[448, 672]}
/>
<div>
<h3 class="hidden text-center font-serif text-4xl font-bold lg:block">
Falls sie Fragen haben!
</h3>
<dl class="mt-8 grid grid-cols-1 lg:grid-cols-2">
<dt class="font-bold">Ansprechpartner</dt>
<dd>Jakob Voigt</dd>
<dt class="mt-5 font-bold lg:mt-0">Email</dt>
<dd>
<a class="text-gray-800 underline" href="mailto:jakob.voigt@youngvision.org"
>jakob.voigt@youngvision.org</a
>
</dd>
</dl>
<Button class="mt-7" color="dark" href="mailto:kontakt@youngvision.org" text="Schreibe uns" />
</div>
</div>
</section>