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