Add admin nav link and reuse site header/footer on admin pages

Admins now see an Admin link in the main navigation, and the admin
section inherits the branded header/footer from layout/site.html.twig
instead of the bare base layout.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Frank
2026-07-04 19:15:24 +02:00
co-authored by Claude Sonnet 5
parent 5b03bd1d1c
commit 703d2af3d8
4 changed files with 8 additions and 1 deletions
+1
View File
@@ -2,6 +2,7 @@
site.name: EscapePage
nav.home: Home
nav.game: Game
nav.admin: Admin
nav.login: Login
nav.register: Register
nav.logout: Logout
+1
View File
@@ -2,6 +2,7 @@
site.name: EscapePage
nav.home: Start
nav.game: Spel
nav.admin: Beheer
nav.login: Inloggen
nav.register: Registreren
nav.logout: Uitloggen