TanchoToplineCargo/resources/views/client/niwida/nav.blade.php

92 lines
4.1 KiB
PHP
Raw Normal View History

2024-05-05 04:47:49 +00:00
<!DOCTYPE html>
<html lang="en">
<meta http-equiv="content-type" content="text/html;charset=UTF-8" /><!-- /Added by HTTrack -->
<head>
<title>Niwida Concern | A premium human resource provider from nepal.</title>
</head>
<style>
</style>
{{-- <div id="pt-loading">
<div id="pt-loading-center">
<img src="{{template('assets/images/logo.png')}}" alt="Niwida Concern">
</div>
</div> --}}
<header id="pt-header" class="pt-header-default">
<div class="pt-bottom-header pt-has-sticky">
<div class="container">
<div class="row">
<div class="col-lg-12">
<nav class="navbar navbar-expand-lg navbar-light d-flex flex-nowrap">
<a class="navbar-brand " href="index.html">
<img class="img-fluid logo " src="{{template('assets/images/logo.png')}}" alt="Niwida Concern">
<img class="img-fluid logo " src="{{template('assets/images/certificate.png')}}" alt="Niwida Concern">
</a>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<div id="pt-menu-contain" class="pt-menu-contain">
<ul id="pt-main-menu" class="navbar-nav ">
@php
$menuItems = MPCMS::getMenuItems('header-menu');
@endphp
@foreach ($menuItems as $menuItem)
@php
$menuItem->alias = str_replace('-', '_', $menuItem->alias);
$routeName = $menuItem->alias;
$routeUrl = route($routeName);
@endphp
<li class="nav-item">
<a href="{{$routeUrl}}">{{ $menuItem->title }}</a>
@if (!empty($menuItem->children))
<i class="fa fa-chevron-down pt-submenu-icon"></i>
<ul class="sub-menu">
@foreach ($menuItem->children as $menu)
@php
$menuRouteName = $menuItem->alias . '.' . $menu->alias;
$menuRouteUrl = route($menuRouteName);
@endphp
<li class="nav-item"><a class="nav-link" href= "{{ $menuRouteUrl }}">{{ $menu->title }}</a></li>
@endforeach
</ul>
@endif
</li>
@endforeach
</ul>
</div>
</div>
<div class="pt-btn-container">
<a href="demand.html" class="pt-button">
<div class="pt-button-block">
<span class="pt-button-line-left"></span>
<span class="pt-button-text">Demands</span>
</div>
</a>
</div>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<i class="fas fa-bars"></i>
</button>
</nav>
</div>
</div>
</div>
</div>
</header>