Initial commit
This commit is contained in:
15
resources/views/static/messenger.blade.php
Normal file
15
resources/views/static/messenger.blade.php
Normal file
@@ -0,0 +1,15 @@
|
||||
@php
|
||||
$layout = Auth::check() ? 'app-layout' : 'guest-layout';
|
||||
@endphp
|
||||
|
||||
<x-dynamic-component :component="$layout">
|
||||
<x-slot name="header">
|
||||
{{ __('Chat messenger') }}
|
||||
</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\Messenger' ?? null, 'limit' => timebank_config('posts.static.press-media.limit'), 'hideAuthor' => timebank_config('posts.static.press-media.limit')])
|
||||
</div>
|
||||
</div>
|
||||
</x-dynamic-layout>
|
||||
Reference in New Issue
Block a user