mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-27 21:06:49 +00:00
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.
18 lines
360 B
Plaintext
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"
|