-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update: Mon 02 Dec 2024 08:14:55 PM CET
- Loading branch information
Showing
5 changed files
with
80 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<!-- svelte-ignore a11y_no_static_element_interactions --> | ||
<!-- svelte-ignore a11y_click_events_have_key_events --> | ||
<script lang="ts"> | ||
import logo from '$lib/images/logo.png'; | ||
import { goto } from '$app/navigation'; | ||
</script> | ||
|
||
<header class="header glass"> | ||
<img src={logo} alt="" class="logo" /> | ||
<nav> | ||
<i class="bi bi-house" | ||
onclick={() => { | ||
goto('/'); | ||
}} | ||
></i> | ||
<i class="bi bi-info-circle" | ||
onclick={() => { | ||
goto('/about'); | ||
}} | ||
></i> | ||
<i class="bi bi-layout-split" | ||
onclick={() => { | ||
goto('/compare'); | ||
}} | ||
></i> | ||
</nav> | ||
</header> | ||
|
||
<style lang="scss"> | ||
.header { | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
width: calc(100% - 40px); | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
padding: 10px 20px; | ||
i { | ||
cursor: pointer; | ||
font-size: 28px; | ||
margin: 10px; | ||
} | ||
.logo { | ||
width: 50px; | ||
height: 50px; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters