Files
spa-api/resources/views/welcome.blade.php

100 lines
2.8 KiB
PHP
Raw Normal View History

<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
2015-02-22 20:47:03 -06:00
<head>
2016-07-23 18:19:10 -05:00
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
2015-02-22 20:47:03 -06:00
<title>Laravel</title>
2014-12-08 09:31:31 -06:00
2016-07-23 18:19:10 -05:00
<!-- Fonts -->
2019-02-04 22:45:28 +01:00
<link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="stylesheet">
2014-12-08 09:31:31 -06:00
2016-07-23 18:19:10 -05:00
<!-- Styles -->
2015-02-22 20:47:03 -06:00
<style>
2015-06-11 13:18:02 +02:00
html, body {
2016-07-23 21:17:56 -05:00
background-color: #fff;
color: #636b6f;
font-family: 'Nunito', sans-serif;
font-weight: 200;
2016-07-23 21:17:56 -05:00
height: 100vh;
2016-07-23 18:19:10 -05:00
margin: 0;
2015-06-11 13:18:02 +02:00
}
2016-07-23 18:19:10 -05:00
.full-height {
height: 100vh;
2015-02-22 20:47:03 -06:00
}
2014-12-08 09:31:31 -06:00
2016-07-23 18:19:10 -05:00
.flex-center {
align-items: center;
display: flex;
justify-content: center;
}
.position-ref {
position: relative;
}
.top-right {
position: absolute;
right: 10px;
2016-08-05 09:43:15 -05:00
top: 18px;
2015-02-22 20:47:03 -06:00
}
2014-12-08 09:31:31 -06:00
2015-02-22 20:47:03 -06:00
.content {
2016-07-23 21:17:56 -05:00
text-align: center;
2015-02-22 20:47:03 -06:00
}
2014-12-08 09:31:31 -06:00
2015-02-22 20:47:03 -06:00
.title {
2016-07-23 18:19:10 -05:00
font-size: 84px;
}
2016-07-23 21:17:56 -05:00
.links > a {
color: #636b6f;
padding: 0 25px;
font-size: 13px;
2016-07-23 18:19:10 -05:00
font-weight: 600;
letter-spacing: .1rem;
2016-07-23 21:17:56 -05:00
text-decoration: none;
2016-07-23 18:19:10 -05:00
text-transform: uppercase;
}
.m-b-md {
margin-bottom: 30px;
}
2015-02-22 20:47:03 -06:00
</style>
</head>
<body>
2016-07-23 18:19:10 -05:00
<div class="flex-center position-ref full-height">
@if (Route::has('login'))
2016-07-23 21:17:56 -05:00
<div class="top-right links">
2017-07-25 20:26:13 +02:00
@auth
2016-10-14 17:27:22 -04:00
<a href="{{ url('/home') }}">Home</a>
@else
<a href="{{ route('login') }}">Login</a>
2018-09-28 09:04:03 -05:00
2018-09-29 22:09:02 -04:00
@if (Route::has('register'))
2018-09-28 10:36:34 +08:00
<a href="{{ route('register') }}">Register</a>
@endif
2017-07-25 20:26:13 +02:00
@endauth
2016-07-23 18:19:10 -05:00
</div>
@endif
2015-02-22 20:47:03 -06:00
<div class="content">
<div class="title m-b-md">
2016-07-23 18:19:10 -05:00
Laravel
</div>
2016-07-23 21:17:56 -05:00
<div class="links">
2019-01-11 08:48:42 -06:00
<a href="https://laravel.com/docs">Docs</a>
2016-07-23 21:17:56 -05:00
<a href="https://laracasts.com">Laracasts</a>
2016-08-11 21:31:42 -05:00
<a href="https://laravel-news.com">News</a>
2019-01-11 08:48:42 -06:00
<a href="https://blog.laravel.com">Blog</a>
2018-08-22 14:12:42 -05:00
<a href="https://nova.laravel.com">Nova</a>
2016-07-24 09:20:40 -05:00
<a href="https://forge.laravel.com">Forge</a>
2016-07-23 21:17:56 -05:00
<a href="https://github.com/laravel/laravel">GitHub</a>
2016-07-23 18:19:10 -05:00
</div>
2015-02-22 20:47:03 -06:00
</div>
</div>
</body>
2014-12-08 09:31:31 -06:00
</html>