restyling
Co-authored-by: Petter Sæterøy <potetmos1@users.noreply.github.com>
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
---
|
||||
import logo from '@assets/logo.png';
|
||||
import { Image } from 'astro:assets';
|
||||
import { translations } from '../data/i18n.js';
|
||||
import { translations } from '@data/i18n.js';
|
||||
const { lang = 'no' } = Astro.props;
|
||||
const t = translations[lang].hero;
|
||||
---
|
||||
|
||||
<section class="flex flex-col items-center justify-center h-[75vh] gap-4">
|
||||
<h1 class="text-4xl">{t.title}</h1>
|
||||
<Image src={logo} alt={t.alt} width={250} height={250}/>
|
||||
<section class="flex flex-col items-center justify-center h-[50vh] gap-4">
|
||||
<h1 class="text-4xl font-extrabold">{t.title}</h1>
|
||||
<Image src={logo} alt={t.alt} width={250} height={250} loading="eager" />
|
||||
</section>
|
Reference in New Issue
Block a user