F
Filament2mo ago
Rilind

Filament Resource Pages Title

I have to add an icon on title of all pages, I have disabled the main title of custom pages and i have created a component -> title-with-icon.blade <h1 class="i-header-heading text-2xl font-bold tracking-tight text-gray-950 dark:text-white sm:text-3xl"> {{ $title }} @if($showIcon && $description !== null) <x-filament::modal> <x-slot name="trigger"> <x-heroicon-o-information-circle class="w-6 h-6 inline-block ml-2 text-blue-500" /> </x-slot> {!! $description !!}
</x-filament::modal> @endif </h1> and i have called it at custom pages as follows <x-title-with-icon :title="$page->title" :description="$page->description" :show-icon="$page->status" /> But I can't call this way on resources pages, since i do not have a view do you have any idea how to achieve this for my Resources Pages?
No description
1 Reply
Want results from more Discord servers?
Add your server