<?php
declare(strict_types=1);
/*
* Copyright (C) Office National de Publication et de Communication - All Rights Reserved
*
* Unauthorized copying of this file, via any medium is strictly prohibited by law
* This file is proprietary and confidential
*/
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
final class StatiqueController extends AbstractController
{
/**
* @Route("/mentions-legales", name="mentions-legales", methods={"GET"})
*/
public function mentionsLegales(): Response
{
return $this->render('statique/mentions-legales.html.twig');
}
/**
* @Route("/contact", name="contact", methods={"GET"})
*/
public function contact(): Response
{
return $this->redirect($this->generateUrl('homepage'), 301);
// return $this->render('statique/contact.html.twig');
}
/**
* @Route("/qui-sommes-nous", name="qui-sommes-nous", methods={"GET"})
*/
public function description(): Response
{
return $this->render('statique/qui-sommes-nous.html.twig');
}
/**
* @Route("/guide-internat/guide-internat.html", name="guide-internat", methods={"GET"})
*/
public function guideInternat(): Response
{
return $this->render('statique/guide-internat.html.twig');
}
/**
* @Route("/marketing/commercial", name="marketing-commercial", methods={"GET"})
*/
public function marketingCommercial(): Response
{
return $this->render('statique/marketing-commercial.html.twig');
}
/**
* @Route("/marketing/sitesweb", name="marketing-sitesweb", methods={"GET"})
*/
public function marketingSitesweb(): Response
{
return $this->render('statique/marketing-sitesweb.html.twig');
}
}