Makes the navbar and layout clicks

This commit is contained in:
2023-08-14 21:38:34 +02:00
parent 3cc52e37b2
commit 28e118c5ec
14 changed files with 270 additions and 130 deletions

6
src/lib/stores/layout.ts Normal file
View File

@@ -0,0 +1,6 @@
import { persistentWritable } from '$lib/persistentStore';
import type { Writable } from 'svelte/store';
export type LayoutDirection = 'column' | 'row';
export const layoutDirection: Writable<LayoutDirection> = persistentWritable('layout', 'column');