Spaces:
Running
Running
File size: 430 Bytes
1f90db4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
<script lang="ts">
// Svelte
import { onMount } from "svelte";
// Variables
let displayGame: boolean = false;
onMount(() => {
displayGame = true;
});
</script>
<h1>Welcome to SvelteKit</h1>
<p>
Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation
</p>
{#if displayGame}
<iframe
src="game/index.html"
frameborder="0"
title="Spaceship Drift"
height="512"
width="512"
/>
{/if}
|