Redoing account section

This commit is contained in:
Eclypsed
2024-01-21 01:48:49 -05:00
parent 54309d06cf
commit 529e261023
9 changed files with 117 additions and 105 deletions
-25
View File
@@ -1,25 +0,0 @@
<script>
import IconButton from './iconButton.svelte'
import SearchBar from './searchBar.svelte'
import { goto } from '$app/navigation'
import { page } from '$app/stores'
</script>
<nav class="sticky top-0 z-10 flex items-center justify-between p-3 text-base duration-300" style="height: 4rem;">
<SearchBar />
<!-- <section class="flex h-14">
<IconButton halo={false} on:click={() => goto('/settings')}>
<i slot="icon" class="fa-solid fa-user" />
</IconButton>
{#if $page.url.pathname !== '/'}
<IconButton halo={false} on:click={() => history.back()}>
<i slot="icon" class="fa-solid fa-arrow-left" />
</IconButton>
<IconButton halo={false}>
<i slot="icon" class="fa-solid fa-magnifying-glass" />
</IconButton>
{/if}
</section> -->
</nav>
<!-- New Idea: We're going to do a search button, but it will toggle a floating search bar that flys in from the top and autofocuses -->