diff --git a/app/Http/Livewire/BooksForPlebs/BookRentalGuide.php b/app/Http/Livewire/BooksForPlebs/BookRentalGuide.php new file mode 100644 index 00000000..a72ae022 --- /dev/null +++ b/app/Http/Livewire/BooksForPlebs/BookRentalGuide.php @@ -0,0 +1,13 @@ +id(); $this->nullableMorphs($table, 'commentator', 'commentator_reactions'); $table->foreignId('comment_id')->references('id')->on('comments')->cascadeOnDelete(); - $table->string('reaction')->collation('C.UTF-8'); + $table->string('reaction'); $table->timestamps(); }); diff --git a/resources/views/livewire/books-for-plebs/book-rental-guide.blade.php b/resources/views/livewire/books-for-plebs/book-rental-guide.blade.php new file mode 100644 index 00000000..9bcffa82 --- /dev/null +++ b/resources/views/livewire/books-for-plebs/book-rental-guide.blade.php @@ -0,0 +1,22 @@ +
+

Test

+
+ +
+ + + +
+ +
+

Test

+

Test

+

Test

+

Test

+
+ +
+ + +
+ diff --git a/resources/views/livewire/frontend/navigation/library.blade.php b/resources/views/livewire/frontend/navigation/library.blade.php index 7563784a..08203167 100644 --- a/resources/views/livewire/frontend/navigation/library.blade.php +++ b/resources/views/livewire/frontend/navigation/library.blade.php @@ -51,6 +51,12 @@ {{ __('Bücher') }} + + + {{ __('Bücherverleih') }} + + diff --git a/routes/web.php b/routes/web.php index 344849f2..460cc641 100644 --- a/routes/web.php +++ b/routes/web.php @@ -20,6 +20,10 @@ Route::middleware([]) ->get('/kaninchenbau', \App\Http\Livewire\Helper\FollowTheRabbit::class) ->name('kaninchenbau'); +Route::middleware([]) + ->get('/buecherverleih', \App\Http\Livewire\BooksForPlebs\BookRentalGuide::class) + ->name('buecherverleih'); + Route::get('/img/{path}', \App\Http\Controllers\ImageController::class) ->where('path', '.*') ->name('img');