<?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")]
public function about(): Response
{
return $this->render('static/about.html.twig');
}
#[Route(path: '/license/', name: 'static_page.license')]
public function license(): Response
{
return $this->render('static/license.html.twig');
}
#[Route(path: '/articles/', name: 'static_page.articles')]
public function articles(): Response
{
return $this->render('static/articles.html.twig');
}
#[Route('/articles/menopause-2-0/', name: 'static_page.article_menopause')]
public function menopause(): Response
{
return $this->render('static/article_menopause.html.twig');
}
#[Route('/articles/polyamory-and-open-relationships/', name: 'static_page.article_polyamory')]
public function polyamory(): Response
{
return $this->render('static/article_polyamory.html.twig');
}
#[Route('/articles/sexuality-and-chronic-pain/', name: 'static_page.article_chronic_pain')]
public function chronicPain(): Response
{
return $this->render('static/article_chronic_pain.html.twig');
}
#[Route('/articles/psychedelics-in-sex-therapy/', name: 'static_page.article_psychedelics')]
public function psychedelics(): Response
{
return $this->render('static/article_psychedelics.html.twig');
}
#[Route('/articles/sexual-energy-and-performance/', name: 'static_page.article_energy')]
public function sexualEnergy(): Response
{
return $this->render('static/article_energy.html.twig');
}
}