CoslaDigital / consul

Consul - Open Government and E-Participation Web Software
https://consulproject.org
GNU Affero General Public License v3.0
0 stars 7 forks source link

Add hero and slider options to header #41

Open coslajohn opened 1 year ago

coslajohn commented 1 year ago

Describe the solution you'd like The basic front page header options are rather dull.

It would be good to be able to give site admins the ability to choose whether to have basic layout or add a hero.

An example from Germany https://unser.muenchen.de/

Describe alternatives you've considered At the moment in dev we have copied the code that is used in the PB module and added it to the front page layout to give a basic hero using the image that is uploaded in the header config.

Ideally would like to be able to incorporate something like the foundation orbit slider into the front page (and potentially elsewhere)

https://get.foundation/sites/docs/orbit.html

Additional context Foundation is already used in Consul so this would seem like a good slider to choose

The code for the current implementation is here https://github.com/CoslaDigital/ConsulExperimental/blob/master/app/views/custom/shared/_header.html.erb

https://dev.communitychoices.scot/admin/homepage