|
|
|
@ -12,9 +12,7 @@ |
|
|
|
|
<!-- Scripts --> |
|
|
|
|
<script src="{{ mix('js/app.js') }}" defer></script> |
|
|
|
|
|
|
|
|
|
<!-- Fonts --> |
|
|
|
|
<link rel="dns-prefetch" href="//fonts.gstatic.com"> |
|
|
|
|
<link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet"> |
|
|
|
|
<link rel="icon" href="https://oyd.org.tr/favicon.ico"> |
|
|
|
|
|
|
|
|
|
<!-- Styles --> |
|
|
|
|
<link href="{{ mix('css/app.css') }}" rel="stylesheet"> |
|
|
|
@ -39,35 +37,41 @@ |
|
|
|
|
|
|
|
|
|
<!-- Right Side Of Navbar --> |
|
|
|
|
<ul class="navbar-nav ml-auto"> |
|
|
|
|
<!-- Authentication Links --> |
|
|
|
|
@guest |
|
|
|
|
<li class="nav-item"> |
|
|
|
|
<a class="nav-link" href="{{ route('login') }}">{{ __('Login') }}</a> |
|
|
|
|
</li> |
|
|
|
|
@if (Route::has('register')) |
|
|
|
|
<li class="nav-item"> |
|
|
|
|
<a class="nav-link" href="{{ route('register') }}">{{ __('Register') }}</a> |
|
|
|
|
<a class="nav-link" href="https://oyd.org.tr" target="_blank">oyd.org.tr</a> |
|
|
|
|
</li> |
|
|
|
|
@endif |
|
|
|
|
@else |
|
|
|
|
<li class="nav-item dropdown"> |
|
|
|
|
<a id="navbarDropdown" class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" v-pre> |
|
|
|
|
{{ Auth::user()->name }} <span class="caret"></span> |
|
|
|
|
</a> |
|
|
|
|
<!-- Authentication Links --> |
|
|
|
|
<?php /** |
|
|
|
|
@guest |
|
|
|
|
<li class="nav-item"> |
|
|
|
|
<a class="nav-link" href="{{ route('login') }}">{{ __('Login') }}</a> |
|
|
|
|
</li> |
|
|
|
|
@if (Route::has('register')) |
|
|
|
|
<li class="nav-item"> |
|
|
|
|
<a class="nav-link" href="{{ route('register') }}">{{ __('Register') }}</a> |
|
|
|
|
</li> |
|
|
|
|
@endif |
|
|
|
|
@else |
|
|
|
|
<li class="nav-item dropdown"> |
|
|
|
|
<a id="navbarDropdown" class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" v-pre> |
|
|
|
|
{{ Auth::user()->name }} <span class="caret"></span> |
|
|
|
|
</a> |
|
|
|
|
|
|
|
|
|
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown"> |
|
|
|
|
<a class="dropdown-item" href="{{ route('logout') }}" |
|
|
|
|
onclick="event.preventDefault(); |
|
|
|
|
document.getElementById('logout-form').submit();"> |
|
|
|
|
{{ __('Logout') }} |
|
|
|
|
</a> |
|
|
|
|
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown"> |
|
|
|
|
<a class="dropdown-item" href="{{ route('logout') }}" |
|
|
|
|
onclick="event.preventDefault(); |
|
|
|
|
document.getElementById('logout-form').submit();"> |
|
|
|
|
{{ __('Logout') }} |
|
|
|
|
</a> |
|
|
|
|
|
|
|
|
|
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;"> |
|
|
|
|
@csrf |
|
|
|
|
</form> |
|
|
|
|
</div> |
|
|
|
|
</li> |
|
|
|
|
@endguest |
|
|
|
|
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;"> |
|
|
|
|
@csrf |
|
|
|
|
</form> |
|
|
|
|
</div> |
|
|
|
|
</li> |
|
|
|
|
@endguest |
|
|
|
|
*/ |
|
|
|
|
?> |
|
|
|
|
</ul> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|