Update post context buttons, page nav, dockerfile

This commit is contained in:
yuriko 🦊 2025-07-02 13:13:10 -04:00
parent e7b31a716c
commit b4d83e9a29
Signed by: jaiden
SSH key fingerprint: SHA256:f8tvveBoXBrKZIQDWLLcpQrKbATUCGg98x2N4YzkDM8
22 changed files with 124 additions and 48 deletions

View file

@ -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>