|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> |
| 3 | + <head> |
| 4 | + <meta charset="utf-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 6 | + |
| 7 | + <title>Dojo Laravel</title> |
| 8 | + |
| 9 | + <!-- Fonts --> |
| 10 | + <link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="stylesheet"> |
| 11 | + |
| 12 | + <!-- Styles --> |
| 13 | + <style> |
| 14 | + html, body { |
| 15 | + background-color: #fff; |
| 16 | + color: #636b6f; |
| 17 | + font-family: 'Nunito', sans-serif; |
| 18 | + font-weight: 200; |
| 19 | + height: 100vh; |
| 20 | + margin: 0; |
| 21 | + } |
| 22 | +
|
| 23 | + .full-height { |
| 24 | + height: 100vh; |
| 25 | + } |
| 26 | +
|
| 27 | + .flex-center { |
| 28 | + align-items: center; |
| 29 | + display: flex; |
| 30 | + justify-content: center; |
| 31 | + } |
| 32 | +
|
| 33 | + .position-ref { |
| 34 | + position: relative; |
| 35 | + } |
| 36 | +
|
| 37 | + .top-right { |
| 38 | + position: absolute; |
| 39 | + right: 10px; |
| 40 | + top: 18px; |
| 41 | + } |
| 42 | +
|
| 43 | + .content { |
| 44 | + text-align: center; |
| 45 | + } |
| 46 | +
|
| 47 | + .title { |
| 48 | + font-size: 84px; |
| 49 | + } |
| 50 | +
|
| 51 | + .links > a { |
| 52 | + color: #636b6f; |
| 53 | + padding: 0 25px; |
| 54 | + font-size: 13px; |
| 55 | + font-weight: 600; |
| 56 | + letter-spacing: .1rem; |
| 57 | + text-decoration: none; |
| 58 | + text-transform: uppercase; |
| 59 | + } |
| 60 | +
|
| 61 | + .m-b-md { |
| 62 | + margin-bottom: 30px; |
| 63 | + } |
| 64 | + </style> |
| 65 | + </head> |
| 66 | + <body> |
| 67 | + <div class="flex-center position-ref full-height"> |
| 68 | + @if (Route::has('login')) |
| 69 | + <div class="top-right links"> |
| 70 | + @auth |
| 71 | + <a href="{{ url('/home') }}">Home</a> |
| 72 | + @else |
| 73 | + <a href="{{ route('login') }}">Login</a> |
| 74 | + |
| 75 | + @if (Route::has('register')) |
| 76 | + <a href="{{ route('register') }}">Register</a> |
| 77 | + @endif |
| 78 | + @endauth |
| 79 | + </div> |
| 80 | + @endif |
| 81 | + |
| 82 | + <div class="content"> |
| 83 | + <div class="title m-b-md"> |
| 84 | + Laravel |
| 85 | + </div> |
| 86 | + |
| 87 | + <div class="links"> |
| 88 | + <a href="https://laravel.com/docs">Docs</a> |
| 89 | + <a href="https://laracasts.com">Laracasts</a> |
| 90 | + <a href="https://laravel-news.com">News</a> |
| 91 | + <a href="https://blog.laravel.com">Blog</a> |
| 92 | + <a href="https://nova.laravel.com">Nova</a> |
| 93 | + <a href="https://forge.laravel.com">Forge</a> |
| 94 | + <a href="https://vapor.laravel.com">Vapor</a> |
| 95 | + <a href="https://github.com/laravel/laravel">GitHub</a> |
| 96 | + </div> |
| 97 | + </div> |
| 98 | + </div> |
| 99 | + </body> |
| 100 | +</html> |
0 commit comments