mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-09 21:42:57 +00:00
Compare commits
3 commits
e1235a7232
...
21e59d775a
| Author | SHA1 | Date | |
|---|---|---|---|
| 21e59d775a | |||
| ca49edc553 | |||
| 33d4ff5fb4 |
4 changed files with 9 additions and 5 deletions
|
|
@ -36,9 +36,8 @@ HTML;
|
|||
{
|
||||
if ($this->post == null)
|
||||
{
|
||||
return <<<'HTML'
|
||||
<div></div>
|
||||
HTML;
|
||||
$href = route('posts.home');
|
||||
return view('livewire.post-feature-empty');
|
||||
}
|
||||
return view('livewire.post-feature');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'driver' => \Intervention\Image\Drivers\Imagick\Driver::class,
|
||||
'driver' => \Intervention\Image\Drivers\Gd\Driver::class,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
upload_max_filesize = 100M
|
||||
post_max_size = 128M
|
||||
memory_limit = 1G
|
||||
memory_limit = 2G
|
||||
max_execution_time = 120
|
||||
|
|
|
|||
5
resources/views/livewire/post-feature-empty.blade.php
Normal file
5
resources/views/livewire/post-feature-empty.blade.php
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue