Skip to content

Commit

Permalink
feat: add navigation links for the future (#58)
Browse files Browse the repository at this point in the history
* feat: add navigation links on navbar

* feat: style the navigation links

* fix: remove inline height
  • Loading branch information
xnought authored Nov 14, 2023
1 parent 2f42386 commit c116c6c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 6 deletions.
31 changes: 25 additions & 6 deletions frontend/src/routes/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@
</script>

<header>
<div class="corner">
<a href="/">
<img src={logo} alt="Venome Logo" />
</a>
<div class="nav-container">
<div class="corner">
<a href="/">
<img src={logo} alt="Venome Logo" />
</a>
</div>
<div class="nav">
<a href="/">Search</a>
<a href="/upload">Upload</a>
</div>
</div>

<div class="corner">
Expand All @@ -23,11 +29,24 @@
justify-content: space-between;
background-color: hsla(15, 98%, 51%, 0.06);
box-shadow: 0px 0px 3px 2px hsla(0, 0%, 0%, 0.208);
height: 60px;
}
.nav-container {
display: flex;
height: 60px;
gap: 10px;
}
.nav {
display: flex;
align-items: center;
gap: 10px;
}
.corner {
width: 3em;
height: 3em;
width: 60px;
height: 60px;
}
.corner a {
Expand Down
9 changes: 9 additions & 0 deletions frontend/src/routes/upload/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<script lang="ts">
/* Put stuff here */
</script>

<div>Upload Page</div>

<style>
/* put stuff here */
</style>

0 comments on commit c116c6c

Please sign in to comment.