This is a solution to the Space tourism website challenge on Frontend Mentor.
Users should be able to:
- View the optimal layout for each of the website's pages depending on their device's screen size
- See hover states for all interactive elements on the page
- View each page and be able to toggle between the tabs to see new information
- Set up a new React project using
vite
or your preferrd method. - Install the
react-router-dom
library usingnpm install react-router-dom
. - Structure the project accordingly with the figma design and create each related page.
- Create a new component called App.js and import the necessary libraries and components, including
BrowserRouter
,Route
,Routes
,Navigate
,Home
,Destination
,Technology
,Crew
,Navbar
,Sidebar
and others. - Define the state for the sidebar using the
useState
hook, and create a function to toggle the state of the sidebar in Mobile view. - Create the layout for the application, including the navigation bar and sidebar, and use the
Route
andRoutes
components to define the different routes for the application. - Create the individual pages for the application, including
Home
,Destination
,Technology
, andCrew
, and import them into the App.js component. - Use
Sass
to style the pages and media queries for different devices compatibility. - Test the application to ensure that the routing and styling are working as expected.
- Build the project using vite bundler.
- Commit the code to a version control system, such as Git, and push it to a remote repository on Github.
- Deploy the project with github action/ github pages or whatever is suited with the developer.
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- Sass
- React - JS library
- React-router
- vite - Vite is a local development server
- Sass - Sass is the most mature, stable, and powerful professional grade CSS extension language in the world.
- React
- React-router
- Github - Github
- Frontend Mentor - @amrmabdelazeem
- Portfolio - Portfolio
This goes our to Scrimba and Kevin Powell whom provided the figma designs to this project and have amazing impact over front-end developers all over the web.