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

	const speed = getPageSpeedMultiplier('research');
	const autoscroll = getPageAutoscroll('research');
	const meta = pageMeta['/projects/research'];
</script>

<svelte:head>
	<title>{meta?.title ?? `${user.displayname} — Research`}</title>
	<meta name="description" content={meta?.description ?? 'Research work and publications'} />
</svelte:head>

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

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