Initial commit
This commit is contained in:
40
resources/views/posts/manage.blade.php
Normal file
40
resources/views/posts/manage.blade.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<x-app-layout>
|
||||
<x-slot name="header">
|
||||
{{ __('Posts') }}
|
||||
</x-slot>
|
||||
|
||||
<div class="py-6">
|
||||
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
|
||||
<div class="bg-theme-background overflow-x-visible shadow-xl sm:rounded-lg">
|
||||
|
||||
|
||||
<div class="p-12 px-6 sm:px-20 bg-theme-background">
|
||||
|
||||
@livewire('side-post', [
|
||||
'type' => 'SiteContents\Manage\Posts' ?? null,
|
||||
'latest' => true,
|
||||
'fallbackTitle' => __('Manage posts'),
|
||||
'fallbackDescription' => '' ])
|
||||
|
||||
<!--- Admin section -->
|
||||
@livewire('posts.manage')
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@push('scripts')
|
||||
<script>
|
||||
document.addEventListener('scroll-to-top', event => {
|
||||
window.scrollTo({
|
||||
top: 0,
|
||||
behavior: 'smooth'
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
</x-app-layout>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user