A comprehensive promotional website built with Next.js, Material-UI, and PWA capabilities to showcase the R2-D1 Serverless Geospatial Platform.
- Modern Design: Dark theme with gradient accents and smooth animations
- Fully Responsive: Mobile-first design that works on all devices
- Progressive Web App: Installable with offline support
- Material-UI: Professional UI components with custom theming
- Framer Motion: Smooth scroll animations and transitions
- Performance Charts: Interactive visualizations using Recharts
- TypeScript: Type-safe development
- Node.js 18+ and npm
# Install dependencies
npm install
# Run development server
npm run dev
# Open http://localhost:3000# Create optimized production build
npm run build
# Start production server
npm start
# Or export static site
npm run exportgeospatial-promo-site/
├── app/
│ ├── layout.tsx # Root layout with MUI theme
│ ├── page.tsx # Main landing page
│ └── theme.ts # Material-UI theme configuration
├── components/
│ ├── Navigation.tsx # Responsive navigation bar
│ ├── HeroSection.tsx # Hero section with CTA
│ ├── FeaturesSection.tsx # Platform features
│ ├── ArchitectureSection.tsx # Three-tier architecture
│ ├── DemoSection.tsx # Interactive demos
│ ├── UseCasesSection.tsx # Industry use cases
│ ├── PerformanceSection.tsx # Benchmarks & charts
│ ├── GettingStartedSection.tsx # Quick start guide
│ └── Footer.tsx # Footer with links
├── public/
│ └── manifest.json # PWA manifest
├── package.json
├── tsconfig.json
├── next.config.js # Next.js + PWA config
└── README.md
- Eye-catching headline with gradient text
- Key metrics cards (query speed, edge locations, cost)
- Primary and secondary CTAs
- Animated background grid
- 8 key features with icons and descriptions
- Hover effects with colored shadows
- Responsive grid layout
- Three-tier architecture visualization (Client, Edge, Storage)
- Component breakdowns with chips
- Data flow description
- Animated arrows between layers
- 4 interactive code examples:
- Vector Tile Generation
- Spatial Analytics
- OGC API Features
- Data Pipelines
- Syntax-highlighted code blocks
- Capability tags for each demo
- 6 industry use cases:
- Fleet & Logistics
- Smart Cities
- Supply Chain
- Environmental Monitoring
- Natural Resources
- Satellite Imagery
- Capability tags and key metrics
- Hover animations
- Query performance comparison chart
- Scalability under load visualization
- Cost comparison graph
- Real-world benchmarks
- 4-step quick start guide
- Code snippets for each step
- Links to documentation
- Multiple CTAs (docs, API, examples)
- Company and product links
- Social media icons
- Legal links
- Technology credits
Edit app/theme.ts to customize colors:
palette: {
primary: { main: '#00D9FF' }, // Cyan
secondary: { main: '#7C4DFF' }, // Purple
// ... other colors
}All content is in the component files. Edit text, descriptions, and data directly in:
components/HeroSection.tsx- Hero text and metricscomponents/FeaturesSection.tsx- Features listcomponents/DemoSection.tsx- Demo examples- etc.
Edit navigation items in components/Navigation.tsx:
const navItems = [
{ label: 'Features', href: '#features' },
// ... add more items
];npm run buildThe static site will be in the out/ directory. Deploy to:
- Cloudflare Pages
- Vercel
- Netlify
- GitHub Pages
- Any static hosting
# Connect to Cloudflare Pages via dashboard or Wrangler
wrangler pages project create geospatial-promo
# Deploy
wrangler pages deploy out- Installable on mobile and desktop
- Offline support
- Custom app icon
- Splash screen
- Optimized caching
- Server-side rendering (SSR)
- Automatic code splitting
- Image optimization
- Lazy loading
- Minimal JavaScript bundle
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Mobile browsers
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
MIT License - See LICENSE file for details
- Documentation: [Link to docs]
- Issues: [GitHub Issues]
- Email: support@example.com
- Next.js 14: React framework
- Material-UI v5: Component library
- TypeScript: Type safety
- Framer Motion: Animations
- Recharts: Data visualizations
- next-pwa: PWA support
- Emotion: CSS-in-JS
Built with ❤️ for the R2-D1 Geospatial Platform