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

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

<svelte:head>
	<title>Projects | {user.displayname}</title>
	<meta name="description" content="Hackathon projects and achievements" />
</svelte:head>

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

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