mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-09 21:42:57 +00:00
26 lines
460 B
PHP
26 lines
460 B
PHP
<?php
|
|
|
|
namespace App\Livewire\Posts;
|
|
|
|
use App\Models\Post;
|
|
use Livewire\Component;
|
|
|
|
class Thumbnail extends Component
|
|
{
|
|
public Post $post;
|
|
|
|
public function placeholder()
|
|
{
|
|
return <<<'HTML'
|
|
<div style="display: flex; align-items: center; justify-content: center; width: 256px; height: 256px;">
|
|
<wa-spinner style="font-size: 4rem;"></wa-spinner>
|
|
</div>
|
|
HTML;
|
|
|
|
}
|
|
|
|
public function render()
|
|
{
|
|
return view('livewire.posts.thumbnail');
|
|
}
|
|
}
|