- 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>
34 lines
751 B
JavaScript
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',
|
|
}),
|
|
}); |