Front-end improvements

master
Uğur Arıcı 5 years ago
parent 3aad76e890
commit ac3f25e92c
  1. 2
      public/js/app.js
  2. 2
      public/mix-manifest.json
  3. 4
      resources/js/components/DonationCard.vue
  4. 62
      resources/views/layouts/app.blade.php

2
public/js/app.js vendored

File diff suppressed because one or more lines are too long

@ -1,4 +1,4 @@
{
"/js/app.js": "/js/app.js?id=3dc1134357899a6cf0e7",
"/js/app.js": "/js/app.js?id=98f1c6e677e72c69fbc4",
"/css/app.css": "/css/app.css?id=36412c9f34a08f26af3c"
}

@ -461,14 +461,14 @@ export default {
id: 5,
name: "Gold Level",
once_amount: 100,
monthly_amount: 10,
monthly_amount: 20,
annually_amount: 100
},
{
id: 6,
name: "Copper Level",
once_amount: 50,
monthly_amount: 5,
monthly_amount: 10,
annually_amount: 50
}
]

@ -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">
<li class="nav-item">
<a class="nav-link" href="https://oyd.org.tr" target="_blank">oyd.org.tr</a>
</li>
<!-- 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>
</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>
<?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>

Loading…
Cancel
Save