mardi 30 juin 2020

handle banners in index page laravel

I have a shop project in Laravel. In my index page i have some banners :

4 banners in 1 row Banner 1 2 banners in 1 row Banner 2 1 banner in 1 row Banner 3

as you can see, i have some banners in different places, i don't know how can i handle banners in admin panel and show in index page, The only way that came to my mind is that make controller and model for each banner, but i think it's not normal way.

can you guide me how can i do this in Laravel ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire