feat: Allow the user to add more "archive" like pages #10

Merged
aniva merged 6 commits from routing/extra into main 2024-10-11 01:32:13 -07:00
1 changed files with 9 additions and 5 deletions
Showing only changes of commit bc40990b52 - Show all commits

View File

@ -48,12 +48,12 @@
class="floater-elem"
style="padding-bottom: {(1 - progress) * 50}vh"
>
<div class="flex h-5 items-center space-x-4 text-sm">
<a class="navbar-link" href="#bio">Bio</a>
<div id="navbar" class="h-5 items-center space-x-4 text-sm">
<a href="#bio">Bio</a>
{#each routes as item}
{#if item.route !== "/"}
<Separator class="bg-gray-500 dark:bg-gray-100" orientation="vertical" />
<a class="navbar-link" href={item.route} class:disabled-link={item.disabled}>{item.name}</a>
<a href={item.route} class:disabled-link={item.disabled}>{item.name}</a>
{/if}
{/each}
</div>
@ -98,8 +98,8 @@
background-position: center center;
z-index: -10;
position: fixed;
min-width: 100vw;
min-height: 100vh;
min-width: 100%;
min-height: 100%;
overscroll-behaviour: none;
}
#front {
@ -116,6 +116,10 @@
margin-left: auto;
margin-right: auto;
}
#navbar {
display: flex;
flex-wrap: wrap;
}
.floater-elem {
margin-left: auto;
margin-right: auto;