<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Session\Session;
use Symfony\Component\Routing\Annotation\Route;
class HomepageController extends AbstractController
{
#[Route('/', name: 'app_homepage')]
public function index(): Response
{
return $this->render('homepage/homepage.html.twig', []);
}
#[Route('/zasady-ochrany-osobnich-udaju', name: 'oou')]
public function zasadyoou(): Response
{
return $this->render('pages/oou.html.twig', []);
}
#[Route('/vop', name: 'vop')]
public function vop(): Response
{
return $this->render('pages/vop.html.twig', []);
}
#[Route('/cookies', name: 'cookies')]
public function cookies(): Response
{
return $this->render('pages/cookies.html.twig', []);
}
}