automate-sales / automate-commerce

next js ecommerce
MIT License
0 stars 0 forks source link

implement ecommerce component structure for home page #80

Open gkpty opened 2 months ago

gkpty commented 2 months ago

Involves implementing ecommerce components in the homepage.

The concept of ecommerce components is such that you can customize your code without interfering with any of the ecommerce componets. meaning you can customize the compoennts through props inside of the pages.

you can simply run npm upgrade and push, or git pull upstream. since the code of the pages will rarely change in master this shouldnt cause any issues.

if you want to seriously modify a component or create a new one, for example nav, you can create a new component called CoolerNav with a similar structure, and then make a pull request.

in your code you can change the pages (main things isnide app) without interfering with any other PR/ update. you shouldnt PR with changes to any of the pages.

The following ecommerce componets with the follwoing props should be created iniisde of components.

Create a naming convention for css classes and generate all important css classes: