mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
Introduce filament
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
<x-filament::page>
|
||||
|
||||
</x-filament::page>
|
||||
@@ -0,0 +1,16 @@
|
||||
<x-filament::widget>
|
||||
<x-filament::card>
|
||||
@php
|
||||
$user = \Filament\Facades\Filament::auth()->user();
|
||||
@endphp
|
||||
|
||||
<div class="h-12 flex items-center space-x-4 rtl:space-x-reverse">
|
||||
<div>
|
||||
<h2 class="text-lg sm:text-xl font-bold tracking-tight">
|
||||
{{ __('filament::widgets/account-widget.welcome', ['user' => \Filament\Facades\Filament::getUserName($user) . '(' . $user->classText . ')']) }}
|
||||
</h2>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</x-filament::card>
|
||||
</x-filament::widget>
|
||||
Reference in New Issue
Block a user