A modern, responsive landing page for startreactnative.com - automated setup scripts for React Native and Expo development.
- OS Detection - Automatically detects user's operating system (macOS/Windows)
- Smart Downloads - Serves the correct setup script based on detected OS
- Responsive Design - Mobile-first design that works on all devices
- Modern UI - Gradient backgrounds, glassmorphism effects, smooth animations
- Interactive Components - Tabbed instructions, FAQ accordion, smooth scrolling
- SEO Optimized - Comprehensive meta tags for search engines and social media
- React 18 - UI library
- Vite - Build tool and dev server
- Tailwind CSS 3 - Utility-first CSS framework
- PostCSS - CSS processing
- ESLint - Code linting
-
Clone the repository
git clone <repository-url> cd start-react-native
-
Install dependencies
npm install
-
Start development server
npm run dev
-
Open in browser
http://localhost:5173
start-react-native/
βββ public/
β βββ setup-expo-macos.sh # macOS setup script
β βββ setup-expo-windows.ps1 # Windows setup script
β βββ README.md # Setup scripts documentation
βββ src/
β βββ components/
β β βββ Hero.jsx # Hero section with OS detection
β β βββ Features.jsx # What gets installed
β β βββ HowItWorks.jsx # 3-step process
β β βββ SetupInstructions.jsx # Tabbed setup guide
β β βββ TryNow.jsx # Expo Snack section
β β βββ Resources.jsx # Learning resources
β β βββ FAQ.jsx # FAQ accordion
β β βββ Footer.jsx # Footer with CTA
β βββ App.jsx # Main app component
β βββ main.jsx # Entry point
β βββ index.css # Global styles
βββ index.html # HTML template
βββ tailwind.config.js # Tailwind configuration
βββ postcss.config.js # PostCSS configuration
βββ vite.config.js # Vite configuration
- Gradient background with animated blobs
- OS detection and smart download button
- Stats display (setup time, automation level)
- Smooth scroll indicator
- Grid of 6 feature cards
- Hover effects and animations
- Icons for visual appeal
- 3-step visual process
- Numbered circles with connecting lines
- Clear, concise descriptions
- Tabbed interface (macOS/Windows)
- Step-by-step instructions
- Code blocks with syntax highlighting
- Warning/info boxes
- Expo Snack integration
- Code preview
- Benefits list with checkmarks
- 4 resource cards with external links
- Additional help section
- Community links
- Accordion-style questions
- Smooth expand/collapse animations
- 6 common questions answered
- Repeat CTA section
- Quick links navigation
- Resource links
- Back to top button
npm run buildThe build output will be in the dist/ directory.
npm run previewRun the comprehensive test suite to verify setup scripts and website functionality:
cd tests
./run-all-tests.shTest Coverage:
- β macOS script validation (15 tests)
- β Windows script validation (16 tests)
- β Integration tests (12 tests)
- β Syntax checking
- β Download functionality
- β File integrity
See tests/README.md for detailed testing documentation.
The setup scripts in the public/ folder automate the installation of:
- Node.js & npm - JavaScript runtime and package manager
- Git - Version control system
- Visual Studio Code - Code editor
- Expo CLI - React Native development tools
- VS Code Extensions - Essential extensions
- Test Project - Sample app to get started
- Uses Homebrew for package management
- Installs Watchman for file watching
- Creates test project in
~/ReactNativeProjects
- Uses Chocolatey for package management
- Runs with Administrator privileges
- Creates test project in
%USERPROFILE%\ReactNativeProjects
Edit tailwind.config.js to customize the color scheme:
theme: {
extend: {
colors: {
primary: '#6366f1', // Indigo
secondary: '#10b981', // Green
},
},
}The site uses Inter font family. To change it, update:
tailwind.config.js- font family configurationsrc/index.css- Google Fonts import
All content is in the component files under src/components/. Edit the text, links, and data directly in each component.
This site can be deployed to any static hosting service:
- Vercel -
vercel deploy - Netlify - Drag and drop
dist/folder - GitHub Pages - Use
gh-pagespackage - Cloudflare Pages - Connect repository
This project is open source and available under the MIT License.
Contributions, issues, and feature requests are welcome!
For questions or support, visit startreactnative.com
Built with β€οΈ for the React Native community