Skip to content

Commit 1bc09be

Browse files
committed
Make route static
1 parent b8d4fe8 commit 1bc09be

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/routes/switch/+page.svelte

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
<script lang="ts">
2-
const isOn = true;
3-
</script>
4-
51
<svelte:head>
62
<title>switch | aagam's blog</title>
73
</svelte:head>
84

95
<main class="flex items-center align-center">
106
<p class="text-2xl">
11-
the switch is <span class="font-bold italic">{isOn ? 'alive' : 'dead'}</span>
7+
the switch is <span class="font-bold italic">on</span>
128
</p>
139
</main>

0 commit comments

Comments
 (0)