1
0
Fork 0

Ignore build

This commit is contained in:
Leon Grünewald 2024-10-23 22:27:06 +02:00
parent c2dafe4ee1
commit c4cf867689
5 changed files with 9 additions and 13 deletions

1
.gitignore vendored
View file

@ -10,6 +10,7 @@ lerna-debug.log*
node_modules
dist
dist-ssr
build
*.local
.svelte-kit

View file

@ -1,13 +0,0 @@
<script>
import { Fa } from 'svelte-fa';
import { AppRailAnchor } from '@skeletonlabs/skeleton';
import { showSearch } from '$lib/stores';
import { faSearch } from '@fortawesome/free-solid-svg-icons';
</script>
<AppRailAnchor on:click={() => $showSearch = !$showSearch}>
<div class="flex flex-col gap-2 place-content-center">
<Fa size={'2x'} icon={faSearch} />
<p>Search</p>
</div>
</AppRailAnchor>

View file

@ -0,0 +1,8 @@
function useLoading() {
let loading = $state(false);
return {
get loading() {return loading},
setLoading: (val) => {loading = val},
toggleLoading: () => {loading = !loading}
}
}

View file

View file