<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
/**
* @Route("/", name="home")
*/
class HomeController extends AbstractController
{
/**
* @Route("", name="_index")
*/
public function index(): Response
{
return $this->render('base.html.twig', [
'titulo_pagina' => 'Inicio'
]);
}
/**
* @Route("/privacidad", name="_politica_privacidad")
*/
public function provacidad(): Response
{
return $this->render('privacidad.html.twig', [
'titulo_pagina' => 'Política de privacidad'
]);
}
/**
* @Route("/terminos", name="_terminos_uso")
*/
public function terminos(): Response
{
return $this->render('terminos.html.twig', [
'titulo_pagina' => 'Términos de uso'
]);
}
}