You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.6 KiB

4 years ago
3 years ago
4 years ago
3 years ago
4 years ago
  1. <!DOCTYPE html>
  2. <html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <title>Urban Filehub</title>
  7. @yield('head')
  8. <link rel="stylesheet" href="/css/bootstrap.css" />
  9. </head>
  10. <body>
  11. <div>
  12. @if (Route::has('login'))
  13. <div>
  14. @auth
  15. <a href="{{ url('/home') }}" class="text-sm text-gray-700 underline">Home</a>
  16. @else
  17. <a href="{{ route('login') }}" class="text-sm text-gray-700 underline">Login</a>
  18. @if (Route::has('register'))
  19. <a href="{{ route('register') }}" class="ml-4 text-sm text-gray-700 underline">Register</a>
  20. @endif
  21. @endauth
  22. </div>
  23. @endif
  24. </div>
  25. <section class="section">
  26. <div class="container is-fluid mt-3 mb-4">
  27. <urban-accordion>
  28. <div title="Send me a Link">
  29. <urban-login-email></urban-login-email>
  30. </div>
  31. <div title="Login with Password">
  32. <urban-login-password></urban-login-password>
  33. </div>
  34. </urban-accordion>
  35. </div>
  36. </section>
  37. <main>
  38. @yield('main')
  39. </main>
  40. <script type="text/javascript" src="/js/bootstrap.js"></script>
  41. @stack('scripts')
  42. </body>
  43. </html>