mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-10 05:42:58 +00:00
add models, setup livewire, setup mongodb
This commit is contained in:
parent
c0590a3412
commit
be4c848eee
27 changed files with 2508 additions and 0 deletions
10
resources/views/livewire/posts/thumbnail.blade.php
Normal file
10
resources/views/livewire/posts/thumbnail.blade.php
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<div style="max-inline-size: 256px;">
|
||||
<a
|
||||
id="post_{{ $post->id }}"
|
||||
href="{{ url("posts/$post->id") }}"
|
||||
class="wa-frame wa-border-radius-l"
|
||||
style="border: 2px solid var(--wa-color-{{ $post->getRatingColor() }}-border-loud);"
|
||||
wire:navigate.hover>
|
||||
<img src="{{ $post->getThumbUrl() }}" />
|
||||
</a>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue