Skip to content

Commit

Permalink
grils fix
Browse files Browse the repository at this point in the history
  • Loading branch information
larbi-ishak committed Jul 23, 2023
1 parent aedebc5 commit a86a75b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
9 changes: 6 additions & 3 deletions data/products.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,22 @@
"title": "Blog title",
"publish date": "01-01-1970",
"content": "Lorem ipsum dolor sit amet, ",
"category": "beauty"
"category": "beauty",
"image": "https://images.unsplash.com/photo-1510798831971-661eb04b3739?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=400&q=80"
},
{
"title": "Blog title 2",
"publish date": "01-01-1970",
"content": "Lorem ipsum dolor sit amet, ",
"category": "health"
"category": "health",
"image": "https://images.unsplash.com/photo-1510798831971-661eb04b3739?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=400&q=80"
},
{
"title": "Blog title 3",
"publish date": "01-01-1970",
"content": "Lorem ipsum dolor sit amet, ",
"category": "beauty"
"category": "beauty",
"image": "/photo.png"
}
]
}
1 change: 1 addition & 0 deletions pages/cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ const Cart = () => {
{/*other email can be added to receive*/}
<input type="hidden" name="_cc" value="[email protected]" />
<input type="hidden" name="_autoresponse" value="thanks for purchasing the following products we will contact you soon to confirm your order" />
<input type="submit" value={"send"}/>
</form>
{/* TODO after show page of order and thanks page all this in Modal*/}
</div>
Expand Down
Binary file added public/photo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a86a75b

Please sign in to comment.