<script lang="ts">
	import type { PageData } from './$types';

	export let data: PageData;
</script>

<div class="flex flex-col items-center space-y-4">
	<h1 class="text-2xl font-semibold">Game Over!</h1>
	<p class="text-md">Peli on päättynyt!</p>
	<p class="text-md">Sait</p>
	<p class="rounded-xl border-2 p-4 text-xl font-semibold">{data.score}</p>
	<p class="text-md">pistettä!</p>
</div>
