first commit
This commit is contained in:
68
astro.config.mjs
Normal file
68
astro.config.mjs
Normal file
@@ -0,0 +1,68 @@
|
||||
import { defineConfig, fontProviders } from 'astro/config'
|
||||
|
||||
import keystatic from '@keystatic/astro'
|
||||
|
||||
import markdoc from '@astrojs/markdoc'
|
||||
import node from '@astrojs/node'
|
||||
import react from '@astrojs/react'
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
site: 'https://dave-dmg.de',
|
||||
integrations: [react(), markdoc(), keystatic()],
|
||||
|
||||
adapter: node({
|
||||
mode: 'standalone',
|
||||
}),
|
||||
fonts: [
|
||||
{
|
||||
provider: fontProviders.google(),
|
||||
name: 'Geist',
|
||||
cssVariable: '--font-geist',
|
||||
},
|
||||
{
|
||||
provider: fontProviders.google(),
|
||||
name: 'Geist Mono',
|
||||
cssVariable: '--font-geist-mono',
|
||||
},
|
||||
{
|
||||
provider: fontProviders.google(),
|
||||
name: 'Blaka',
|
||||
cssVariable: '--font-blaka',
|
||||
weights: [400],
|
||||
},
|
||||
{
|
||||
provider: fontProviders.local(),
|
||||
name: 'Julia Mono',
|
||||
cssVariable: '--font-julia-mono',
|
||||
options: {
|
||||
variants: [
|
||||
{
|
||||
src: ['./src/assets/fonts/JuliaMono/JuliaMono-Regular.woff2'],
|
||||
weight: 400,
|
||||
style: 'normal',
|
||||
},
|
||||
{
|
||||
src: ['./src/assets/fonts/JuliaMono/JuliaMono-Bold.woff2'],
|
||||
weight: 700,
|
||||
style: 'normal',
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
provider: fontProviders.local(),
|
||||
name: 'Unigrim Dee',
|
||||
cssVariable: '--font-unigrim',
|
||||
options: {
|
||||
variants: [
|
||||
{
|
||||
src: ['./src/assets/fonts/UnigrimDee-Regular.woff2'],
|
||||
weight: 400,
|
||||
style: 'normal',
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
})
|
||||
Reference in New Issue
Block a user