16 lines
551 B
PHP
16 lines
551 B
PHP
@php
|
|
$layout = Auth::check() ? 'app-layout' : 'guest-layout';
|
|
@endphp
|
|
|
|
<x-dynamic-component :component="$layout">
|
|
<x-slot name="header">
|
|
{{ __('History') }}
|
|
</x-slot>
|
|
|
|
<div class="py-6">
|
|
<div class="mx-auto max-w-7xl sm:px-6 lg:px-8">
|
|
@livewire('static-post', ['type' => 'SiteContents\Static\History' ?? null, 'limit' => timebank_config('posts.static.press-media.limit'), 'hideAuthor' => timebank_config('posts.static.press-media.limit')] )
|
|
</div>
|
|
</div>
|
|
</x-dynamic-layout>
|