mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-10 05:42:58 +00:00
27 lines
515 B
PHP
27 lines
515 B
PHP
<?php
|
|
|
|
namespace App\Livewire\Posts;
|
|
|
|
use App\Models\Post;
|
|
use Livewire\Component;
|
|
|
|
class Image extends Component
|
|
{
|
|
public Post $post;
|
|
|
|
public function placeholder()
|
|
{
|
|
return <<<'HTML'
|
|
<div class="wa-stack" style="display: flex; align-items: center; justify-content: center; max-height: 80vh;">
|
|
<div class="wa-frame wa-border-radius-l" style="max-inline-size: 100%;">
|
|
<wa-spinner></wa-spinner>
|
|
</div>
|
|
</div>
|
|
HTML;
|
|
}
|
|
|
|
public function render()
|
|
{
|
|
return view('livewire.posts.image');
|
|
}
|
|
}
|