This repository has been archived by the owner on Jul 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from leouofa/button_fix
made video optional
- Loading branch information
Showing
3 changed files
with
58 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
CONTENTFUL_ACCESS_TOKEN = 'db87ce744dacf1bbb953385ad683611d73c8c0704cbeb84fc38b3c88972dc0b4' | ||
CONTENTFUL_SPACE_ID = 'czw9rkgdy0zt' | ||
CONTENTFUL_ENTRY_ID = 'MTYYHT2UQ8qEYYq8UGmUO' | ||
CONTENTFUL_ENTRY_ID = '4Qx9so7SVO6i2EsMumWY0s' |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,10 +8,11 @@ | |
= h2 'inverted' | ||
= @homepage.master_subheadings.first | ||
.ctas | ||
.wistia_embed class=("popover=true popoverContent=html popoverOverlayOpacity=0.98 popoverOverlayColor=000000 wistia_async_#{@homepage.video_id}") style="display:inline;position:relative" | ||
.button.ui.large.inverted class[email protected]_cta_color.downcase | ||
= icon 'play' | ||
= @homepage.video_cta | ||
- if @homepage.respond_to?(:video_id) | ||
.wistia_embed class=("popover=true popoverContent=html popoverOverlayOpacity=0.98 popoverOverlayColor=000000 wistia_async_#{@homepage.video_id}") style="display:inline;position:relative" | ||
.button.ui.large.inverted class[email protected]_cta_color.downcase | ||
= icon 'play' | ||
= @homepage.video_cta | ||
- if request.env['HTTP_USER_AGENT'].downcase.match(/android/) | ||
a.button.ui.large.typeform-share.link class[email protected]_cta_color.downcase data-mode="popup" href[email protected]_url | ||
= @homepage.typeform_cta | ||
|