Fix form on contact-me page.
All checks were successful
Build and deploy website / build (push) Successful in 1m24s
Build and deploy website / deploy (push) Successful in 1s

Fix wrong link to source code.

Eager loading of image on landing page.

Signed-off-by: Martin Berg Alstad <git@martials.no>
This commit is contained in:
2024-10-09 20:33:18 +02:00
parent c3b698956b
commit 87184c431d
10 changed files with 61 additions and 64 deletions

View File

@ -1,31 +1,31 @@
---
import Navbar from "../components/Navbar.astro"
import Navbar from "@/components/Navbar.astro"
import Footer from "@/components/Footer.astro"
import { languageTag } from "@/paraglide/runtime"
interface Props {
title: string
class?: string
}
const { title, class: clazz } = Astro.props
import { languageTag } from "../paraglide/runtime"
import Footer from "../components/Footer.astro"
---
<!doctype html>
<html lang={languageTag()} dir={"ltr"}>
<head>
<meta charset="UTF-8" />
<meta name="description" content="Astro description" />
<meta name="viewport" content="width=device-width" />
<link rel="sitemap" href="/sitemap-index.xml" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="generator" content={Astro.generator} />
<title>{title}</title>
</head>
<body class="flex flex-col h-screen">
<Navbar />
<main class:list={["grow", clazz]}>
<slot />
</main>
<Footer />
</body>
<head>
<meta charset="UTF-8" />
<meta name="description" content="Astro description" />
<meta name="viewport" content="width=device-width" />
<link rel="sitemap" href="/sitemap-index.xml" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="generator" content={Astro.generator} />
<title>{title}</title>
</head>
<body class="flex flex-col h-screen">
<Navbar />
<main class:list={["grow", clazz]}>
<slot />
</main>
<Footer />
</body>
</html>