Skip to content

Commit a1add33

Browse files
committed
chore + fix: Add logo and fix lib exporting
1 parent 2907f9a commit a1add33

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

src/lib/assets/logo.jpg

43.9 KB
Loading

src/lib/components/header/NavBar.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<NavLinks mobile={true} />
1515
</ul>
1616
</div>
17-
<a href="/" class="btn btn-ghost text-xl">daisyUI</a>
17+
<a href="/" class="btn btn-ghost text-xl">HytaLab</a>
1818
</div>
1919
<div class="navbar-center hidden lg:flex">
2020
<ul class="menu menu-horizontal px-1">

src/lib/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Export all lib items for easy access in routes
2+
export { default as favicon } from './assets/favicon.svg';
3+
export { default as logo } from './assets/logo.jpg'

src/routes/+layout.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts">
22
import './layout.css';
3-
import favicon from '$lib/assets/favicon.svg';
4-
import NavBar from "$components/header/NavBar.svelte";
3+
import { favicon } from '$lib';
4+
import { NavBar } from '$components';
55
66
let { children } = $props();
77
</script>

0 commit comments

Comments
 (0)