phase oen updates
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user