mirror of
https://github.com/aleksilassila/reiverr.git
synced 2026-04-21 16:25:11 +02:00
feat: Episode page
This commit is contained in:
0
src/lib/components/HeroInfo/HeroInfoSubtitle.svelte
Normal file
0
src/lib/components/HeroInfo/HeroInfoSubtitle.svelte
Normal file
0
src/lib/components/HeroInfo/HeroInfoTags.svelte
Normal file
0
src/lib/components/HeroInfo/HeroInfoTags.svelte
Normal file
17
src/lib/components/HeroInfo/HeroInfoTitle.svelte
Normal file
17
src/lib/components/HeroInfo/HeroInfoTitle.svelte
Normal 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>
|
||||
Reference in New Issue
Block a user