This commit is contained in:
Bozhidar 2024-05-15 14:50:53 +03:00
parent a40dc79b2e
commit fecbf7255e
2 changed files with 7 additions and 7 deletions

View file

@ -181,13 +181,13 @@ class Settings extends Page
'icon'=>'heroicon-o-paint-brush', 'icon'=>'heroicon-o-paint-brush',
'links'=> [ 'links'=> [
[ [
'title'=>'Phyre Theme', 'title'=>'Phyre Logo',
'icon'=>'heroicon-o-color-swatch', 'icon'=>'heroicon-o-photograph',
'url'=> route('filament.admin.pages.phyre-apperance') 'url'=> route('filament.admin.pages.phyre-apperance')
], ],
[ [
'title'=>'Phyre Logo', 'title'=>'Phyre Theme',
'icon'=>'heroicon-o-photograph', 'icon'=>'heroicon-o-color-swatch',
'url'=> route('filament.admin.pages.phyre-apperance') 'url'=> route('filament.admin.pages.phyre-apperance')
], ],
] ]

View file

@ -1,12 +1,12 @@
<x-filament-panels::page> <x-filament-panels::page>
<div class="grid grid-cols-3 gap-4 gap-y-8 bg-white/5 p-8 shadow rounded-xl"> <div class="grid grid-cols-3 gap-4 gap-y-8 p-8 rounded-xl bg-white shadow-sm ring-1 ring-gray-950/5 dark:divide-white/10 dark:bg-gray-900 dark:ring-white/10">
@foreach($linkGroups as $group) @foreach($linkGroups as $group)
<div> <div>
<div class="flex gap-2 items-center"> <div class="flex gap-2 items-center">
<x-filament::icon-button size="xl" icon="{{$group['icon']}}" /> <x-filament::icon-button size="xl" icon="{{$group['icon']}}" />
<div class="text-primary-500 text-xl"> <div class="text-primary-500 text-lg">
{{ $group['title'] }} {{ $group['title'] }}
</div> </div>
</div> </div>
@ -14,7 +14,7 @@
<ul class="flex flex-col gap-y-1"> <ul class="flex flex-col gap-y-1">
@foreach($group['links'] as $link) @foreach($group['links'] as $link)
<li> <li>
<a class="cursor-pointer font-medium hover:text-primary-500 transition" href="{{$link['url']}}"> <a class="cursor-pointer text-sm font-medium hover:text-primary-500 transition" href="{{$link['url']}}">
{{$link['title']}} {{$link['title']}}
</a> </a>
</li> </li>