mirror of
https://github.com/dpnmw/community-landing.git
synced 2026-03-18 09:27:16 +00:00
UI Overhaul v4
This commit is contained in:
@@ -298,7 +298,11 @@ module CommunityLanding
|
||||
else
|
||||
hero_image_urls_raw = (@s.hero_image_url.presence rescue nil)
|
||||
end
|
||||
hero_video = (@s.hero_video_url.presence rescue nil)
|
||||
if (@s.hero_video_url_enabled rescue false)
|
||||
hero_video = (@s.hero_video_url.presence rescue nil)
|
||||
else
|
||||
hero_video = (@s.hero_video_upload.presence rescue nil)
|
||||
end
|
||||
blur_attr = (@s.hero_video_blur_on_hover rescue true) ? " data-blur-hover=\"true\"" : ""
|
||||
has_images = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user