Closed dirtybirdnj closed 1 year ago
it makes more sense to do a simple conditional tree within the layout.js file than to break it out into components
There is currently functionality for displaying:
still need to build out product display UI and add snipcart buttons but the main thing here is complete
Currently there is one layout.js file that controls display / layout for all pages
https://github.com/dirtybirdnj/vtj-final-final/blob/main/src/components/layout.js
There should be three new files in the /components directory
home - homepage display product - /store/$product template for each product post /blog/$post template for each blog post
Each of these templates should encapsulate the custom layout for these page types.