Commit 077da9b7 by Juliper
parents 17b237a4 95e4ce4a
<!-- Header -->
<div class="header agileits w3layouts" id="home" >
<!-- Navbar -->
<nav class="navbar navbar-default w3l aits wow bounceInUp agileits w3layouts">
......@@ -17,7 +17,53 @@
<li class="active"><a href="index.html">HOME</a></li>
<li><a href="#2">DAFTAR HOMESTAY</a></li>
<li><a href="#3">LOKASI</a></li>
<li><a href="gallery.html">PROFILE</a></li>
<!-- <li><a href="gallery.html">PROFILE</a></li> -->
@if (Auth::guest())
<li><a href="{{ url('/login') }}"> LOGIN </a></li>
@else
<!-- User Account Menu -->
<li class="dropdown user user-menu">
<!-- Menu Toggle Button -->
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<!-- The user image in the navbar-->
<img src="{{ Gravatar::get($user->email) }}" class="user-image" alt="User Image"/>
<!-- hidden-xs hides the username on small devices so only the image appears. -->
<span class="hidden-xs">{{ Auth::user()->name }}</span>
</a>
<ul class="dropdown-menu">
<!-- The user image in the menu -->
<li class="user-header">
<img src="{{ Gravatar::get($user->email) }}" class="img-circle" alt="User Image" />
<p>
{{ Auth::user()->name }}
<small>{{ trans('adminlte_lang::message.login') }} </small>
</p>
</li>
<!-- Menu Body -->
<!-- Menu Footer-->
<li class="user-footer">
<div class="pull-left">
<a href="{{ url('profile') }}" class="btn btn-default btn-flat">{{ trans('adminlte_lang::message.profile') }}</a>
</div>
<div class="pull-right">
<a href="{{ url('/logout') }}" class="btn btn-default btn-flat"
onclick="event.preventDefault();
document.getElementById('logout-form').submit();">
{{ trans('adminlte_lang::message.signout') }}
</a>
<form id="logout-form" action="{{ url('/logout') }}" method="POST" style="display: none;">
{{ csrf_field() }}
<input type="submit" value="logout" style="display: none;">
</form>
</div>
</li>
</ul>
</li>
@endif
<!-- <li><a href="codes.html">CODES</a></li> -->
<!-- <li><a href="booking.html">BOOKING</a></li> -->
</ul>
......@@ -29,4 +75,4 @@
<div class="clearfix" style="margin-bottom: 15px;"></div>
</div>
<!-- //Header -->
\ No newline at end of file
<!-- //Header
\ No newline at end of file
......@@ -12,7 +12,7 @@
*/
Route::get('/', function () {
return view('homestay');
return view('index');
});
Route::get('test', function(){
......
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