Landing/astro.config.mjs
Sergejs Kozinecs 7a3321334e
Some checks failed
Build and Deploy Astro Landing / deploy (push) Failing after 1m14s
Added runner
2026-07-29 18:58:05 +03:00

42 lines
925 B
JavaScript

// @ts-check
import mdx from "@astrojs/mdx";
import sitemap from "@astrojs/sitemap";
import { defineConfig, fontProviders } from "astro/config";
import node from "@astrojs/node";
// https://astro.build/config
export default defineConfig({
site: "https://midcreative.eu",
integrations: [mdx(), sitemap()],
fonts: [
{
provider: fontProviders.local(),
name: "Atkinson",
cssVariable: "--font-atkinson",
fallbacks: ["sans-serif"],
options: {
variants: [
{
src: ["./src/assets/fonts/atkinson-regular.woff"],
weight: 400,
style: "normal",
display: "swap",
},
{
src: ["./src/assets/fonts/atkinson-bold.woff"],
weight: 700,
style: "normal",
display: "swap",
},
],
},
},
],
adapter: node({
mode: "standalone",
}),
});