You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

89 lines
1.5 KiB

8 years ago
  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. <!-- Styles -->
  9. <style>
  10. html, body {
  11. background-color: #fff;
  12. color: #636b6f;
  13. font-family: 'Raleway', sans-serif;
  14. font-weight: 100;
  15. height: 100vh;
  16. margin: 0;
  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: 10px;
  32. top: 18px;
  33. }
  34. .content {
  35. text-align: center;
  36. }
  37. .title {
  38. font-size: 84px;
  39. }
  40. .links > a {
  41. color: #636b6f;
  42. padding: 0 25px;
  43. font-size: 12px;
  44. font-weight: 600;
  45. letter-spacing: .1rem;
  46. text-decoration: none;
  47. text-transform: uppercase;
  48. }
  49. .m-b-md {
  50. margin-bottom: 30px;
  51. }
  52. </style>
  53. </head><body>
  54. <div class="flex-center position-ref full-height">
  55. @if (Route::has('login'))
  56. <div class="top-right links">
  57. @if (Auth::check())
  58. <a href="{{ url('/home') }}">Home</a>
  59. @else
  60. <a href="{{ url('/login') }}">Login</a>
  61. <a href="{{ url('/register') }}">Register</a>
  62. @endif
  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://laracasts.com">Laracasts</a>
  72. <a href="https://laravel-news.com">News</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>