Skip to content

Commit

Permalink
Merge pull request #23 from OneBusAway/logo-feat
Browse files Browse the repository at this point in the history
Changed the Region Name text to OBA Logo
  • Loading branch information
aaronbrethorst authored Jul 12, 2024
2 parents 7da99c5 + 643c5f2 commit a7e312b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/navigation/Header.svelte
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<script>
import { PUBLIC_OBA_REGION_NAME } from '$env/static/public';
import { PUBLIC_OBA_REGION_NAME, PUBLIC_OBA_LOGO_URL } from '$env/static/public';
import ThemeSwitcher from '$lib/ThemeSwitch/ThemeSwitcher.svelte';
</script>

<div
class="bg-blur-md flex items-center justify-between border-b border-neutral-300 bg-white/80 px-4 dark:bg-black dark:text-white"
>
<div class="px-2 py-2">
<h1 class="text-3xl font-semibold">{PUBLIC_OBA_REGION_NAME}</h1>
<a href="/">
<img src={PUBLIC_OBA_LOGO_URL} alt={PUBLIC_OBA_REGION_NAME} class="h-10 rounded-sm" />
</a>
</div>
<div>
<ThemeSwitcher />
Expand Down

0 comments on commit a7e312b

Please sign in to comment.