Added blog, pages, menu, category
This commit is contained in:
@@ -6,20 +6,32 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>@yield('title', config('app.settings.app_title'))</title>
|
||||
<meta name="description" content="@yield('description', config('app.settings.app_description'))">
|
||||
<meta name="keywords" content="@yield('keywords', config('app.settings.app_keyword'))">
|
||||
@forelse (json_decode(config('app.settings.app_meta')) as $key => $value)
|
||||
@if ($value)
|
||||
<meta name="{{ $key }}" content="{{ $value }}">
|
||||
@endif
|
||||
@empty
|
||||
@endforelse
|
||||
|
||||
@yield('metas')
|
||||
|
||||
@if (file_exists(public_path('build/manifest.json')) || file_exists(public_path('hot')))
|
||||
@vite(['resources/css/app.css', 'resources/css/boil.css', 'resources/js/app.js', 'resources/js/boil.js'])
|
||||
@endif
|
||||
<link rel="icon" type="image/png" href="{{ asset('images/logo.webp') }}">
|
||||
@fluxAppearance
|
||||
{!! config('app.settings.app_header') !!}
|
||||
@yield('custom_header')
|
||||
</head>
|
||||
<body class="min-h-screen bg-white dark:bg-zinc-800">
|
||||
<flux:sidebar sticky stashable class="bg-zinc-50 dark:bg-zinc-900 border-r rtl:border-r-0 rtl:border-l border-zinc-200 dark:border-zinc-700">
|
||||
<flux:sidebar.toggle class="lg:hidden" icon="x-mark" />
|
||||
<div class="flex items-center px-2 py-2 cursor-pointer" onclick="window.location.href='{{ route('home') }}'">
|
||||
<a class="flex items-center px-2 py-2 cursor-pointer" href="{{ route('home') }}" wire:navigate>
|
||||
<img src="{{ asset('images/zemail-logo-light.webp') }}" class="dark:hidden" alt="logo"/>
|
||||
<img src="{{ asset('images/zemail-logo-dark.webp') }}" class="hidden dark:flex" alt="logo"/>
|
||||
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<flux:navlist variant="outline">
|
||||
<flux:button class="cursor-pointer inbox-btn" variant="filled" icon="inbox" x-on:click="window.location.href = '{{ route('mailbox') }}'">{{ __('Inbox') }}</flux:button>
|
||||
@@ -38,11 +50,13 @@
|
||||
<img src="https://placehold.co/300x250?font=roboto" alt="sideAds" />
|
||||
<flux:spacer />
|
||||
<flux:navlist variant="outline">
|
||||
<flux:navlist.item href="#">API</flux:navlist.item>
|
||||
<flux:navlist.item href="#">FAQ</flux:navlist.item>
|
||||
<flux:navlist.item href="#">Privacy</flux:navlist.item>
|
||||
<flux:navlist.item href="#">Feedback</flux:navlist.item>
|
||||
<flux:navlist.item href="#">Contacts</flux:navlist.item>
|
||||
@if(config('app.menus'))
|
||||
@foreach(config('app.menus') as $menu)
|
||||
<a href="{{ $menu->url }}" class="h-10 lg:h-8 relative flex items-center gap-3 rounded-lg py-0 text-start w-full px-3 my-px text-zinc-500 dark:text-white/80 data-current:text-(--color-accent-content) hover:data-current:text-(--color-accent-content) data-current:bg-white dark:data-current:bg-white/[7%] data-current:border data-current:border-zinc-200 dark:data-current:border-transparent hover:text-zinc-800 dark:hover:text-white dark:hover:bg-white/[7%] hover:bg-zinc-800/5 border border-transparent" data-flux-navlist-item="data-flux-navlist-item" @if ($menu->new_tab == 1) target="_blank" @endif>
|
||||
<div class="flex-1 text-sm font-medium leading-none whitespace-nowrap [[data-nav-footer]_&]:hidden [[data-nav-sidebar]_[data-nav-footer]_&]:block" data-content="">{{ $menu->name }}</div>
|
||||
</a>
|
||||
@endforeach
|
||||
@endif
|
||||
<flux:separator variant="subtle" />
|
||||
</flux:navlist>
|
||||
<p class="text-sm font-medium">© {{ config('app.settings.app_name') }}</p>
|
||||
@@ -180,5 +194,7 @@
|
||||
}, 1000);
|
||||
});
|
||||
</script>
|
||||
{!! config('app.settings.app_footer') !!}
|
||||
@yield('custom_header')
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user