welcome.blade.php 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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" type="text/css">
  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('login'))
  58. <div class="top-right links">
  59. @auth
  60. <a href="{{ url('/home') }}">Home</a>
  61. @else
  62. <a href="{{ route('login') }}">Login</a>
  63. @if (Route::has('register'))
  64. <a href="{{ route('register') }}">Register</a>
  65. @endif
  66. @endauth
  67. </div>
  68. @endif
  69. <div class="content">
  70. <div class="title m-b-md">
  71. Laravel
  72. </div>
  73. <div class="links">
  74. <a href="https://laravel.com/docs">Documentation</a>
  75. <a href="https://laracasts.com">Laracasts</a>
  76. <a href="https://laravel-news.com">News</a>
  77. <a href="https://nova.laravel.com">Nova</a>
  78. <a href="https://forge.laravel.com">Forge</a>
  79. <a href="https://github.com/laravel/laravel">GitHub</a>
  80. </div>
  81. </div>
  82. </div>
  83. </body>
  84. </html>