font
This commit is contained in:
parent
4aaacde3df
commit
05faa76d7d
3 changed files with 10 additions and 5 deletions
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.navbar {
|
.navbar {
|
||||||
@apply flex items-center justify-between border-slate-200 bg-slate-100 px-6 py-2 drop-shadow;
|
@apply flex items-center justify-between border-slate-200 bg-slate-100 px-6 py-2 font-display drop-shadow;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar h1 {
|
.navbar h1 {
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,10 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import { goto } from '$app/navigation';
|
||||||
import Loader from '$lib/components/Loader.svelte';
|
import Loader from '$lib/components/Loader.svelte';
|
||||||
|
|
||||||
$effect(() => {
|
$effect(() => {
|
||||||
const id = setTimeout(() => {
|
const id = setTimeout(() => {
|
||||||
window.location.href = '/app';
|
goto('/app');
|
||||||
}, 1500);
|
}, 1500);
|
||||||
return () => {
|
return () => {
|
||||||
clearTimeout(id);
|
clearTimeout(id);
|
||||||
|
|
@ -21,6 +22,6 @@
|
||||||
@apply flex h-screen w-screen flex-col items-center justify-center gap-6 bg-slate-100;
|
@apply flex h-screen w-screen flex-col items-center justify-center gap-6 bg-slate-100;
|
||||||
}
|
}
|
||||||
.site-loader h1 {
|
.site-loader h1 {
|
||||||
@apply text-4xl;
|
@apply font-display text-4xl;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
@ -5,8 +5,12 @@ export default {
|
||||||
content: ['./src/**/*.{html,js,svelte,ts}'],
|
content: ['./src/**/*.{html,js,svelte,ts}'],
|
||||||
|
|
||||||
theme: {
|
theme: {
|
||||||
extend: {}
|
extend: {
|
||||||
|
fontFamily: {
|
||||||
|
display: ['Baskervville SC']
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
plugins: [typography]
|
plugins: [typography]
|
||||||
} satisfies Config;
|
} satisfies Config;
|
||||||
Loading…
Add table
Reference in a new issue