mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-10 05:42:58 +00:00
This commit is contained in:
parent
13307bc7f4
commit
e7b31a716c
19 changed files with 63 additions and 51 deletions
|
|
@ -26,19 +26,19 @@
|
|||
|
||||
{{-- Post ID --}}
|
||||
<div class="wa-cluster">
|
||||
<wa-icon fixed-width name="hashtag"></wa-icon>
|
||||
<livewire:app.icon name="hashtag" />
|
||||
<span>{{ $post->id }}</span>
|
||||
</div>
|
||||
|
||||
{{-- Post author --}}
|
||||
<div class="wa-cluster">
|
||||
<wa-icon fixed-width name="user"></wa-icon>
|
||||
<livewire:app.icon name="user" />
|
||||
<span>{{ $post->user->name }}</span>
|
||||
</div>
|
||||
|
||||
{{-- Post upload date --}}
|
||||
<div class="wa-cluster">
|
||||
<wa-icon fixed-width name="calendar"></wa-icon>
|
||||
<livewire:app.icon name="calendar" />
|
||||
<wa-format-date
|
||||
month="numeric"
|
||||
day="numeric"
|
||||
|
|
@ -51,13 +51,13 @@
|
|||
|
||||
{{-- Post dimensions --}}
|
||||
<div class="wa-cluster">
|
||||
<wa-icon fixed-width name="image"></wa-icon>
|
||||
<livewire:app.icon name="image" />
|
||||
<span>{{ $post->getDimensionsStr() }}, <wa-format-bytes value="{{ $post->getFileSize() }}"></wa-format-bytes> {{ $post->extension }}</span>
|
||||
</div>
|
||||
|
||||
{{-- Post rating --}}
|
||||
<div class="wa-cluster">
|
||||
<wa-icon fixed-width name="face-hand-peeking"></wa-icon>
|
||||
<livewire:app.icon name="face-hand-peeking" />
|
||||
<span style="color: var(--wa-color-{{ $post->getRatingColor() }}-on-normal);">{{ $post->rating }}</span>
|
||||
</div>
|
||||
|
||||
|
|
@ -65,7 +65,7 @@
|
|||
|
||||
{{-- Tags --}}
|
||||
<div class="wa-cluster wa-heading-m">
|
||||
<wa-icon fixed-width name="tags"></wa-icon>
|
||||
<livewire:app.icon name="tags" />
|
||||
<span>Tags</span>
|
||||
</div>
|
||||
|
||||
|
|
@ -90,7 +90,7 @@
|
|||
|
||||
<form wire:submit="postComment">
|
||||
<wa-input wire:model.live="message" type="text" placeholder="Leave a comment, press enter to post." clearable multiline>
|
||||
<wa-icon name="comment" slot="prefix"></wa-icon>
|
||||
<livewire:app.icon name="comment" slot="prefix" />
|
||||
</wa-input>
|
||||
</form>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue