FEATURE: add error pages
This commit is contained in:
@@ -1 +1,8 @@
|
|||||||
tu nic neni
|
@extendVisitor('errors.layout')
|
||||||
|
|
||||||
|
@section('pageTitle', 'Stránka nenalezena')
|
||||||
|
@section('content')
|
||||||
|
Nějakým způsobem se stalo, že tato stránka neexistuje. Zkuste se podívat na <a href="{{route("page.index")}}">hlavní
|
||||||
|
stránku</a>, případně nás
|
||||||
|
<a href="{{route("page.content", ['url' => 'kontakt'])}}">kontaktujte</a> a dejte nám vědět, co je špatně.
|
||||||
|
@endsection
|
||||||
@@ -1 +1,6 @@
|
|||||||
stranky jsou dole
|
@extendVisitor('errors.layout')
|
||||||
|
|
||||||
|
@section('pageTitle', 'Probíhá údržba stránek')
|
||||||
|
@section('content')
|
||||||
|
Právě na stránkách provádíme úpravy, vše bude v pořádku za několik málo okamžiků.
|
||||||
|
@endsection
|
||||||
@@ -1 +1,6 @@
|
|||||||
homepage neni...
|
@extendVisitor('errors.layout')
|
||||||
|
|
||||||
|
@section('pageTitle', 'Domovská stránka neexistuje')
|
||||||
|
@section('content')
|
||||||
|
V systému nikdo zatím nenastavil domovskou stránku, proto vidíte tuto obrazovku. Určitě se jedná o nějakou drobnou chybu, která bude velmi brzo opravena.
|
||||||
|
@endsection
|
||||||
@@ -0,0 +1,100 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html class="no-js" lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
|
||||||
|
<link href='https://fonts.googleapis.com/css?family=Hind+Siliguri:400,500,700,300&subset=latin,latin-ext'
|
||||||
|
rel='stylesheet' type='text/css'>
|
||||||
|
<link rel="stylesheet" href="{{asset_path('visitor/css/app.css')}}">
|
||||||
|
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<title>@yield('pageTitle') | {{setting('pageName')}}</title>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-size: 150%;
|
||||||
|
line-height: 150%;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 4em;
|
||||||
|
font-weight: 100;
|
||||||
|
padding-top: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
header {
|
||||||
|
background: #8aa800;
|
||||||
|
padding: 30px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
padding: 5px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer a {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body class="text-center">
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<a href="{{route('page.index')}}">
|
||||||
|
<img src="{{asset_path('visitor/images/menu_logo.png')}}" class="binarity-logo-menu" alt="binarity s.r.o.">
|
||||||
|
</a>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<h1>@yield('pageTitle')</h1>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
@yield('content')
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
@if (!empty(setting('facebookProfile')))
|
||||||
|
|
||||||
|
<a href="{{setting('facebookProfile')}}" target="_blank">
|
||||||
|
<i class="fa fa-fw fa-facebook-official fb-color"></i>
|
||||||
|
</a>
|
||||||
|
@endif
|
||||||
|
|
||||||
|
@if (!empty(setting('linkedInProfile')))
|
||||||
|
<a href="{{setting('linkedInProfile')}}" target="_blank">
|
||||||
|
<i class="fa fa-fw fa-linkedin in-color"></i>
|
||||||
|
</a>
|
||||||
|
@endif
|
||||||
|
|
||||||
|
@if(!empty(setting('gplusProfile')))
|
||||||
|
<a href="{{setting('gplusProfile')}}" target="_blank">
|
||||||
|
<i class="fa fa-fw fa-google-plus gp-color"></i>
|
||||||
|
</a>
|
||||||
|
@endif
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
{{--<ul class="social-icons menu">--}}
|
||||||
|
{{--<a href="{{setting('facebookProfile')}}" target="_blank">--}}
|
||||||
|
{{--<i class="fa fa-fw fa-2x fa-facebook-official fb-color"></i>--}}
|
||||||
|
{{--</a>--}}
|
||||||
|
|
||||||
|
{{--<li>--}}
|
||||||
|
{{--<a href="{{setting('linkedInProfile')}}" target="_blank">--}}
|
||||||
|
{{--<i class="fa fa-fw fa-2x fa-linkedin in-color"></i>--}}
|
||||||
|
{{--</a>--}}
|
||||||
|
{{--</li>--}}
|
||||||
|
|
||||||
|
{{--<li>--}}
|
||||||
|
{{--<a href="{{setting('gplusProfile')}}" target="_blank">--}}
|
||||||
|
{{--<i class="fa fa-fw fa-2x fa-google-plus gp-color"></i>--}}
|
||||||
|
{{--</a>--}}
|
||||||
|
{{--</li>--}}
|
||||||
|
{{--</ul>--}}
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user