welcome.blade.php 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. }
  20. .full-height {
  21. height: 100vh;
  22. }
  23. .flex-center {
  24. align-items: center;
  25. display: flex;
  26. justify-content: center;
  27. }
  28. .position-ref {
  29. position: relative;
  30. }
  31. .top-right {
  32. position: absolute;
  33. right: 10px;
  34. top: 18px;
  35. }
  36. .content {
  37. text-align: center;
  38. }
  39. .title {
  40. font-size: 84px;
  41. }
  42. .links > a {
  43. color: #636b6f;
  44. padding: 0 25px;
  45. font-size: 12px;
  46. font-weight: 600;
  47. letter-spacing: .1rem;
  48. text-decoration: none;
  49. text-transform: uppercase;
  50. }
  51. .m-b-md {
  52. margin-bottom: 30px;
  53. }
  54. </style>
  55. </head>
  56. <body>
  57. <div class="flex-center position-ref full-height">
  58. @if (Route::has('login'))
  59. <div class="top-right links">
  60. <a href="{{ url('/login') }}">Login</a>
  61. <a href="{{ url('/register') }}">Register</a>
  62. </div>
  63. @endif
  64. <div class="content">
  65. <div class="title m-b-md">
  66. Laravel
  67. </div>
  68. <div class="links">
  69. <a href="https://laravel.com/docs">Documentation</a>
  70. <a href="https://laravel-news.com">News</a>
  71. <a href="https://laracasts.com">Laracasts</a>
  72. <a href="https://forge.laravel.com">Forge</a>
  73. <a href="https://github.com/laravel/laravel">GitHub</a>
  74. </div>
  75. </div>
  76. </div>
  77. </body>
  78. </html>