welcome.blade.php 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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. font-family: 'Raleway';
  14. font-weight: 100;
  15. margin: 0;
  16. padding: 10px;
  17. }
  18. .full-height {
  19. height: 100vh;
  20. }
  21. .flex-center {
  22. align-items: center;
  23. display: flex;
  24. justify-content: center;
  25. }
  26. .position-ref {
  27. position: relative;
  28. }
  29. .top-right {
  30. position: absolute;
  31. right: 0;
  32. top: 0;
  33. }
  34. .content {
  35. text-align:center;
  36. }
  37. .title {
  38. font-size: 84px;
  39. }
  40. button {
  41. color: #555;
  42. background-color: transparent;
  43. border: 1px solid #bbb;
  44. border-radius: 4px;
  45. box-sizing: border-box;
  46. cursor: pointer;
  47. display: inline-block;
  48. font-family: 'Raleway';
  49. font-size: 11px;
  50. font-weight: 600;
  51. height: 38px;
  52. letter-spacing: .1rem;
  53. line-height: 38px;
  54. padding: 0 20px;
  55. text-align: center;
  56. text-transform: uppercase;
  57. white-space: nowrap;
  58. }
  59. button.button-primary {
  60. color: #FFF;
  61. background-color: #3097D1;
  62. border: 1px solid #3097D1;
  63. }
  64. button.borderless {
  65. border: 0;
  66. }
  67. .m-r-md {
  68. margin-right: 20px;
  69. }
  70. .m-b-md {
  71. margin-bottom: 20px;
  72. }
  73. </style>
  74. </head>
  75. <body>
  76. <div class="flex-center position-ref full-height">
  77. @if (Route::has('login'))
  78. <div class="buttons top-right">
  79. <a href="/login"><button class="m-r-md">Login</button></a>
  80. <a href="/register"><button class="button-primary">Register</button></a>
  81. </div>
  82. @endif
  83. <div class="content">
  84. <div class="title m-b-md">
  85. Laravel
  86. </div>
  87. <div>
  88. <a href="https://laravel.com/docs"><button class="borderless">Documentation</button></a>
  89. <a href="https://laracasts.com"><button class="borderless">Laracasts</button></a>
  90. <a href="https://github.com/laravel/laravel"><button class="borderless">GitHub</button></a>
  91. <a href="https://twitter.com/laravelphp"><button class="borderless">Twitter</button></a>
  92. </div>
  93. </div>
  94. </div>
  95. </body>
  96. </html>