Closed Jaomar92 closed 9 months ago
This would encapsulated in the App.tsx file wrapping the whole app.
In the process created a Base layout component to standardize the whole application no matter the URL link.
I'd like the Navbar, Footer and Menu bar to be available throughout the app having the same layout.
This just keeps the pages of the application in a separate folder so for better organization and easy reference.
There are two sub-directories:-
Keeps components used throughout the application.
Keeps Certain components special to certain pages. Each special component will be housed in their own directory representing the page they are in.
Trying to implement this layout
practically there is mainly 3 different pages which is core of the website. This one to give the client options of types of games based on newness, popularity and the websites recommeneded. But could do just 2 rows of newness and popular.
The Nav
For now i just want it to have a logo and fixed top.
The Just what the website Recommeneds
We'll have to save this option and can explore how we can manipulate the it late. Its just a Carousel that scrolls infinetly.
Newest, Trending and Hot picks
We'll explore the API param-queries to see what information we can pull from the API. Probably prepare the another README.md in the same directory to explain what kind of information we can pull based on query combinations.
Menu Sidebar
This should keep the states of filtering options of the website. So it should have Genre filter, platforms filter and a Search by name filter for now.
Footer
I plan to just have 3 cols and 2 rows to navigate to the website faster once the user has reached the bottom of the page and just like property ownership information of the website. as well as a attribution to RAWG.io link.
Steps
We will create 3 new directories in the components directory:-
Push to the repository