Skip to content

Commit b8d4fe8

Browse files
committed
Add /switch (a static page for testing)
1 parent 2bb3cd0 commit b8d4fe8

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

src/routes/switch/+page.svelte

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<script lang="ts">
2+
const isOn = true;
3+
</script>
4+
5+
<svelte:head>
6+
<title>switch | aagam's blog</title>
7+
</svelte:head>
8+
9+
<main class="flex items-center align-center">
10+
<p class="text-2xl">
11+
the switch is <span class="font-bold italic">{isOn ? 'alive' : 'dead'}</span>
12+
</p>
13+
</main>

0 commit comments

Comments
 (0)