Files
Escapepage/src/Website/Controller/HomeController.php
T
Frank 839113c356 Add AI Virus Deflection story to homepage and new agent briefing page
Give the public homepage a themed breach-alert hero and add a /briefing
page with the full mission narrative, both linking into the existing
game dashboard flow.
2026-07-04 23:00:31 +02:00

26 lines
638 B
PHP

<?php
declare(strict_types=1);
namespace App\Website\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
final class HomeController extends AbstractController
{
#[Route(path: '', name: 'website_home')]
public function index(): Response
{
return $this->render(
'website/home/index.html.twig');
}
#[Route(path: '/briefing', name: 'website_intro')]
public function intro(): Response
{
return $this->render(
'website/home/intro.html.twig');
}
}