Files
flexly-cms/design/examples/site-studio/fragments/marketing/hero/template.html.j2
T
phelex 0d171915d7 Add Site Studio themes and Theme Manager
Support categorized fragments, theme presets, block widths, and server-backed theme editing with onboarding and preview.

Include Site Studio, design sources, specification and verification reports; remove the legacy studio-site example.
2026-11-13 14:04:49 +03:00

2 lines
475 B
Django/Jinja

<section class="hero" id="{{ block.anchor or block.id }}" {% if props.background %}style="--hero-image: url('{{ asset_url(props.background) }}')"{% endif %}><div class="container"><div class="tag">● DIGITAL / AI ENGINEERING</div><h1>{{ props.title }}</h1>{% if props.subtitle %}<p>{{ props.subtitle }}</p>{% endif %}{% if props.button %}<a class="btn hero-button" href="{{ site_link(props.buttonUrl or '/request/') }}">{{ props.button }} →</a>{% endif %}</div></section>