Commit 6b00b506 by Bagus Pambudi

fix menu tertutup logo unesa

parent 2ca9a5dd
...@@ -20,8 +20,13 @@ ...@@ -20,8 +20,13 @@
background: url({!! $setting['logo'] !!}) no-repeat scroll left top rgba(0, 0, 0, 0); background: url({!! $setting['logo'] !!}) no-repeat scroll left top rgba(0, 0, 0, 0);
/* height: 55px; /* height: 55px;
width: auto; */ width: auto; */
} }
div#navbar-collapse-1.navbar-collapse.collapse.navbar-right{
margin-left: 150px;
}
a { a {
color: #428bca; color: #428bca;
text-decoration: none; text-decoration: none;
...@@ -90,7 +95,18 @@ ...@@ -90,7 +95,18 @@
</div><!-- end top menu --> </div><!-- end top menu -->
<div class="callus"> <div class="callus">
@if (array_key_exists('facebook', $setting)) @if (array_key_exists('facebook', $setting))
<span class="topbar-email"><i class="fa fa-envelope"></i> <a href="mailto:{!! $setting['email'] !!}">{!! $setting['facebook'] !!}</a></span> <span class="topbar-email"> <a href="https://www.facebook.com/{!! $setting['facebook'] !!}" target="_blank"><i class="fa fa-facebook"></i></a></span>
@endif
@if (array_key_exists('instagram', $setting))
<span class="topbar-email"> <a href="https://www.instagram.com/{!! $setting['instagram'] !!}" target="_blank"><i class="fa fa-instagram"></i></a></span>
@endif
@if (array_key_exists('twitter', $setting))
<span class="topbar-email"> <a href="https://www.twitter.com/{!! $setting['twitter'] !!}" target="_blank"><i class="fa fa-twitter"></i></a></span>
@endif
@if (array_key_exists('youtube', $setting))
<span class="topbar-email"> <a href="https://www.youtube.com/{!! $setting['youtube'] !!}" target="_blank"><i class="fa fa-youtube"></i></a></span>
@endif @endif
<span class="topbar-email"><i class="fa fa-envelope"></i> <a href="mailto:{!! $setting['email'] !!}">{!! $setting['email'] !!}</a></span> <span class="topbar-email"><i class="fa fa-envelope"></i> <a href="mailto:{!! $setting['email'] !!}">{!! $setting['email'] !!}</a></span>
</div><!-- end callus --> </div><!-- end callus -->
......
...@@ -8,20 +8,35 @@ ...@@ -8,20 +8,35 @@
<div class="yamm-content"> <div class="yamm-content">
<div class="row"> <div class="row">
@foreach ($menu as $valuec) @foreach ($menu as $valuec)
@if($valuec->parent == $value->id) @if($valuec->parent == $value->id)
<ul class="col-sm-4" style="text-transform: capitalize;"> <ul class="col-sm-4" style="text-transform: capitalize;">
@if($valuec->url) @if($valuec->url)
<li><a href="{!! url((string)$valuec->url) !!}">{!! $valuec->name !!}</a></li> <li><a href="{!! url((string)$valuec->url) !!}">{!! $valuec->name !!}</a></li>
@else @else
<!-- <li class="dropdown-submenu"> --> <!-- <li class="dropdown-submenu"> -->
<h3> <h3>
<a href="#">{!! $valuec->name !!}</a> <b> <a href="#">{!! $valuec->name !!}</a></b>
</h3> </h3>
<!-- <ul class="dropdown-menu"> --> <!-- <ul class="dropdown-menu"> -->
@foreach ($menu as $valuec2) @foreach ($menu as $valuec2)
@if($valuec2->parent == $valuec->id) @if($valuec2->parent == $valuec->id)
<li><a href="{!! url((string)$valuec2->url) !!}" target="_blank">{!! $valuec2->name !!}</a></li> <li><a href="{!! url((string)$valuec2->url) !!}" target="_blank">{!! $valuec2->name !!}</a></li>
{{-- @else
<li class="dropdown-submenu">
<b> <a href="#">{!! $valuec2->name !!}</a></b>
<ul class="dropdown-menu">
@foreach ($menu as $valuec3)
@if($valuec3->parent == $valuec2->id)
<li><a href="{!! url((string)$valuec3->url) !!}" target="_blank">{!! $valuec3->name !!}</a></li>
@endif @endif
@endforeach
</ul>
</li>--}}
@endif
@endforeach @endforeach
<!-- </ul> --> <!-- </ul> -->
<!-- </li> --> <!-- </li> -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment