<?php
/**
* Created by simpson <simpsonwork@gmail.com>
* Date: 2019-04-05
* Time: 15:26
*/
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
class StaticPageController extends AbstractController
{
#[Route('/about/', name: 'static_page.about', options: ['sitemap.custom' => ['section' => 'static']])]
public function about(): Response
{
return $this->render('static/about.html.twig');
}
#[Route(
'/user-agreement-for-advertisers/',
name: 'static_page.user_agreement_for_advertisers',
options: ['sitemap.custom' => ['section' => 'static']]
)]
public function userAgreementForAdvertisers(): Response
{
return $this->render('static/user_agreement_for_advertisers.html.twig');
}
#[Route(
'/user-agreement-for-clients/',
name: 'static_page.user_agreement_for_clients',
options: ['sitemap.custom' => ['section' => 'static']]
)]
public function userAgreementForClients(): Response
{
return $this->render('static/user_agreement_for_clients.html.twig');
}
#[Route(
'/personal-data-processing-policy/',
name: 'static_page.personal_data_processing_policy',
options: ['sitemap.custom' => ['section' => 'static']]
)]
public function personalDataProcessingPolicy(): Response
{
return $this->render('static/personal_data_processing_policy.html.twig');
}
#[Route('/contacts/', name: 'static_page.contacts', options: ['sitemap.custom' => ['section' => 'static']])]
public function contacts(): Response
{
return $this->render('static/contacts.html.twig');
}
#[Route(path: '/license/', name: 'static_page.license')]
public function license(): Response
{
return $this->render('static/license.html.twig');
}
}