This can be cleaned up a lot... Banner::isVisible()->startDate($today)->endDate($today)->ca...
is there an error in the npm run dev command you arent seeing?
you should look into relationships to make this possible.
The Laravel portal for problem solving, knowledge sharing and community building.
The community