Swiss editorial for freelancers
Midnight Office is a commercial Astro theme for freelancer portfolios. Swiss editorial layout, feed-style homepage, token-driven dark mode, and a Markdown blog — calm, uncluttered, and free of heavy motion libraries.
Site identity and navigation live in site.ts. Homepage projects and proof sections live in home.ts. Replace fictional demo content and swap WebP assets in src/assets/ before launch.
Work, blog, and navigation
Project cards link to /work/[slug]/ case studies. Blog posts in src/content/blog/ appear on /blog/ and in the homepage “From the Blog” list. The fullscreen mobile menu is a sibling of the header so it covers the full viewport cleanly.
Motion stays restrained — fade-in entrances only, with scroll reveals that respect prefers-reduced-motion and degrade when JavaScript is disabled. Icons are custom inline SVGs drawn for the theme.
Feature highlights
- Astro 7 with TypeScript and
@astrojs/sitemap - Feed-style home plus work case studies and Markdown blog
- CSS design tokens for light and dark themes
- Fullscreen mobile menu with focus-friendly close patterns
- Custom inline SVG icon set — no icon CDN
- Deploy
dist/to Cloudflare Pages or any static host



