More mobile friendly, fix wrong URL, Hamburger menu
All checks were successful
Build and deploy website / build (push) Successful in 33s

- Hamburger menu on mobile
- title is moved into header on mobile
- Smaller titles on mobile
- Fix wrong import of env in config
- Cleaned up unused imports
This commit is contained in:
2025-02-15 23:00:38 +01:00
parent ff2f65bf59
commit 1b3c6c629e
11 changed files with 88 additions and 20 deletions

View File

@ -10,13 +10,13 @@ import icon from "astro-icon"
import { loadEnv } from "vite"
const { url } = process.env.URL
? loadEnv(process.env.URL, process.cwd(), "")
: { url: "http://localhost:3000" }
const { URL } = process.env.NODE_ENV
? loadEnv(process.env.NODE_ENV, process.cwd(), "")
: { URL: "http://localhost:3000" }
// https://astro.build/config
export default defineConfig({
site: url,
site: URL,
output: "server",
i18n: {
defaultLocale: "nb",