ReDI-School / F24-Berlin-Web-Circle

6 stars 1 forks source link

Feature/add product route #48

Closed dvnishshanka closed 6 days ago

dvnishshanka commented 1 week ago

Since the folder structure is not decided yet, I used a folder structure based on the file types. Therefore inside the "src" folder, two folders are created for "pages" and "components".

Root page is added as the basic layout which has the header and the footer. All child routes are rendered using react router inside the root page. Dummy components are created for Header, Footer and ProductPage. Using useParams 'productId' is extracted from the URL.

dvnishshanka commented 6 days ago

Thank you @orYoffe . I merged the pull request. I will add a link to the product page as you suggested in a new PR.