portal home as main route

This commit is contained in:
Audrey Jensen 2023-06-29 16:39:27 +00:00
parent fe23f9b430
commit 511975b8cd
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ use Symfony\Component\Yaml\Yaml;
use jv\intranet\Types\NavbarItem; use jv\intranet\Types\NavbarItem;
class PortalController extends AbstractController class PortalController extends AbstractController
{ {
#[Route('/portal')] #[Route('/')]
public function page() : Response public function page() : Response
{ {
$contentFile = Yaml::parseFile('../config/portalLinks.yaml', 2, 2, Yaml::PARSE_OBJECT_FOR_MAP); $contentFile = Yaml::parseFile('../config/portalLinks.yaml', 2, 2, Yaml::PARSE_OBJECT_FOR_MAP);

View File

@ -8,7 +8,7 @@
<div <div
class="d-none d-md-flex justify-content-end " style="background:#fff; position:relative; z-index: 20;"> class="d-none d-md-flex justify-content-end " style="background:#fff; position:relative; z-index: 20;">
<!-- Header Logo --> <!-- Header Logo -->
<a class="img-fluid px-3 my-1 float-start col-md-3 col-lg-3 col-sm-3 col-xs-6 text-center hidden-xs" href="{{app.request.getSchemeAndHttpHost()}}/portal"> <a class="img-fluid px-3 my-1 float-start col-md-3 col-lg-3 col-sm-3 col-xs-6 text-center hidden-xs" href="{{app.request.getSchemeAndHttpHost()}}/">
<img src="{{ asset('images/logo12.png') }}" style="\" max-height:100%\""/> <img src="{{ asset('images/logo12.png') }}" style="\" max-height:100%\""/>
</a> </a>
<div <div