<?php
namespace App\Controller;
use App\Logs\FileLogger;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\Mime\Part\DataPart;
use Symfony\Component\Mime\Part\Multipart\FormDataPart;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Contracts\HttpClient\HttpClientInterface;
class MasterController extends AbstractController {
/**
* @Route("/")
*/
public function index() {
$jsVariables = [];
return $this->render("web/home.html", [
'title' => "Bensari Ebenistes",
'time' => time(),
'jsVariables' => $jsVariables
]);
}
/**
* @Route("/podstrona")
*/
public function podstrona() {
$jsVariables = [];
return $this->render("web/subpage.html", [
'title' => "Bensari Ebenistes | Podstrona",
'time' => time(),
'jsVariables' => $jsVariables
]);
}
}