Add the index controller

This commit is contained in:
2024-07-27 21:22:04 -04:00
parent 4240c65bbc
commit 12628c991a
2 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Attribute\Route;
class ConferenceController extends AbstractController
{
#[Route('/', name: 'homepage')]
public function index(): Response
{
return new Response(<<<EOF
<html>
<body>
<img src="/images/under-construction.gif" />
</body>
</html>
EOF
);
}
}