spaceship_drift / src /routes /+page.svelte
HugoDzz's picture
feat: upload game
1f90db4
raw
history blame
430 Bytes
<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}