feat: Episode page

This commit is contained in:
Aleksi Lassila
2024-04-23 18:24:05 +03:00
parent 423d8d9af4
commit 5ece8dd6f5
17 changed files with 303 additions and 57 deletions

View File

@@ -0,0 +1,17 @@
<script lang="ts">
import classNames from 'classnames';
export let title: string | undefined;
</script>
<div
class={classNames(
'text-left font-medium tracking-wider text-zinc-200 hover:text-amber-200 mt-1',
{
'text-4xl sm:text-5xl lg:text-6xl': (title?.length || 0) < 15,
'text-3xl sm:text-4xl lg:text-5xl': (title?.length || 0) >= 15
}
)}
>
{title}
</div>