UI Overhaul v4

This commit is contained in:
2026-03-08 15:59:18 -04:00
parent c35f312f8c
commit 74a1b264b1
7 changed files with 159 additions and 44 deletions

View File

@@ -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