Files
openfoodnetwork/app/views/home/index.html.haml
Maikel Linke 727eef3c4f Replace Paperclippable ContentConfig
The old Paperclip configuration was very clever and easy to use but it
was also a complicated implementation building on the complicated Spree
preference system.

I simplified this with Active Storage, storing simple references to blob
ids and default URLs as backup.
2022-06-01 17:16:54 +10:00

18 lines
360 B
Plaintext

:css
#tagline:before { background-image: url("#{ContentConfig.url_for(:home_hero)}") }
- content_for :page_alert do
= render "shared/menu/alert"
%div{"ng-controller" => "HomeCtrl"}
= render "home/tagline"
#panes
= render "home/brandstory"
= render "home/system"
= render "home/cta"
= render "home/stats"
= render "shared/footer"