<script lang="ts">
	import Router from 'svelte-spa-router'

	import Home from '$lib/router/routes/Home.svelte'
	import Daily from '$router/routes/Daily.svelte'
	import Weekly from '$router/routes/Weekly.svelte'
	import Monthly from '$router/routes/Monthly.svelte'
	import Yearly from '$router/routes/Yearly.svelte'

	const routes = {
		'/': Home,
		'/daily': Daily,
		'/weekly': Weekly,
		'/monthly': Monthly,
		'/yearly': Yearly
	}
</script>

<Router {routes} />
