Initial commit

This commit is contained in:
Martin Berg Alstad
2024-09-25 22:20:47 +02:00
parent bb58f603b2
commit 83f018c3b8
60 changed files with 6301 additions and 6615 deletions

View File

@ -1,5 +1,21 @@
// @ts-check
import { defineConfig } from 'astro/config';
import { defineConfig } from "astro/config"
import tailwind from "@astrojs/tailwind"
import sitemap from "@astrojs/sitemap"
import { loadEnv } from "vite"
import mdx from "@astrojs/mdx"
import svelte from "@astrojs/svelte"
const { url } = process.env.URL
? loadEnv(process.env.URL, process.cwd(), "")
: { url: "http://localhost:3000" }
// https://astro.build/config
export default defineConfig({});
export default defineConfig({
site: url,
i18n: {
defaultLocale: "nb",
locales: ["nb", "en"]
},
integrations: [tailwind(), sitemap(), mdx(), svelte()]
})