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

@ -6,7 +6,7 @@ import { loadEnv } from "vite"
import mdx from "@astrojs/mdx"
import svelte from "@astrojs/svelte"
import icon from "astro-icon";
import icon from "astro-icon"
const { url } = process.env.URL
? loadEnv(process.env.URL, process.cwd(), "")
@ -15,6 +15,7 @@ const { url } = process.env.URL
// https://astro.build/config
export default defineConfig({
site: url,
// output: "server", TODO server | also required for i18n
i18n: {
defaultLocale: "nb",
locales: ["nb", "en"]