Why Astro is my default for premium marketing sites
Astro combines static performance with flexible islands — here's how I use it for client projects that need to feel fast and polished.
Marketing sites live or die by first impressions. If a portfolio or launch page feels sluggish, visitors assume the product behind it is equally rough.
Astro has become my default because it lets me ship mostly static HTML while adding interactivity only where it matters — navigation animations, theme toggles, or a pricing calculator. That architecture maps cleanly to the performance budgets I set for client work.
Static first, interactive when needed
Most sections on a marketing site don’t need client-side JavaScript. Hero copy, case studies, blog posts, and FAQ content render at build time. Astro’s content collections make that workflow predictable for non-technical stakeholders who still edit markdown.
When I do need motion or filters, I import small client modules with client:visible or scoped scripts. The result is a site that scores consistently above 95 on Lighthouse without sacrificing polish.
Content collections reduce chaos
Before Astro 4/5 matured, teams often reached for a CMS too early. Content collections give you structured frontmatter, type safety, and git-based workflows — ideal for premium themes and client handoffs.
Practical tips
- Keep global scripts minimal; prefer scoped animation utilities
- Use semantic HTML and one H1 per page for SEO
- Define design tokens in CSS variables for easy theming
- Document how to add projects and blog posts for buyers
Astro isn’t the answer for every product, but for premium portfolios and launch sites, it’s an excellent fit.
Related posts
Continue reading
Motion without the performance tax
Subtle animation improves perceived quality — if you respect budgets, reduced motion, and ship less JavaScript.
A practical dark mode implementation for content sites
Theme toggles are table stakes — here's how to implement dark mode without flash, contrast issues, or maintenance pain.
Designing case studies that actually convert
Strong case studies aren't galleries — they're structured stories that help prospects imagine working with you.