docs.reactstream.com
This repository contains the code for the ReactStream project website - a showcase for the ReactStream CLI tool for React component development.
This website uses a component-based approach with HTML fragments loaded dynamically via JavaScript. This allows for modular development and easier maintenance.
reactstream-website/
├── index.html # Main entry point HTML
├── css/
│ └── styles.css # Main stylesheet
├── js/
│ ├── main.js # Main JavaScript functionality
│ └── components.js # Component-specific JS functionality
├── components/ # HTML fragments for different sections
│ ├── features.html # Features section
│ ├── how-it-works.html # How it works section
│ ├── documentation.html # Documentation section
│ ├── examples.html # Examples section
│ ├── download.html # Download CTA section
│ ├── testimonials.html # Testimonials section
│ ├── faq.html # FAQ section
│ └── footer.html # Footer section
└── docs/ # Documentation files
├── publish-guide.md # Guide for publishing to npm
└── component-structure.md # Project structure documentation
- HTML5
- CSS3 with Tailwind CSS
- Vanilla JavaScript
- Font Awesome icons
- Responsive design principles
- Fully responsive design that works on mobile, tablet, and desktop
- Component-based structure for easy maintenance
- Interactive elements like code windows and FAQ accordion
- Modern design with subtle animations and transitions
- Optimized for performance with minimal dependencies
-
Clone this repository:
git clone https://github.com/reactstream/website.git cd reactstream-website
-
Open the project in your preferred code editor.
-
Launch a local development server to view the site:
# If you have Node.js installed npx http-server # Or with Python python -m http.server
-
View the site at http://localhost:8080 (or the port shown in your terminal).
- Create a new HTML file in the
components/
directory - Add a container div in
index.html
- Update the component loading logic in
main.js
For more detailed instructions, see docs/component-structure.md
.
The project uses Tailwind CSS utility classes for styling with some custom CSS in css/styles.css
. To modify the design:
- Edit the utility classes directly in the HTML files
- Add or modify custom styles in
css/styles.css
The website is compatible with:
- Chrome/Edge (latest)
- Firefox (latest)
- Safari (latest)
- Mobile browsers (iOS Safari, Android Chrome)
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.