mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-10 05:42:58 +00:00
Add post deletion w/ confirmation, search (broken), profile page
This commit is contained in:
parent
bfb497c367
commit
827d125639
21 changed files with 374 additions and 27 deletions
28
resources/views/livewire/pages/profile.blade.php
Normal file
28
resources/views/livewire/pages/profile.blade.php
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<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>
|
||||
<span>
|
||||
<wa-format-number value="{{ $favorite_posts }}"></wa-format-number> {{ Str::plural('favorite', $favorite_posts) }}
|
||||
</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>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue