forked from audrey/intranet
portal home as main route
This commit is contained in:
parent
fe23f9b430
commit
511975b8cd
@ -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);
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user