mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
48 lines
1.5 KiB
Plaintext
48 lines
1.5 KiB
Plaintext
%div.contact-container{bindonce: true}
|
|
- if @group.email.present? || @group.website.present? || @group.phone.present?
|
|
%div.modal-centered
|
|
%p.modal-header Contact
|
|
- if @group.phone.present?
|
|
%p
|
|
%a{tel: @group.phone}
|
|
= @group.phone
|
|
- if @group.email.present?
|
|
%p
|
|
=link_to_service "", @group.email.reverse, mailto: true do
|
|
Email us
|
|
- if @group.website.present?
|
|
%p
|
|
=link_to_service "http://", @group.website do
|
|
Visit our website
|
|
|
|
%div{bindonce: true}
|
|
- if @group.facebook.present? || @group.twitter.present? || @group.linkedin.present? || @group.instagram.present?
|
|
%div.modal-centered.pad-top
|
|
%p.modal-header Follow
|
|
.follow-icons{bindonce: true}
|
|
=link_to_service "http://twitter.com/", @group.twitter do
|
|
%i.ofn-i_041-twitter
|
|
=link_to_service "https://www.facebook.com/", @group.facebook do
|
|
%i.ofn-i_044-facebook
|
|
=link_to_service "https://www.linkedin.com/in/", @group.linkedin do
|
|
%i.ofn-i_042-linkedin
|
|
=link_to_service "http://instagram.com/", @group.instagram do
|
|
%i.ofn-i_043-instagram
|
|
|
|
%div{bindonce: true}
|
|
- if @group.address1.present? || @group.city.present?
|
|
%div.modal-centered.pad-top
|
|
%p.modal-header Address
|
|
%p
|
|
= @group.address1
|
|
- if @group.address2.present?
|
|
%br
|
|
= @group.address2
|
|
- if @group.city.present?
|
|
%br
|
|
= @group.city
|
|
= @group.state
|
|
= @group.zipcode
|
|
|
|
|