暫無描述

welcome.blade.php 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <!DOCTYPE html>
  2. <html lang="{{ config('app.locale') }}">
  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,600" rel="stylesheet" type="text/css">
  10. <!-- Styles -->
  11. <style>
  12. html, body {
  13. background-color: #fff;
  14. color: #636b6f;
  15. font-family: 'Raleway', sans-serif;
  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. @if (Auth::check())
  61. <a href="{{ url('/home') }}">Home</a>
  62. @else
  63. <a href="{{ url('/login') }}">Login</a>
  64. <a href="{{ url('/register') }}">Register</a>
  65. @endif
  66. </div>
  67. @endif
  68. <div class="content">
  69. <div class="title m-b-md">
  70. Laravel
  71. </div>
  72. <div class="links">
  73. <a href="https://laravel.com/docs">Documentation</a>
  74. <a href="https://laracasts.com">Laracasts</a>
  75. <a href="https://laravel-news.com">News</a>
  76. <a href="https://forge.laravel.com">Forge</a>
  77. <a href="https://github.com/laravel/laravel">GitHub</a>
  78. </div>
  79. </div>
  80. </div>
  81. </body>
  82. </html>