welcome.blade.php 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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>Laravel</title>
  7. <!-- Fonts -->
  8. <link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="stylesheet">
  9. <!-- Styles -->
  10. <style>
  11. html, body {
  12. background-color: #fff;
  13. color: #636b6f;
  14. font-family: 'Nunito', sans-serif;
  15. font-weight: 200;
  16. height: 100vh;
  17. margin: 0;
  18. }
  19. .full-height {
  20. height: 100vh;
  21. }
  22. .flex-center {
  23. align-items: center;
  24. display: flex;
  25. justify-content: center;
  26. }
  27. .position-ref {
  28. position: relative;
  29. }
  30. .top-right {
  31. position: absolute;
  32. right: 10px;
  33. top: 18px;
  34. }
  35. .content {
  36. text-align: center;
  37. }
  38. .title {
  39. font-size: 84px;
  40. }
  41. .links > a {
  42. color: #636b6f;
  43. padding: 0 25px;
  44. font-size: 13px;
  45. font-weight: 600;
  46. letter-spacing: .1rem;
  47. text-decoration: none;
  48. text-transform: uppercase;
  49. }
  50. .m-b-md {
  51. margin-bottom: 30px;
  52. }
  53. </style>
  54. </head>
  55. <body>
  56. <div class="flex-center position-ref full-height">
  57. @if (Route::has('admin.login'))
  58. <div class="top-right links">
  59. @if(Auth::guard('admin')->user())
  60. <a href="{{ url('/home') }}">Home</a>
  61. @else
  62. <a href="{{ route('admin.login') }}">Login</a>
  63. @if (Route::has('admin.register'))
  64. <a href="{{ route('admin.register') }}">Register</a>
  65. @endif
  66. @endif
  67. </div>
  68. @endif
  69. <div class="content">
  70. <div class="title m-b-md">
  71. Course Finder
  72. </div>
  73. </div>
  74. </div>
  75. </body>
  76. </html>