Skip to content

Commit

Permalink
changed paths on Router and put absolute paths on some img Assets
Browse files Browse the repository at this point in the history
  • Loading branch information
arositen committed May 20, 2024
1 parent 2e1d3a3 commit 468fd12
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ function App() {
<ShoppingCartProvider>
<Navbar isTopOfPage={isTopOfPage} />
<Routes>
<Route path="/" element={<Splash />} />
<Route path="/mens" element={<Mens />} />
<Route path="/womens" element={<Womens />} />
<Route path="/upcoming-artist" element={<UpcomingArtist />} />
<Route path="/details" element={<Details />} />
<Route path="/details/:id" element={<Details />} />
<Route path="/checkout" element={<Checkout />} />
<Route path="Gumball/" element={<Splash />} />
<Route path="Gumball/mens" element={<Mens />} />
<Route path="Gumball/womens" element={<Womens />} />
<Route path="Gumball/upcoming-artist" element={<UpcomingArtist />} />
<Route path="Gumball/details" element={<Details />} />
<Route path="Gumball/details/:id" element={<Details />} />
<Route path="Gumball/checkout" element={<Checkout />} />
</Routes>
<Footer />
</ShoppingCartProvider>
Expand Down
10 changes: 5 additions & 5 deletions src/data/shirtDatabase.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"gender": "mens",
"name": "Classic",
"image": "/imgs/ShirtDesign01.jfif",
"image": "./imgs/ShirtDesign01.jfif",
"description": "Lorem ipsum dolor sit, amet consectetur adipisicing elit nulla!",
"price": 21.99,
"category": "Long Sleeve",
Expand Down Expand Up @@ -38,7 +38,7 @@
{
"gender": "mens",
"name": "Bubble",
"image": "/imgs/ShirtDesign02.jfif",
"image": "./imgs/ShirtDesign02.jfif",
"description": "Lorem ipsum dolor sit, amet consectetur adipisicing elit nulla!",
"price": 23.99,
"category": "Button Up",
Expand Down Expand Up @@ -74,7 +74,7 @@
{
"gender": "mens",
"name": "Rainbow",
"image": "/imgs/ShirtDesign03.jfif",
"image": "./imgs/ShirtDesign03.jfif",
"description": "Lorem ipsum dolor sit, amet consectetur adipisicing elit nulla!",
"price": 20.99,
"category": "1/4 Button",
Expand Down Expand Up @@ -110,7 +110,7 @@
{
"gender": "mens",
"name": "Soda",
"image": "/imgs/ShirtDesign04.jfif",
"image": "./imgs/ShirtDesign04.jfif",
"description": "Lorem ipsum dolor sit, amet consectetur adipisicing elit nulla!",
"price": 30.99,
"category": "Button Up",
Expand Down Expand Up @@ -146,7 +146,7 @@
{
"gender": "mens",
"name": "Band",
"image": "/imgs/ShirtDesign05.jfif",
"image": "./imgs/ShirtDesign05.jfif",
"description": "Lorem ipsum dolor sit, amet consectetur adipisicing elit nulla!",
"price": 19.99,
"category": "T-Shirt",
Expand Down

0 comments on commit 468fd12

Please sign in to comment.