Here’s your README guide in English:
This project is a web application for viewing and filtering beauty salon courses. It is built with React, using Vite for fast builds and Bootstrap for styling.
It features a stylish interface with modern components, including:
- Thematic design with light/dark mode switching.
- A user-friendly course list with category filtering.
- A student testimonials block.
- Current offers and discounts.
- React — JavaScript library for building user interfaces.
- Vite — Fast front-end build tool.
- Bootstrap — CSS framework for styling and grid system.
- SCSS — CSS preprocessor for better organization and extending styles.
- 🚩 Homepage: Features a modern design hero section and student testimonials.
- 🔍 Course Filtering: Users can filter courses by categories (e.g., manicure, hair care, makeup).
- 🌓 Dark/Light Mode: Toggle between light and dark themes.
- 💬 User Reviews: Interactive student reviews section.
- 🎁 Offers and Discounts: Display current deals and special courses.
To run the project on your local machine, follow these steps:
git clone https://github.com/your-username/beauty-courses.git
cd beauty-courses
npm install
npm run dev
Open http://localhost:5173 to view the app in the browser.
/src
/components
— React components likeHeroSection
,CourseList
,Testimonials
./styles
— SCSS files for component styling./pages
— Application pages (Home
,Courses
,Login
, etc.)./assets
— Media files (images, icons, etc.).
/public
— Public files accessible at the root level.
- React components should be organized in the
components
folder. Each component has its own SCSS file for styling. - Use React Bootstrap for basic UI components and the grid system.
- Use variables and mixins to maintain consistency in styles. Variables can be found in
src/styles/variables.scss
. - Global styles and shared variables can be updated in the files within the
styles
folder.
- Dark and light theme support is implemented in the
App.jsx
component. Use the.dark-mode
and.light-mode
CSS classes to switch between styles.
- Add personalized course recommendations block.
- Improve SEO optimization for course pages.
- Integrate a payment gateway for course purchases.
When adding a new component or feature, follow these steps:
-
Create a new branch:
git checkout -b feature/feature-name
-
Write clean, readable code following Clean Code principles.
-
Add comments to complex code sections and update the documentation in this README for new features.
-
Merge your feature branch to the main branch:
git checkout main git pull origin main git merge feature/feature-name git push origin main
Contributions are welcome! To contribute to the project:
- Fork this repository.
- Create your branch (
git checkout -b feature/yourFeature
). - Commit your changes (
git commit -m 'Added new feature'
). - Push to your branch (
git push origin feature/yourFeature
). - Create a pull request.
This project is licensed under the MIT License — see the LICENSE file for details.
- Use markdown: README is written in Markdown format. Use headers, lists, links, and images to make the text readable.
- Document everything: Include code snippets to show how to use key features.
- Keep it updated: It’s important to keep the documentation current as the project evolves.
By following this structure, your README will look professional and provide all the necessary information for users and fellow developers!