Add tag & tag group creation

This commit is contained in:
yuriko 🦊 2025-05-24 21:35:29 -04:00
parent f64afa649a
commit f2950ec7eb
15 changed files with 330 additions and 22 deletions

View file

@ -1,25 +1,8 @@
<div class="wa-stack">
<h1>{{ $user->name }}</h1>
<div class="wa-grid">
<wa-card>
<span class="wa-heading-m">
<wa-format-number value="{{ $user->posts->count() }}"></wa-format-number> {{ Str::plural('post', $user->posts->count()) }}
</span>
</wa-card>
<wa-card>
<span class="wa-heading-m">
<wa-format-number value="{{ $user->comments->count() }}"></wa-format-number> {{ Str::plural('comment', $user->comments->count()) }}
</span>
</wa-card>
<wa-card>
<span class="wa-heading-m">
Last seen {{ $user->updated_at->diffForHumans() }}
</span>
</wa-card>
<div class="wa-grid" style="--min-column-size: 30ch;">
<livewire:app.data-card icon="images" title="Posts" value="{{ $user->posts->count() }}" />
<livewire:app.data-card icon="comments" title="Comments" value="{{ $user->comments->count() }}" />
</div>
</div>