chore: pindah link panduan ke footer navigasi website publik
This commit is contained in:
@@ -11,11 +11,8 @@ use Filament\Pages\Dashboard;
|
|||||||
use Filament\Panel;
|
use Filament\Panel;
|
||||||
use Filament\PanelProvider;
|
use Filament\PanelProvider;
|
||||||
use Filament\Support\Colors\Color;
|
use Filament\Support\Colors\Color;
|
||||||
use Filament\Support\Facades\FilamentView;
|
|
||||||
use Filament\View\PanelsRenderHook;
|
|
||||||
use Filament\Widgets\AccountWidget;
|
use Filament\Widgets\AccountWidget;
|
||||||
use Filament\Widgets\FilamentInfoWidget;
|
use Filament\Widgets\FilamentInfoWidget;
|
||||||
use Illuminate\Support\HtmlString;
|
|
||||||
use Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse;
|
use Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse;
|
||||||
use Illuminate\Cookie\Middleware\EncryptCookies;
|
use Illuminate\Cookie\Middleware\EncryptCookies;
|
||||||
use Illuminate\Foundation\Http\Middleware\PreventRequestForgery;
|
use Illuminate\Foundation\Http\Middleware\PreventRequestForgery;
|
||||||
@@ -27,23 +24,6 @@ class AdminPanelProvider extends PanelProvider
|
|||||||
{
|
{
|
||||||
public function panel(Panel $panel): Panel
|
public function panel(Panel $panel): Panel
|
||||||
{
|
{
|
||||||
FilamentView::registerRenderHook(
|
|
||||||
PanelsRenderHook::FOOTER,
|
|
||||||
fn () => new HtmlString(
|
|
||||||
'<div class="flex justify-center py-3 border-t border-gray-100">
|
|
||||||
<a href="' . url('/panduan') . '" target="_blank"
|
|
||||||
class="flex items-center gap-1.5 text-xs text-gray-400 hover:text-gray-700 transition"
|
|
||||||
title="Panduan Penggunaan">
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" class="w-3.5 h-3.5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
||||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
||||||
d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"/>
|
|
||||||
</svg>
|
|
||||||
Panduan Penggunaan
|
|
||||||
</a>
|
|
||||||
</div>'
|
|
||||||
),
|
|
||||||
);
|
|
||||||
|
|
||||||
return $panel
|
return $panel
|
||||||
->default()
|
->default()
|
||||||
->brandLogo(asset('images/logo.png'))
|
->brandLogo(asset('images/logo.png'))
|
||||||
|
|||||||
@@ -69,6 +69,7 @@
|
|||||||
<div class="flex items-center gap-4 text-gray-400">
|
<div class="flex items-center gap-4 text-gray-400">
|
||||||
<a href="{{ route('kontak') }}" class="hover:text-gray-700 text-sm transition">Kontak</a>
|
<a href="{{ route('kontak') }}" class="hover:text-gray-700 text-sm transition">Kontak</a>
|
||||||
<a href="{{ route('tentang') }}" class="hover:text-gray-700 text-sm transition">Tentang</a>
|
<a href="{{ route('tentang') }}" class="hover:text-gray-700 text-sm transition">Tentang</a>
|
||||||
|
<a href="{{ route('guide') }}" class="hover:text-gray-700 text-sm transition">Panduan</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
Reference in New Issue
Block a user