217 lines
6.3 KiB
PHP
217 lines
6.3 KiB
PHP
|
<!doctype html>
|
||
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
|
||
|
<title>{{ config('app.name', 'Laravel') }}</title>
|
||
|
|
||
|
<!-- Fonts -->
|
||
|
<link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="stylesheet">
|
||
|
|
||
|
<!-- Styles -->
|
||
|
<style>
|
||
|
html, body {
|
||
|
background-color: #fff;
|
||
|
color: #636b6f;
|
||
|
font-family: 'Nunito', sans-serif;
|
||
|
font-weight: 200;
|
||
|
height: 100vh;
|
||
|
margin: 0;
|
||
|
background: rgb(9,9,121);
|
||
|
background: linear-gradient(90deg, rgba(9,9,121,1) 100%, rgba(0,212,255,1) 100%);
|
||
|
}
|
||
|
|
||
|
.full-height {
|
||
|
height: 100vh;
|
||
|
}
|
||
|
|
||
|
.flex-center {
|
||
|
align-items: center;
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
|
||
|
.position-ref {
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.top-right {
|
||
|
position: absolute;
|
||
|
right: 10px;
|
||
|
top: 18px;
|
||
|
}
|
||
|
|
||
|
.content {
|
||
|
text-align: center;
|
||
|
position: absolute;
|
||
|
}
|
||
|
|
||
|
.title {
|
||
|
font-size: 84px;
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
color: #636b6f;
|
||
|
padding: 0 25px;
|
||
|
font-size: 13px;
|
||
|
font-weight: 600;
|
||
|
letter-spacing: .1rem;
|
||
|
text-decoration: none;
|
||
|
text-transform: uppercase;
|
||
|
}
|
||
|
|
||
|
.m-b-md {
|
||
|
margin-bottom: 30px;
|
||
|
}
|
||
|
|
||
|
.links{
|
||
|
color: white;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="flex-center position-ref full-height" id="particles_js">
|
||
|
@if (Route::has('login'))
|
||
|
<div class="top-right links">
|
||
|
@auth
|
||
|
<a class="links" href="{{ url('/home') }}">Home</a>
|
||
|
@else
|
||
|
<a class="links" href="{{ route('login') }}">Login</a>
|
||
|
|
||
|
@if (Route::has('register'))
|
||
|
<a class="links" href="{{ route('register') }}">Register</a>
|
||
|
@endif
|
||
|
@endauth
|
||
|
</div>
|
||
|
@endif
|
||
|
|
||
|
<div class="content">
|
||
|
<div class="links">
|
||
|
<h1>{{ config('app.name', 'Laravel') }}</h1>
|
||
|
<h4>{{ config('app.title', 'Laravel') }}</h4>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/particles.js@2.0.0/particles.min.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
particlesJS('particles_js', {
|
||
|
"particles": {
|
||
|
"number": {
|
||
|
"value": 80,
|
||
|
"density": {
|
||
|
"enable": true,
|
||
|
"value_area": 800
|
||
|
}
|
||
|
},
|
||
|
"color": {
|
||
|
"value": "#ffffff"
|
||
|
},
|
||
|
"shape": {
|
||
|
"type": "circle",
|
||
|
"stroke": {
|
||
|
"width": 0,
|
||
|
"color": "#000000"
|
||
|
},
|
||
|
"polygon": {
|
||
|
"nb_sides": 5
|
||
|
},
|
||
|
"image": {
|
||
|
"src": "img/github.svg",
|
||
|
"width": 100,
|
||
|
"height": 100
|
||
|
}
|
||
|
},
|
||
|
"opacity": {
|
||
|
"value": 0.5,
|
||
|
"random": false,
|
||
|
"anim": {
|
||
|
"enable": false,
|
||
|
"speed": 1,
|
||
|
"opacity_min": 0.1,
|
||
|
"sync": false
|
||
|
}
|
||
|
},
|
||
|
"size": {
|
||
|
"value": 5,
|
||
|
"random": true,
|
||
|
"anim": {
|
||
|
"enable": false,
|
||
|
"speed": 40,
|
||
|
"size_min": 0.1,
|
||
|
"sync": false
|
||
|
}
|
||
|
},
|
||
|
"line_linked": {
|
||
|
"enable": true,
|
||
|
"distance": 150,
|
||
|
"color": "#ffffff",
|
||
|
"opacity": 0.4,
|
||
|
"width": 1
|
||
|
},
|
||
|
"move": {
|
||
|
"enable": true,
|
||
|
"speed": 6,
|
||
|
"direction": "none",
|
||
|
"random": false,
|
||
|
"straight": false,
|
||
|
"out_mode": "out",
|
||
|
"attract": {
|
||
|
"enable": false,
|
||
|
"rotateX": 600,
|
||
|
"rotateY": 1200
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"interactivity": {
|
||
|
"detect_on": "canvas",
|
||
|
"events": {
|
||
|
"onhover": {
|
||
|
"enable": true,
|
||
|
"mode": "repulse"
|
||
|
},
|
||
|
"onclick": {
|
||
|
"enable": true,
|
||
|
"mode": "push"
|
||
|
},
|
||
|
"resize": true
|
||
|
},
|
||
|
"modes": {
|
||
|
"grab": {
|
||
|
"distance": 400,
|
||
|
"line_linked": {
|
||
|
"opacity": 1
|
||
|
}
|
||
|
},
|
||
|
"bubble": {
|
||
|
"distance": 400,
|
||
|
"size": 40,
|
||
|
"duration": 2,
|
||
|
"opacity": 8,
|
||
|
"speed": 3
|
||
|
},
|
||
|
"repulse": {
|
||
|
"distance": 200
|
||
|
},
|
||
|
"push": {
|
||
|
"particles_nb": 4
|
||
|
},
|
||
|
"remove": {
|
||
|
"particles_nb": 2
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"retina_detect": true,
|
||
|
"config_demo": {
|
||
|
"hide_card": false,
|
||
|
"background_color": "#b61924",
|
||
|
"background_image": "",
|
||
|
"background_position": "50% 50%",
|
||
|
"background_repeat": "no-repeat",
|
||
|
"background_size": "cover"
|
||
|
}
|
||
|
});
|
||
|
</script>
|
||
|
</html>
|