LandingPage Component
Marketing and onboarding entry point showcasing platform features, technology stack, and live demo before entering the main dashboard.
Overviewβ
The LandingPage orchestrates 6 major sections:
- Hero Section: Main CTA and navigation
- Features Section: 12 key platform capabilities
- Technology Stack: Backend/Frontend tech showcase
- Data Models Showcase: NGSI-LD demonstration
- Live Demo Section: Real-time metrics simulation
- Footer: Links, newsletter, and social
graph TB
A[LandingPage] --> B[HeroSection]
A --> C[FeaturesSection]
A --> D[TechnologyStack]
A --> E[DataModelsShowcase]
A --> F[LiveDemoSection]
A --> G[Footer]
B --> H[CTA Buttons]
B --> I[Navigation]
C --> J[12 Feature Cards]
D --> K[Backend Stack]
D --> L[Frontend Stack]
E --> M[NGSI-LD Models]
E --> N[Entity Examples]
F --> O[Live Metrics]
F --> P[Animated Stats]
Component Structureβ
export default function LandingPage() {
return (
<main className="min-h-screen bg-white">
<HeroSection />
<FeaturesSection />
<TechnologyStack />
<DataModelsShowcase />
<LiveDemoSection />
<Footer />
</main>
);
}
Sectionsβ
HeroSectionβ
- Animated headline with gradient text
- Primary CTA: "Start Monitoring"
- Secondary CTA: "View Documentation"
- Navigation links to other sections
FeaturesSectionβ
- Grid of 12 feature cards
- Icons from Lucide React
- Hover animations
- Categories: Monitoring, Analytics, AI, Integration
TechnologyStackβ
- Backend: Python, FastAPI, NGSI-LD, Stellio
- Frontend: React, TypeScript, MapLibre GL, Zustand
- Infrastructure: Docker, Kubernetes, Grafana
DataModelsShowcaseβ
- NGSI-LD entity examples
- Interactive JSON viewers
- Entity relationship diagrams
LiveDemoSectionβ
- Simulated real-time metrics
- Animated counters
- Mini dashboard preview
Footerβ
- Quick links navigation
- Newsletter subscription
- Social media links
- Copyright information
Usageβ
// In App.tsx router
import LandingPage from './pages/LandingPage';
<Route path="/" element={<LandingPage />} />
Stylingβ
- Tailwind CSS utility classes
- Responsive design (mobile-first)
- Gradient backgrounds
- Smooth scroll between sections
- Intersection Observer animations
Dependenciesβ
HeroSection: Landing hero componentFeaturesSection: Features grid componentTechnologyStack: Tech stack showcaseDataModelsShowcase: NGSI-LD demoLiveDemoSection: Live metrics previewFooter: Site footer component
Performanceβ
- Code-split sections with lazy loading
- Optimized images with next-gen formats
- Minimal JavaScript for initial load
- Progressive enhancement