Skip to content

Commit

Permalink
chore: Add Discord link to Header component
Browse files Browse the repository at this point in the history
  • Loading branch information
xuelink committed Jun 18, 2024
1 parent e7b2903 commit ba416c7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/lib/components/organisms/Header.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script lang="ts">
import Logo from '$lib/components/atoms/Logo.svelte';
import StarCount from '$lib/components/molecules/StarCount.svelte';
import DiscordIcon from '$lib/icons/socials/discord.svelte';
import ThemeToggle from '$lib/components/molecules/ThemeToggle.svelte';
export let showBackground = false;
Expand All @@ -13,8 +14,16 @@
</div>
<div class="links">
<a href="/blog">Blog</a>
<a href="https://docs.langx.io">Litepaper</a>
<a href="https://docs.langx.io">Docs</a>
<StarCount />
<a
href="https://discord.langx.io"
target="_blank"
rel="noopener noreferrer"
title="Join our Discord server"
>
<DiscordIcon />
</a>
<ThemeToggle />
</div>
</nav>
Expand Down

0 comments on commit ba416c7

Please sign in to comment.