Compare commits

..

No commits in common. "21e59d775a76826194a4dedb06db0ec66fee2a5e" and "e1235a7232dfd4dcfe19bbd3f936acde7da58677" have entirely different histories.

4 changed files with 5 additions and 9 deletions

View file

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

View file

@ -16,7 +16,7 @@ return [
| |
*/ */
'driver' => \Intervention\Image\Drivers\Gd\Driver::class, 'driver' => \Intervention\Image\Drivers\Imagick\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 = 2G memory_limit = 1G
max_execution_time = 120 max_execution_time = 120

View file

@ -1,5 +0,0 @@
<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>