imagick -> gd, empty featured post section
Some checks failed
Docker / build (push) Has been cancelled

This commit is contained in:
yuriko 🦊 2025-07-27 00:52:27 -04:00
parent ca49edc553
commit 21e59d775a
Signed by: jaiden
SSH key fingerprint: SHA256:f8tvveBoXBrKZIQDWLLcpQrKbATUCGg98x2N4YzkDM8
4 changed files with 9 additions and 5 deletions

View file

@ -36,9 +36,8 @@ HTML;
{ {
if ($this->post == null) if ($this->post == null)
{ {
return <<<'HTML' $href = route('posts.home');
<div></div> return view('livewire.post-feature-empty');
HTML;
} }
return view('livewire.post-feature'); return view('livewire.post-feature');
} }

View file

@ -16,7 +16,7 @@ return [
| |
*/ */
'driver' => \Intervention\Image\Drivers\Imagick\Driver::class, 'driver' => \Intervention\Image\Drivers\Gd\Driver::class,
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------

View file

@ -1,4 +1,4 @@
upload_max_filesize = 100M upload_max_filesize = 100M
post_max_size = 128M post_max_size = 128M
memory_limit = 1G memory_limit = 2G
max_execution_time = 120 max_execution_time = 120

View file

@ -0,0 +1,5 @@
<a class="wa-stack wa-align-items-center wa-placeholder wa-link-plain" href="{{ route('posts.home') }}" wire:navigate.hover>
<livewire:app.icon name="image-slash" class="wa-caption-l" style="font-size: var(--wa-font-size-3xl)" />
<span class="wa-heading-m">No featured post</span>
<p class="wa-caption-l">Mark a post as featured to have it appear here!</p>
</a>