Commit 6b00b506 by Bagus Pambudi

fix menu tertutup logo unesa

parent 2ca9a5dd
......@@ -20,8 +20,13 @@
background: url({!! $setting['logo'] !!}) no-repeat scroll left top rgba(0, 0, 0, 0);
/* height: 55px;
width: auto; */
}
div#navbar-collapse-1.navbar-collapse.collapse.navbar-right{
margin-left: 150px;
}
a {
color: #428bca;
text-decoration: none;
......@@ -90,7 +95,18 @@
</div><!-- end top menu -->
<div class="callus">
@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
<span class="topbar-email"><i class="fa fa-envelope"></i> <a href="mailto:{!! $setting['email'] !!}">{!! $setting['email'] !!}</a></span>
</div><!-- end callus -->
......
......@@ -8,20 +8,35 @@
<div class="yamm-content">
<div class="row">
@foreach ($menu as $valuec)
@if($valuec->parent == $value->id)
@if($valuec->parent == $value->id)
<ul class="col-sm-4" style="text-transform: capitalize;">
@if($valuec->url)
<li><a href="{!! url((string)$valuec->url) !!}">{!! $valuec->name !!}</a></li>
@else
@else
<!-- <li class="dropdown-submenu"> -->
<h3>
<a href="#">{!! $valuec->name !!}</a>
<b> <a href="#">{!! $valuec->name !!}</a></b>
</h3>
<!-- <ul class="dropdown-menu"> -->
@foreach ($menu as $valuec2)
@if($valuec2->parent == $valuec->id)
<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
@endforeach
</ul>
</li>--}}
@endif
@endforeach
<!-- </ul> -->
<!-- </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