🎯 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

Astra Vitae Premium Template Preview
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