mirror of
https://github.com/danbulant/slightlyComplicatedTicTacToe
synced 2026-06-21 15:52:01 +00:00
17 lines
No EOL
344 B
Svelte
17 lines
No EOL
344 B
Svelte
<script>
|
|
import { onMount } from "svelte";
|
|
import PrestartScreen from "../components/prestartScreen.svelte";
|
|
|
|
let visible = true;
|
|
|
|
onMount(() => {
|
|
let i = setTimeout(() => {
|
|
visible = false;
|
|
}, 2000);
|
|
return () => clearTimeout(i);
|
|
});
|
|
</script>
|
|
|
|
{#if visible}
|
|
<PrestartScreen />
|
|
{/if} |