<?php
// src/Controller/EntrepriseController.php
namespace App\Controller;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
/**
* @Route("/")
*/
class EntrepriseController extends AbstractController
{
/**
* @Route("/", name="home_first")
*/
public function homeFirstAction()
{
$domain = '';
return $this->render('entreprise/accueil.html.twig', [
'domain' => $domain
]);
}
/**
* @Route("/{_locale}", name="home")
*/
public function homeAction()
{
$domain = '';
return $this->render('entreprise/accueil.html.twig', [
'domain' => $domain
]);
}
/**
* @Route("/{_locale}/hosting-plan", name="hosting_plan")
*/
public function hostingPlanAction()
{
return $this->render('entreprise/hosting_plan.html.twig', [
]);
}
/**
* @Route("/{_locale}/contact", name="contact")
*/
public function contactAction()
{
return $this->render('entreprise/contact.html.twig', [
]);
}
}