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

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

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

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

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