Files
chorus-services/modules/teaser/next.config.js
tony c8fb816775 feat: Add CHORUS teaser website with mobile-responsive design
- Created complete Next.js 15 teaser website with CHORUS brand styling
- Implemented mobile-responsive 3D logo (128px mobile, 512px desktop)
- Added proper Exo font loading via Next.js Google Fonts for iOS/Chrome compatibility
- Built comprehensive early access form with GDPR compliance and rate limiting
- Integrated PostgreSQL database with complete schema for lead capture
- Added scroll indicators that auto-hide when scrolling begins
- Optimized mobile modal forms with proper scrolling and submit button access
- Deployed via Docker Swarm with Traefik SSL termination at chorus.services
- Includes database migrations, consent tracking, and email notifications

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-26 13:57:30 +10:00

44 lines
967 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
// App directory is stable in Next.js 15
images: {
domains: ['localhost'],
unoptimized: process.env.NODE_ENV === 'development',
},
env: {
CUSTOM_KEY: process.env.CUSTOM_KEY,
},
async rewrites() {
return [
{
source: '/api/early-access',
destination: '/api/early-access',
},
];
},
async headers() {
return [
{
source: '/:path*',
headers: [
{
key: 'X-Frame-Options',
value: 'DENY',
},
{
key: 'X-Content-Type-Options',
value: 'nosniff',
},
{
key: 'Referrer-Policy',
value: 'strict-origin-when-cross-origin',
},
],
},
];
},
// Enable static export if needed
output: process.env.NODE_ENV === 'production' ? 'standalone' : undefined,
};
module.exports = nextConfig;