<script lang="ts">
	import TerminalTUI from '$lib/components/TerminalTUI.svelte';
	import { site } from '$lib/config';
	import { getPageSpeedMultiplier, getPageAutoscroll } from '$lib';

	import { lines } from '$lib/pages/home';

	const speed = getPageSpeedMultiplier('home');
	const autoscroll = getPageAutoscroll('home');
</script>

<svelte:head>
	<title>{site.title}</title>
	<meta name="description" content={site.description} />
</svelte:head>

<div class="home-container">
	<TerminalTUI {lines} title="~" interactive={true} {speed} {autoscroll} />
</div>

<style>
	.home-container {
		padding: 1rem 1rem;
		min-height: calc(100vh - 60px);
	}
</style>
