Skip to content

Commit

Permalink
feat: add logo to site (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
xynydev committed Jul 14, 2024
1 parent dd73079 commit 048f501
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@

<div class="min-h-screen bg-background text-foreground">
<header class="flex flex-row border-b border-muted px-8 py-4">
<h1 class="place-self-center text-xl"><a href="/">BlueBuild Workshop</a></h1>
<h1 class="place-self-center text-xl">
<a href="/">
<img src="/logo-light.svg" alt="BlueBuild Workshop" class="h-10 dark:hidden" />
<img src="/logo-dark.svg" alt="BlueBuild Workshop" class="h-10 hidden dark:block" />
</a>
</h1>
<div class="ml-auto flex flex-row gap-2">
<Button
on:click={toggleMode}
Expand Down
32 changes: 32 additions & 0 deletions static/logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 048f501

Please sign in to comment.