A modern, neobrutalist landing page for TerraConstructs - the CDKTF L2 Constructs library that synthesizes to Terraform/OpenTofu.
# Install dependencies
pnpm install
# Start Vite development server with hot reload
pnpm run devVisit: http://localhost:8080 (opens automatically)
# Build optimized production bundles
pnpm run build
# Preview production build locally
pnpm run preview├── index.html # Main HTML file
├── package.json # Dependencies and scripts
├── vite.config.js # Vite configuration
├── postcss.config.js # PostCSS configuration
├── tailwind.config.js # Tailwind CSS configuration
├── src/
│ ├── style.css # Source CSS with Tailwind + custom styles
│ ├── main.js # Main JavaScript entry point
│ ├── demo-section.js # Demo orchestration (dropdown, run, badges, tour)
│ └── code-view.js # Presents precomputed code HTML (editor/output)
├── public/
│ └── logos/ # Static logo assets
└── dist/ # Built assets (generated by Vite)
# Development
pnpm run dev # Start Vite dev server with HMR
pnpm run build # Build for production
pnpm run preview # Preview production build locally
pnpm run clean # Clean dist/ directory- Development: CSP disabled for easier development
- Production: Nonce-based CSP with proper headers
- Headers: X-Frame-Options, X-Content-Type-Options, etc.
- No inline event handlers
- External resources from trusted CDNs only
- Proper HTTPS configuration in production
- Security headers across all deployment methods
# Test different viewports
npm run dev
# Visit localhost:8080 and test mobile/desktop- HTML: Valid semantic HTML5
- CSS: Tailwind classes, no unused CSS
- JS: ES2020+ syntax, no console errors
- A11y: Focus states, ARIA labels, semantic structure
- DEPLOYMENT.md - Production deployment guide
- SPEC.md - Original design specification
- deploy/*/README.md - Platform-specific deployment docs
This landing page showcases TerraConstructs. For the main project:
- GitHub: https://github.com/terraconstructs/base
- Discord: https://discord.gg/gEu3D8hJGz
- Docs: https://constructs.dev/packages/terraconstructs
Apache License 2.0 - see LICENSE