Files
core/resources/views/visitor/layout.blade.php
T
Michal Kváček 31c1648597 FEATURE #1530: make urls without /public
This change consist in renaming server.php to index.php, tweaking /.htaccess and replacing all asset('../resources....') with asset('resource/...') path. Everything should work fine now.
2016-04-02 16:56:53 +02:00

56 lines
1.4 KiB
PHP

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
@yield('head_meta')
<title>@yield('pageName', @trans('visitor/common.welcome')) | {{$pageName}}</title>
<link rel="stylesheet" href="{{asset('/resources/assets/css/foundation.min.css')}}" />
<link rel="stylesheet" href="{{asset('/resources/assets/css/font-awesome.min.css')}}" />
<link rel="stylesheet" href="{{asset('/resources/assets/css/admin.css')}}" />
@yield('head_stylesheets')
<link href="https://fonts.googleapis.com/css?family=Lato:100" rel="stylesheet" type="text/css">
<style>
html, body {
height: 100%;
}
body {
margin: 0;
padding: 0;
width: 100%;
color: #B0BEC5;
display: table;
font-weight: 100;
font-family: 'Lato';
}
.container {
text-align: center;
display: table-cell;
vertical-align: middle;
}
.content {
text-align: center;
display: inline-block;
}
.title {
font-size: 72px;
margin-bottom: 40px;
}
</style>
</head>
<body>
<div class="container">
<div class="content">
@yield('content')
</div>
</div>
</body>
</html>