restyling

Co-authored-by: Petter Sæterøy <potetmos1@users.noreply.github.com>
This commit is contained in:
2025-07-02 23:36:30 +02:00
parent 9bfdfcbae6
commit ec5061168b
14 changed files with 169 additions and 136 deletions

View File

@ -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>