Files
theater-ziefen-website/astro.config.mjs
T
JohannesandClaude Opus 5.5 50a68841ce Rework homepage for recruiting, add Impressum page
- Hero call to action for the casting (Anmeldeschluss 31.1.2027), CMS-editable
- Reorder sections (Mitwirken second, Organisationskomitee as own section)
  and build the nav from visible sections; hide empty Stück/Galerie/Tickets
- Termine as one continuous "way" timeline with next-milestone highlight
- Compact supporter tiles and committee grid, fixed contact box
- Typography: script font only for section titles, 18px body text
- Self-host Kaushan Script (no Google Fonts), Open Graph/canonical meta
- Footer with contacts and supporters
- /impressum page driven by new optional Studio fields; only served once
  publisher and email are filled in (hosting defaults to Infomaniak)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 09:28:22 +01:00

34 lines
751 B
JavaScript

// @ts-check
import { defineConfig } from 'astro/config';
import { loadEnv } from 'vite';
import sanity from '@sanity/astro';
import react from '@astrojs/react';
import tailwindcss from '@tailwindcss/vite';
import node from '@astrojs/node';
const env = loadEnv(process.env.NODE_ENV ?? 'development', process.cwd(), '');
// https://astro.build/config
export default defineConfig({
site: 'https://theater-jb.ch',
output: 'server',
integrations: [
sanity({
projectId: env.PUBLIC_SANITY_PROJECT_ID,
dataset: env.PUBLIC_SANITY_DATASET ?? 'production',
studioBasePath: '/studio',
useCdn: false,
}),
react(),
],
vite: {
plugins: [tailwindcss()],
},
adapter: node({
mode: 'standalone',
}),
});