phase oen updates

This commit is contained in:
Mark Gregory
2026-07-27 08:19:38 +01:00
parent 09cad63280
commit 3a93d4eaea
35 changed files with 512 additions and 73 deletions
@@ -25,7 +25,16 @@
</head>
<body>
<div class="saasland-theme" x-data="{ menuOpen: false, openFaq: null }">
@include('stylist-theme-saasland::partials.header')
@php
$compositionRenderer = app(\Modules\Content\Services\PageRenderer::class);
$compositionPageKey = $pageKey ?? null;
$hasPageComposition = $compositionPageKey && $compositionRenderer->hasComposition($compositionPageKey);
@endphp
@if($hasPageComposition)
{!! $compositionRenderer->renderRegion($compositionPageKey, 'header') !!}
@else
@include('stylist-theme-saasland::partials.header')
@endif
@unless($hero)
<section class="page-hero">
@@ -52,7 +61,11 @@
@yield('content')
</main>
@include('stylist-theme-saasland::partials.footer')
@if($hasPageComposition)
{!! $compositionRenderer->renderRegion($compositionPageKey, 'footer') !!}
@else
@include('stylist-theme-saasland::partials.footer')
@endif
</div>
<script src="{{ route('stylist.theme.asset', ['theme' => 'saasland', 'path' => 'js/app.js']) }}" defer></script>