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

	let { data } = $props();
</script>

<svelte:head>
	<title>Buildfor Life Budget</title>
</svelte:head>

{#if data.user}
	<meta http-equiv="refresh" content="0; url=/dashboard" />
{:else}
	<meta http-equiv="refresh" content="0; url=/login" />
{/if}
