Skip to content

Commit

Permalink
feat(site): add header
Browse files Browse the repository at this point in the history
  • Loading branch information
cor committed Sep 26, 2023
1 parent 589371b commit a1170ee
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
9 changes: 9 additions & 0 deletions site/src/lib/Header.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<header class="bg-black flex items-center p-4 gap-4">
<img class="h-[32px]" src="logo.svg" alt="Union Logo" />
<nav class="flex flex-1 justify-end">
<ul class="flex gap-4 font-mono">
<li>docs</li>
<li>blog</li>
</ul>
</nav>
</header>
3 changes: 3 additions & 0 deletions site/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<script>
import '../app.css';
import Header from '$lib/Header.svelte';
</script>

<Header />

<svelte:head>
<title>Union</title>
</svelte:head>
Expand Down
14 changes: 14 additions & 0 deletions site/static/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a1170ee

Please sign in to comment.