Add inactive UIUX V2 shared components
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{#
|
||||
UI/UX V2 Phase 1A — Optional page context bar (INERT UNTIL INCLUDED)
|
||||
|
||||
Combines breadcrumbs and page header without touching the current layout.
|
||||
A later phase can include this wrapper on selected pages after route-level
|
||||
breadcrumb/back/action context has been supplied explicitly.
|
||||
#}
|
||||
{% set _has_breadcrumbs = breadcrumbs_v2|default([], true) %}
|
||||
{% set _has_page_header = page_title_v2|default('', true) or page_description_v2|default('', true) or back_url_v2|default('', true) or page_actions_v2|default([], true) %}
|
||||
|
||||
{% if _has_breadcrumbs or _has_page_header %}
|
||||
<section class="mx-auto w-full max-w-[1500px] space-y-4 px-4 py-5 sm:px-6 lg:px-8" data-uiux-v2="context-bar">
|
||||
{% include "ui/templates/components/breadcrumbs_v2.html" %}
|
||||
{% include "ui/templates/components/page_header_v2.html" %}
|
||||
</section>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user