Files
NekoCH f0b50e4826 update filament to v4
fix torrent name
2025-09-27 12:29:50 +08:00

24 lines
710 B
PHP

@php
$user = filament()->auth()->user();
@endphp
<x-filament-widgets::widget class="fi-account-widget">
<x-filament::section>
<x-filament-panels::avatar.user
size="lg"
:user="$user"
loading="lazy"
/>
<div class="fi-account-widget-main">
<h2 class="fi-account-widget-heading">
{{ __('filament-panels::widgets/account-widget.welcome', ['app' => config('app.name')]) }}
</h2>
<p class="fi-account-widget-user-name">
{{ filament()->getUserName($user) . ' (' . $user->classText . ')' }}
</p>
</div>
</x-filament::section>
</x-filament-widgets::widget>