Initial commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<div class="w-full bg-slate-200 px-20 py-3 ">
|
||||
<div class="flex justify-between">
|
||||
<div class="flex gap-5">
|
||||
<a class=" @if( url()->current() == route('panel.index') ) bg-ahrom text-white @else bg-[#F9FAFB] @endif px-2 rounded-2xl py-1 shadow" href="{{route('panel.index')}}" wire:navigate>مقالات</a>
|
||||
@if(auth()->user()->type == 2)
|
||||
<a class=" @if( url()->current() == route('panel.category.index') ) bg-ahrom text-white @else bg-[#F9FAFB] @endif px-2 rounded-2xl py-1 shadow" href="{{route('panel.category.index')}}" wire:navigate>دسته بندی</a>
|
||||
{{-- <a class=" @if( url()->current() == route('panel.images') ) bg-ahrom text-white @else bg-[#F9FAFB] @endif px-2 rounded-2xl py-1 shadow" href="{{route('panel.images')}}" wire:navigate>تصاویر</a>--}}
|
||||
{{-- <a class=" @if( url()->current() == route('panel.keywords') ) bg-ahrom text-white @else bg-[#F9FAFB] @endif px-2 rounded-2xl py-1 shadow" href="{{route('panel.keywords')}}" wire:navigate>کلیدواژه</a>--}}
|
||||
<a class=" @if( url()->current() == route('panel.dictionary') ) bg-ahrom text-white @else bg-[#F9FAFB] @endif px-2 rounded-2xl py-1 shadow" href="{{route('panel.dictionary')}}" wire:navigate>فرهنگ لغت</a>
|
||||
<a class=" @if( url()->current() == route('panel.comment') ) bg-ahrom text-white @else bg-[#F9FAFB] @endif px-2 rounded-2xl py-1 shadow" href="{{route('panel.comment')}}" wire:navigate>کامنت</a>
|
||||
<a class=" @if( url()->current() == route('panel.getnewslist') ) bg-ahrom text-white @else bg-[#F9FAFB] @endif px-2 rounded-2xl py-1 shadow" href="{{route('panel.getnewslist')}}" wire:navigate>استعلام اخبار</a>
|
||||
@endif
|
||||
@if(auth()->user()->type != 3)
|
||||
<a class=" @if( url()->current() == route('panel.search') ) bg-ahrom text-white @else bg-[#F9FAFB] @endif px-2 rounded-2xl py-1 shadow" href="{{route('panel.search')}}" wire:navigate>جستجو</a>
|
||||
@endif
|
||||
@if(auth()->user()->type == 2)
|
||||
{{-- <a class=" @if( url()->current() == route('panel.ads') ) bg-ahrom text-white @else bg-[#F9FAFB] @endif px-2 rounded-2xl py-1 shadow" href="{{route('panel.ads')}}" wire:navigate>تبلیغات</a>--}}
|
||||
<a class=" @if( url()->current() == route('panel.keywordlist') ) bg-ahrom text-white @else bg-[#F9FAFB] @endif px-2 rounded-2xl py-1 shadow" href="{{route('panel.keywordlist')}}" wire:navigate>استعلام مقالات</a>
|
||||
@endif
|
||||
</div>
|
||||
<div class=" flex gap-3">
|
||||
<a href="{{route('panel.logout')}}" wire:navigate>خروج</a>
|
||||
@if(auth()->user()->type != 2)
|
||||
<a href="{{route('panel.register')}}" wire:navigate>عضویت</a>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user