mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-10 05:42:58 +00:00
Update post context buttons, page nav, dockerfile
This commit is contained in:
parent
e7b31a716c
commit
b4d83e9a29
22 changed files with 124 additions and 48 deletions
|
|
@ -2,5 +2,27 @@
|
|||
<a href="{{ url("posts/$post->id") }}" class="wa-frame wa-border-radius-l" style="max-inline-size: 100%; {{ $post->getAspectRatio() }}" wire:navigate.hover>
|
||||
<img src="{{ $post->getPreviewUrl() }}" />
|
||||
</a>
|
||||
<span class="wa-caption-m">-{{ $post->user->name }}, <wa-format-date></wa-format-date></span>
|
||||
<div class="wa-cluster wa-gap-xl wa-caption-m">
|
||||
<span class="wa-cluster wa-gap-xs">
|
||||
<livewire:app.icon name="user" />
|
||||
<a href="{{ url("profiles/{$post->user->id}") }}" wire:navigate.hover>{{ $post->user->name }}</a>
|
||||
</span>
|
||||
|
||||
<div class="wa-cluster wa-gap-xs">
|
||||
<livewire:app.icon name="calendar" />
|
||||
<wa-format-date
|
||||
month="numeric"
|
||||
day="numeric"
|
||||
year="numeric"
|
||||
hour="numeric"
|
||||
minute="numeric"
|
||||
date="{{ $post->created_at }}">
|
||||
</wa-format-date>
|
||||
</div>
|
||||
|
||||
<div class="wa-cluster wa-gap-xs">
|
||||
<livewire:app.icon name="hashtag" />
|
||||
<a href="{{ url("posts/$post->id") }}" wire:navigate.hover>{{ $post->id }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue