Skip to content

Commit

Permalink
Add donate to contacts and Change URL for Instagram
Browse files Browse the repository at this point in the history
  • Loading branch information
Brambora2022 committed Aug 13, 2024
1 parent 76c8e25 commit cace0f2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
export const SOCIAL_MEDIA_LINKS: Record<string, string> = {
Facebook: "https://www.facebook.com/RetroHerna/",
Instagram: "https://www.instagram.com/retroherna/",
Instagram: "https://www.instagram.com/herni.historie/",
YouTube: "https://www.youtube.com/channel/UCJNNkhuJNO5dujOhy9r-jdA",
Twitch: "https://www.twitch.tv/retroherna_org",
Discord: "https://discord.gg/9AwRUfShX5"
}

export const DONATE_LINKS: Record<string, string> = {
HeroHero: "https://herohero.co/hernihistorie/"
}
17 changes: 16 additions & 1 deletion src/routes/contact/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script>
import Meta from "$lib/Meta.svelte";
import { SOCIAL_MEDIA_LINKS } from "$src/constants";
import { DONATE_LINKS, SOCIAL_MEDIA_LINKS } from "$src/constants";
</script>

<Meta title="Kontaky" />
Expand Down Expand Up @@ -41,4 +41,19 @@
</dd>
{/each}
</dl>

<p>
Finančně nás můžete podpořit na následujících místech:
</p>

<dl>
{#each Object.entries(DONATE_LINKS) as [name, url]}
<dt>
{ name }
</dt>
<dd>
<a href={ url }>{ url }</a>
</dd>
{/each}
</dl>
</article>

0 comments on commit cace0f2

Please sign in to comment.