// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  compatibilityDate: '2025-07-15',
  devtools: { enabled: true },
  extends: [ '@layers/content' ],
  modules: [
    "@nuxt/ui",
    "@nuxt/image",
    "@nuxt/fonts",
    "@nuxt/icon"
  ],
  css: [ '~/assets/css/main.css' ],
  ui: {
    colorMode: false
  },
  app: {
    pageTransition: { name: 'page', mode: 'out-in' }
  },
  fonts: {
    providers: {
      google: false,
      googleicons: false,
      // bunny: false,
      fontshare: false,
      fontsource: false,
      adobe: false
    }
  },
  icon: {
    provider: 'server',
    serverBundle: 'local'
  },
  nitro: {
    prerender: {
      routes: ['/de/summer'],
    },
  },
  routeRules: {
    '/': { prerender: false },
  },
})