welcome.blade.php 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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://blog.laravel.com">Blog</a>
  75. <a href="https://laravel.com/docs">Documentation</a>
  76. <a href="https://laracasts.com">Laracasts</a>
  77. <a href="https://laravel-news.com">News</a>
  78. <a href="https://nova.laravel.com">Nova</a>
  79. <a href="https://forge.laravel.com">Forge</a>
  80. <a href="https://github.com/laravel/laravel">GitHub</a>
  81. </div>
  82. </div>
  83. </div>
  84. </body>
  85. </html>