- Add login_button_text and register_button_text to settings.yml - Position button settings directly after hero_content_anonymous_html - Remove i18n helper import from component - Use settings for button text instead of translations - Update locales files with setting descriptions - Button text now fully configurable in admin panel
56 lines
4.1 KiB
YAML
56 lines
4.1 KiB
YAML
en:
|
|
theme_metadata:
|
|
description: "Welcome banner theme component for Nyíltvilág community"
|
|
settings:
|
|
enable_welcome_banner: "Enable the welcome banner on the homepage"
|
|
banner_position: "Banner position: 'below_header' (after navigation menu) or 'above_content' (before main content)"
|
|
show_on_pages: "Display banner on 'homepage_only' or 'all_pages'"
|
|
primary_color: "Primary accent color. Supports: hex (#e81f2d), rgb(232,31,45), rgba(232,31,45,0.9), hsl(355,81%,52%)"
|
|
page_background: "Hero section background. Supports colors and gradients. Examples: #14191f OR linear-gradient(135deg, #667eea 0%, #764ba2 100%)"
|
|
card_background: "Card background. Supports colors and gradients. Examples: #1b2028 OR linear-gradient(to right, #232526, #414345)"
|
|
text_color: "Text color. Supports: hex, rgb, rgba, hsl. Example: #ddd OR rgba(255,255,255,0.9)"
|
|
hero_title_html: "Hero section title (HTML allowed)"
|
|
hero_content_html: "Hero section content for logged-in users (HTML allowed)"
|
|
hero_title_anonymous_html: "Hero section title for anonymous users (HTML allowed)"
|
|
hero_content_anonymous_html: "Hero section content for anonymous users (HTML allowed)"
|
|
enable_hero_search: "Enable search input in hero section (desktop only)"
|
|
search_placeholder: "Search input placeholder text"
|
|
cta_card_1_enabled: "Enable CTA card 1"
|
|
cta_card_1_icon_type: "CTA card 1 icon type"
|
|
cta_card_1_icon_emoji: "CTA card 1 emoji icon"
|
|
cta_card_1_icon_font_awesome: "CTA card 1 Font Awesome icon (e.g., 'book', 'rocket', 'shield'). See: https://fontawesome.com/icons?d=gallery&m=free"
|
|
cta_card_1_title: "CTA card 1 title"
|
|
cta_card_1_description: "CTA card 1 description"
|
|
cta_card_1_cta_text: "CTA card 1 call-to-action text"
|
|
cta_card_1_cta_icon: "CTA card 1 arrow icon (Font Awesome). Examples: 'chevron-right', 'arrow-right', 'angles-right', 'circle-arrow-right'"
|
|
cta_card_1_url: "CTA card 1 URL"
|
|
cta_card_2_enabled: "Enable CTA card 2"
|
|
cta_card_2_icon_type: "CTA card 2 icon type"
|
|
cta_card_2_icon_emoji: "CTA card 2 emoji icon"
|
|
cta_card_2_icon_font_awesome: "CTA card 2 Font Awesome icon (e.g., 'handshake', 'users', 'comments'). See: https://fontawesome.com/icons?d=gallery&m=free"
|
|
cta_card_2_title: "CTA card 2 title"
|
|
cta_card_2_description: "CTA card 2 description"
|
|
cta_card_2_cta_text: "CTA card 2 call-to-action text"
|
|
cta_card_2_cta_icon: "CTA card 2 arrow icon (Font Awesome). Examples: 'chevron-right', 'arrow-right', 'angles-right', 'circle-arrow-right'"
|
|
cta_card_2_url: "CTA card 2 URL"
|
|
cta_card_3_enabled: "Enable CTA card 3"
|
|
cta_card_3_icon_type: "CTA card 3 icon type"
|
|
cta_card_3_icon_emoji: "CTA card 3 emoji icon"
|
|
cta_card_3_icon_font_awesome: "CTA card 3 Font Awesome icon (e.g., 'tools', 'code', 'laptop-code'). See: https://fontawesome.com/icons?d=gallery&m=free"
|
|
cta_card_3_title: "CTA card 3 title"
|
|
cta_card_3_description: "CTA card 3 description"
|
|
cta_card_3_cta_text: "CTA card 3 call-to-action text"
|
|
cta_card_3_cta_icon: "CTA card 3 arrow icon (Font Awesome). Examples: 'chevron-right', 'arrow-right', 'angles-right', 'circle-arrow-right'"
|
|
cta_card_3_url: "CTA card 3 URL"
|
|
cta_card_4_enabled: "Enable CTA card 4"
|
|
cta_card_4_icon_type: "CTA card 4 icon type"
|
|
cta_card_4_icon_emoji: "CTA card 4 emoji icon"
|
|
cta_card_4_icon_font_awesome: "CTA card 4 Font Awesome icon (e.g., 'lock', 'shield-alt', 'user-shield'). See: https://fontawesome.com/icons?d=gallery&m=free"
|
|
cta_card_4_title: "CTA card 4 title"
|
|
cta_card_4_description: "CTA card 4 description"
|
|
cta_card_4_cta_text: "CTA card 4 call-to-action text"
|
|
cta_card_4_cta_icon: "CTA card 4 arrow icon (Font Awesome). Examples: 'chevron-right', 'arrow-right', 'angles-right', 'circle-arrow-right'"
|
|
cta_card_4_url: "CTA card 4 URL"
|
|
custom_css: "Custom CSS to override or extend banner styles. Example: .welcome-card { background: blue; }"
|
|
login_button_text: "Login button text for anonymous users"
|
|
register_button_text: "Register button text for anonymous users"
|