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

@@ -68,7 +68,7 @@ en:
hero_background_image_url: "Full-bleed background image behind the hero section. In card mode, fills the card with a dark overlay. In flat mode, covers the entire section."
hero_image_url: "Single hero image displayed on the right side of the hero. Use the upload button or paste a URL."
hero_multiple_images_enabled: "Enable multiple hero images (up to 5) that rotate randomly on each page load. Disables the single image upload."
hero_image_urls: "Images displayed on the right side of the hero. One URL per line, up to 5. A random one is shown on each page load."
hero_image_urls: "Images displayed on the right side of the hero. Paste a URL and click Create to add. Up to 5 — a random one is shown on each page load."
hero_image_max_height: "Maximum height in pixels for the hero image (1001200)."
hero_primary_button_enabled: "Show the primary CTA button in the hero section."
hero_primary_button_label: "Text on the primary (filled, accent-colored) CTA button."
@@ -80,6 +80,8 @@ en:
hero_primary_btn_color_light: "Light mode background for the primary button."
hero_secondary_btn_color_dark: "Secondary button background color. Dark (left) and light (right) pickers. Leave blank for default glass style."
hero_secondary_btn_color_light: "Light mode background for the secondary button."
hero_video_upload: "Upload a video file to Discourse. Check your site's allowed file types and max file size before uploading."
hero_video_url_enabled: "Use an external video URL instead of uploading a file."
hero_video_url: "URL for a hero video. Supports MP4 and YouTube links. A play button appears in the hero area; clicking opens a lightbox modal with the video."
hero_video_button_color: "Custom background color for the hero video play button. Leave blank to use the accent color."
hero_video_blur_on_hover: "Apply a blur effect to the hero image when hovering the play button."

View File

@@ -222,7 +222,7 @@ plugins:
type: bool
hero_image_urls:
default: ""
type: text_area
type: list
hero_image_max_height:
default: 500
type: integer
@@ -258,6 +258,12 @@ plugins:
hero_secondary_btn_color_light:
default: ""
type: color
hero_video_upload:
default: ""
type: string
hero_video_url_enabled:
default: false
type: bool
hero_video_url:
default: ""
type: string