Compare commits

...

3 commits

Author SHA1 Message Date
21e59d775a
imagick -> gd, empty featured post section
Some checks failed
Docker / build (push) Has been cancelled
2025-07-27 00:52:27 -04:00
ca49edc553
Merge branch 'main' of github.com:NyaaStudios/nyaabooru
# Conflicts:
#	app/Http/Controllers/AuthController.php
#	app/Livewire/Pages/Profile.php
#	resources/views/livewire/app/pfp.blade.php
#	resources/views/livewire/app/user-card.blade.php
#	resources/views/livewire/pages/profile.blade.php
2025-07-26 23:26:42 -04:00
33d4ff5fb4
add name change support & adjust profile list view 2025-07-26 14:22:42 -04:00
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>