new welcome page
This commit is contained in:
parent
e5cb0a350a
commit
6f2541f14f
|
@ -1,44 +1,111 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
<title>Laravel</title>
|
<title>Laravel</title>
|
||||||
|
|
||||||
<link href="https://fonts.googleapis.com/css?family=Lato:100" rel="stylesheet" type="text/css">
|
<!-- Fonts -->
|
||||||
|
<link href='https://fonts.googleapis.com/css?family=Raleway:100,400,300,600' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
|
<!-- Styles -->
|
||||||
<style>
|
<style>
|
||||||
html, body {
|
html, body {
|
||||||
height: 100%;
|
font-family: 'Raleway';
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
width: 100%;
|
|
||||||
display: table;
|
|
||||||
font-weight: 100;
|
font-weight: 100;
|
||||||
font-family: 'Lato', sans-serif;
|
margin: 0;
|
||||||
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.full-height {
|
||||||
text-align: center;
|
height: 100vh;
|
||||||
display: table-cell;
|
}
|
||||||
vertical-align: middle;
|
|
||||||
|
.flex-center {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.position-ref {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.top-right {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
text-align: center;
|
text-align:center;
|
||||||
display: inline-block;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-size: 96px;
|
font-size: 84px;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
color: #555;
|
||||||
|
background-color: transparent;
|
||||||
|
border: 1px solid #bbb;
|
||||||
|
border-radius: 4px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
cursor: pointer;
|
||||||
|
display: inline-block;
|
||||||
|
font-family: 'Raleway';
|
||||||
|
font-size: 11px;
|
||||||
|
font-weight: 600;
|
||||||
|
height: 38px;
|
||||||
|
letter-spacing: .1rem;
|
||||||
|
line-height: 38px;
|
||||||
|
padding: 0 20px;
|
||||||
|
text-align: center;
|
||||||
|
text-transform: uppercase;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.button-primary {
|
||||||
|
color: #FFF;
|
||||||
|
background-color: #3097D1;
|
||||||
|
border: 1px solid #3097D1;
|
||||||
|
}
|
||||||
|
|
||||||
|
button.borderless {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.m-r-md {
|
||||||
|
margin-right: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.m-b-md {
|
||||||
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="flex-center position-ref full-height">
|
||||||
|
@if (Route::has('login'))
|
||||||
|
<div class="buttons top-right">
|
||||||
|
<a href="/login"><button class="m-r-md">Login</button></a>
|
||||||
|
<a href="/register"><button class="button-primary">Register</button></a>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="title">Laravel 5</div>
|
<div class="title m-b-md">
|
||||||
|
Laravel
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<a href="https://laravel.com/docs"><button class="borderless">Documentation</button></a>
|
||||||
|
<a href="https://laracasts.com"><button class="borderless">Laracasts</button></a>
|
||||||
|
<a href="https://github.com/laravel/laravel"><button class="borderless">GitHub</button></a>
|
||||||
|
<a href="https://twitter.com/laravelphp"><button class="borderless">Twitter</button></a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue