version 0.8.0
This commit is contained in:
parent
f22007003a
commit
e5ca9ef194
95 changed files with 5601 additions and 4042 deletions
33
app/routes/web.php
Normal file
33
app/routes/web.php
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* Seiten-Routen (Slug => [Controller, Methode]).
|
||||
*
|
||||
* NEUE SEO-Seite:
|
||||
* 1. View anlegen: app/Views/pages/<name>.php
|
||||
* 2. Controller (oder bestehenden wiederverwenden) + Zeile hier ergänzen.
|
||||
*/
|
||||
return [
|
||||
'' => [HomeController::class, 'index'],
|
||||
'regeln' => [RegelnController::class, 'index'],
|
||||
'datenschutz' => [LegalController::class, 'datenschutz'],
|
||||
'impressum' => [LegalController::class, 'impressum'],
|
||||
|
||||
// SEO-/Content-Seiten
|
||||
'spielanleitung' => [ContentController::class, 'spielanleitung'],
|
||||
'strategie' => [ContentController::class, 'strategie'],
|
||||
'spielvarianten' => [ContentController::class, 'spielvarianten'],
|
||||
'faq' => [ContentController::class, 'faq'],
|
||||
'partyspiele' => [ContentController::class, 'partyspiele'],
|
||||
|
||||
// App-Seiten (eigenständige Dokumente, noindex)
|
||||
'play' => [PlayController::class, 'index'],
|
||||
'login' => [LoginController::class, 'index'],
|
||||
'profile' => [ProfileController::class, 'index'],
|
||||
'admin' => [AdminController::class, 'index'],
|
||||
|
||||
'sitemap.xml' => [SitemapController::class, 'xml'],
|
||||
|
||||
'__404__' => [LegalController::class, 'notFound'],
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue