welcome.blade.php 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <title>Laravel</title>
  8. <!-- Fonts -->
  9. <link href='https://fonts.googleapis.com/css?family=Raleway:100,400,300,600' rel='stylesheet' type='text/css'>
  10. <!-- Styles -->
  11. <style>
  12. html, body {
  13. background-color: #fff;
  14. color: #636b6f;
  15. font-family: 'Raleway';
  16. font-weight: 100;
  17. height: 100vh;
  18. margin: 0;
  19. padding: 10px;
  20. }
  21. .full-height {
  22. height: 100vh;
  23. }
  24. .flex-center {
  25. align-items: center;
  26. display: flex;
  27. justify-content: center;
  28. }
  29. .position-ref {
  30. position: relative;
  31. }
  32. .top-right {
  33. position: absolute;
  34. right: 0;
  35. top: 0;
  36. }
  37. .content {
  38. text-align: center;
  39. }
  40. .title {
  41. font-size: 84px;
  42. }
  43. .links > a {
  44. color: #636b6f;
  45. padding: 0 25px;
  46. font-size: 12px;
  47. font-weight: 600;
  48. letter-spacing: .1rem;
  49. text-decoration: none;
  50. text-transform: uppercase;
  51. }
  52. .m-b-md {
  53. margin-bottom: 30px;
  54. }
  55. </style>
  56. </head>
  57. <body>
  58. <div class="flex-center position-ref full-height">
  59. @if (Route::has('login'))
  60. <div class="top-right links">
  61. <a href="{{ url('/login') }}">Login</a>
  62. <a href="{{ url('/register') }}">Register</a>
  63. </div>
  64. @endif
  65. <div class="content">
  66. <div class="title m-b-md">
  67. Laravel
  68. </div>
  69. <div class="links">
  70. <a href="https://laravel.com/docs">Documentation</a>
  71. <a href="https://laravel-news.com">News</a>
  72. <a href="https://laracasts.com">Laracasts</a>
  73. <a href="https://forge.laravel.com">Forge</a>
  74. <a href="https://github.com/laravel/laravel">GitHub</a>
  75. </div>
  76. </div>
  77. </div>
  78. </body>
  79. </html>