π― Overview
Astra Vitae Premium is a production-ready Astro template showcasing modern web development capabilities. It's a feature-rich landing page system built with enterprise-grade architecture, representing 600+ hours of development work.
Target Use Cases
- βΈ Enterprise Landing Pages - High-conversion corporate websites with advanced features
- βΈ Multi-Market Products - International product launches with multilingual support
- βΈ Advanced Portfolios - Professional service showcases for agencies and freelancers
- βΈ Complex Applications - Feature-rich web applications requiring sophisticated architecture
Astro 5.14.1 React 19.1.1 TypeScript 5.9.2 Tailwind 4.1.12
COMPLETE FRAMEWORK
Astra Vitae Premium Template

10
Production Sections
+ Advanced Features
β¨ SmartNavButtons
π i18n System (EN/PT)
πΌοΈ Advanced MediaBundle
π¬ Testimonials Carousel
π MDX + Modal System
π¨ Animated Hero Background
β‘ Key Features
Advanced Technical Stack
- Astro 5.13.5 with React 19.1 integration for optimal performance
- TypeScript 5.9.2 with strict mode for complete type safety
- Tailwind CSS 4.1.11 via Vite plugin with custom design system
- Alpine.js 3.14.9 for lightweight reactivity and simple interactions
- Nanostores 1.0.1 for efficient global state management
- MDX 4.3.4 for advanced content management with React components
Multi-Language Architecture
- Built-in i18n support with English and Portuguese using Nanostores
- URL-based routing system (en: /, pt: /pt/) for SEO optimization
- Persistent language selection with browser detection
- Extensible translation system for additional languages
Enterprise Components
- SmartNavButtons - Smart intelligent navigation with scroll-lock, keyboard support, and auto-visibility
- MediaBundle System with specialized lightboxes (ImageLightbox, VideoLightbox, CarouselLightbox)
- Multiple Hero variants - Complex with particle animations and Simple for optimal performance
- Testimonials Carousel with automatic cycling and smooth transitions
- Interactive FAQ with Alpine.js-powered expandable sections
- Newsletter Integration with validation and ready for backend connection
Performance & Optimization
- 96+ Lighthouse Scores across all metrics (Performance, Accessibility, Best Practices, SEO)
- Static Site Generation with Astro for maximum speed and SEO
- Astro Islands architecture with partial hydration for optimal JavaScript delivery
- Advanced lazy loading with IntersectionObserver throughout all components
- Image optimization with WebP support and responsive srcset
- Intelligent code splitting and tree shaking for minimal bundle size
ποΈ Architecture Overview
Project Structure
Project Structure
src/
βββ components/
β βββ content/ # HeroContent and content components
β βββ layout/ # Layout, Navbar, Footer
β βββ multimedia/ # CommonImage, CommonVideo, ImageCarousel, MultimediaGrid
β βββ sections/ # About, FAQ, Hero, Manifesto, Testimonials, EditionsComparison
β βββ ui/ # SmartNavButtons, Lightbox, Modal, TestimonialsCarousel
βββ content/ # MDX content collections (about, legal, manifesto, modals)
β βββ about/en|pt/ # About page content by language
β βββ legal/en|pt/ # Privacy policy, terms of use
β βββ manifesto/en|pt/ # Manifesto content
β βββ modals/en|pt/ # Modal content
βββ i18n/ # Translation files (en.ts, pt.ts, media.ts)
βββ lib/
β βββ hooks/ # Custom React hooks (useTranslation)
β βββ stores/ # Nanostores for state management
β βββ types/ # TypeScript interfaces and types
βββ pages/ # File-based routing (index.astro, privacy.astro, pt/)
βββ styles/ # Global CSS and component-specific styles
βββ utils/ # Helper functions (i18n, routing, content)
Content Management System
The template includes a sophisticated content management approach:
- β’ MDX Integration for rich content authoring with React component support
- β’ Structured Collections with Zod schema validation (manifesto, about, legal, modals)
- β’ Multi-language Content with automatic routing and language-specific folders
- β’ Type-safe content queries with Astro's content collections API
State Management
- β’ Nanostores for global language state with reactive updates and persistence
- β’ Custom React hooks (useTranslation) for seamless component integration
- β’ Alpine.js for simple interactions (accordions, mobile menu, section tracking)
- β’ React state for complex components (carousels, lightbox, modals)
- β’ URL-based routing with browser detection for language preferences
π¨ Design System
Brand Architecture
- β’ Dark theme with CSS variables (background-primary, secondary, tertiary, quaternary)
- β’ Premium color palette: Gold (#d4af37), Purple (#9d4edd), Pink (#ff006e)
- β’ Professional typography system with responsive fluid scaling
- β’ Consistent 8px grid system for perfect alignment
Visual Elements
- β’ Glassmorphism Effects
- β’ Advanced Animations
- β’ Gradient Systems
- β’ Shadow Hierarchy
Component Styling
- β’ Unified CSS Architecture
- β’ BEM Methodology
- β’ Responsive Breakpoints
- β’ Dark Mode Ready
π§© Advanced Components
SmartNavButtons System
Smart intelligent navigation system with advanced capabilities:
- β’ Auto-detection of sections via data attributes
- β’ Scroll-lock functionality for guided experiences
- β’ Full keyboard support (Arrow keys, Home, End)
- β’ Auto-visibility management (hides on scroll, shows when stationary)
- β’ Mobile-optimized with responsive behavior
- β’ WCAG 2.1 AA compliant with ARIA labels
MediaBundle Integration
Comprehensive media handling system featuring:
- β’ CommonImage - Responsive images with lazy loading, lightbox, and multiple layout modes (section, background, default)
- β’ CommonVideo - Multi-source support (YouTube, Vimeo, Google Drive, local MP4) with play button overlay
- β’ ImageCarousel - Auto-advancing carousel with navigation, dot indicators, and keyboard controls
- β’ Specialized Lightboxes - ImageLightbox for images, VideoLightbox for videos, CarouselLightbox for carousels
- β’ IntersectionObserver-based lazy loading for optimal performance
- β’ Smooth animations and transitions throughout
Hero Component Variants
- β’ Complex Hero with advanced particle animations and dynamic gradient backgrounds for premium feel
- β’ Simple Hero with static stars for clean, fast-loading presentations and optimal performance
- β’ Background Options support for video, image, or carousel backgrounds with intelligent fallback systems
- β’ Responsive Typography with fluid scaling and mobile-optimized layouts
π Internationalization
Multi-Language Support
Built-in Languages
- β’ English (default)
- β’ Portuguese (/pt/)
- β’ Extensible for more languages
Technical Implementation
- β’ Nanostores for reactive global state management
- β’ Custom React hooks for seamless component integration
- β’ URL-based routing (en: /, pt: /pt/) with automatic redirects
- β’ Browser language detection with persistent user selection
- β’ Type-safe translations with full TypeScript support
Content Localization
- β’ Translation Management with JSON
- β’ Language-specific routing
- β’ Media localization support
- β’ Cultural adaptations
SEO Optimization
- β’ Hreflang tags
- β’ Localized meta tags
- β’ Language-specific sitemaps
- β’ Automatic redirects
β‘ Performance & Optimization
Performance Dashboard
96+
Performance
96+
Accessibility
96+
Best Practices
96+
SEO
π Build Optimizations
- Static Generation - Pre-built HTML pages
- Code Splitting - Per-route bundles
- Tree Shaking - Removes unused code
- CSS Purging - Minimal CSS footprint
- Asset Optimization - WebP & compression
βοΈ Runtime Features
- Astro Islands - Partial hydration with client:load, client:visible, and client:idle strategies
- Lazy Loading - IntersectionObserver-based on-demand resource loading
- Smart Prefetching - Intelligent route preloading for seamless navigation
- Service Worker Ready - Offline capability support built-in
- CDN Optimized - Edge deployment ready with optimal caching
π’ Enterprise Ready
- i18n Support - Multi-language optimized
- SEO Enhanced - Structured data & meta
- Analytics Ready - GTM & tracking setup
- A11y Compliant - WCAG 2.1 AA standard
- Security Headers - CSP ready
π§ Customization Capabilities
Theme Customization
- β’ Comprehensive CSS Custom Properties system for colors, spacing, and animations
- β’ Flexible typography system with responsive fluid scaling
- β’ Component variants with configurable props and styling options
- β’ Animation controls with customizable timing and easing functions
Content Management
- β’ MDX Integration with React component embedding support
- β’ Structured content collections with Zod schema validation
- β’ Dynamic routing system with file-based routing
- β’ SEO management with meta tags, structured data, and sitemaps
Feature Extensions
- β’ Extensible translation system for adding unlimited languages
- β’ Modular component library for easy custom component integration
- β’ Backend integration ready with form validation and API endpoints
- β’ Analytics setup support (GTM, Google Analytics, custom tracking)
π Live Demo & Examples
Full Demo Experience
Experience all features including:
- β Multi-language switching (EN/PT) with Nanostores state management
- β SmartNavButtons - Smart intelligent navigation system
- β Complete MediaBundle with specialized lightboxes for each media type
- β Interactive components with smooth animations and transitions
- β Fully mobile-responsive design with touch gestures
- β 96+ Lighthouse scores across all metrics in real-world conditions