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
6
resources/views/livewire/post-feature.blade.php
Normal file
6
resources/views/livewire/post-feature.blade.php
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<div class="wa-stack" style="max-height: 80vh;">
|
||||
<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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue