mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-10 05:42:58 +00:00
add users page, full screen image preview, footer
Some checks are pending
Docker / build (push) Waiting to run
Some checks are pending
Docker / build (push) Waiting to run
This commit is contained in:
parent
7ec9c4bc9d
commit
1442dbfa60
20 changed files with 202 additions and 32 deletions
25
app/Livewire/Posts/FullImage.php
Normal file
25
app/Livewire/Posts/FullImage.php
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
|
||||
namespace App\Livewire\Posts;
|
||||
|
||||
use App\Models\Post;
|
||||
use Livewire\Component;
|
||||
|
||||
class FullImage extends Component
|
||||
{
|
||||
public Post $post;
|
||||
|
||||
public function placeholder()
|
||||
{
|
||||
return <<<'HTML'
|
||||
<div class="wa-frame wa-border-radius-l" style="max-inline-size: 100%; aspect-ratio: 1280/720;">
|
||||
<wa-spinner style="font-size: 3rem; --track-width: 10px;"></wa-spinner>
|
||||
</div>
|
||||
HTML;
|
||||
}
|
||||
|
||||
public function render()
|
||||
{
|
||||
return view('livewire.posts.full-image');
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue