feat: ditch triplit, move to postgresql + drizzle orm
This commit is contained in:
+13
-7
@@ -1,7 +1,11 @@
|
||||
<script setup lang="ts">
|
||||
// TODO: when a user changes the color scheme and then signs in/up, the color
|
||||
// scheme will not be updated in the user's settings.
|
||||
const { colorScheme } = useUserSettings();
|
||||
// const { colorScheme } = useUserSettings();
|
||||
|
||||
const colorScheme = {
|
||||
class: 'dark',
|
||||
}
|
||||
|
||||
useHead({
|
||||
htmlAttrs: {
|
||||
@@ -13,12 +17,14 @@ preloadRouteComponents('/');
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<main
|
||||
class="p-2 bg-[var(--bg-surface)] flex flex-col h-full w-full border border-solid border-[var(--color-border)] rounded-lg overflow-hidden">
|
||||
<div class="flex-1 overflow-y-auto">
|
||||
<slot />
|
||||
</div>
|
||||
</main>
|
||||
<div class="p-2 w-full h-full">
|
||||
<main
|
||||
class="bg-[var(--bg-surface)] flex flex-col h-full w-full border border-solid border-[var(--color-border)] rounded-lg overflow-hidden">
|
||||
<div class="flex-1 overflow-y-auto">
|
||||
<slot />
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
|
||||
Reference in New Issue
Block a user