2024-03-14 23:58:11 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
@php
|
|
|
|
if(isset($debug))
|
|
|
|
{
|
|
|
|
$assetPath = '/theme/';
|
|
|
|
}else{
|
|
|
|
$assetPath = '/assets/';
|
|
|
|
}
|
|
|
|
@endphp
|
|
|
|
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>
|
|
|
|
@yield('title')
|
|
|
|
</title>
|
|
|
|
<meta charset="UTF-8"/>
|
|
|
|
<meta name='viewport' content='width=device-width, initial-scale=1.0'/>
|
|
|
|
<meta name="keywords" content="{{ $info['keywords'] }}"/>
|
|
|
|
<meta name="description" content="{{$info['description']}} "/>
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
|
|
|
|
<meta property="og:image" content="{{$info["image"]}}"/>
|
|
|
|
<meta name="twitter:image" content="{{$info["image"]}}"/>
|
2024-03-16 19:36:51 +01:00
|
|
|
<link rel="shortcut icon" href="/favicon.png" type="image/x-icon">
|
2024-03-14 23:58:11 +01:00
|
|
|
<link rel="stylesheet" type="text/css" href="{{ $assetPath."css/theme/start.css" }}">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header>
|
|
|
|
<div role="slide-show">
|
2024-03-15 21:28:26 +01:00
|
|
|
@if(count($media)>1)
|
|
|
|
@foreach($media as $item)
|
2024-03-14 23:58:11 +01:00
|
|
|
@if($item['type'] == "mp4")
|
|
|
|
<div id="{{$loop->index}}" role="slide">
|
|
|
|
<video controls autoplay muted>
|
|
|
|
|
|
|
|
<source src="{{$item['file']}}" type="video/mp4">
|
|
|
|
|
|
|
|
Please get a better browser. They're free.
|
|
|
|
</video>
|
|
|
|
</div>
|
|
|
|
@else
|
|
|
|
<div id="{{$loop->index}}"role='slide' class="slide hide" style="background: url({{ $item['file'] }}) no-repeat center center / cover"></div>
|
|
|
|
@endif
|
|
|
|
@endforeach
|
|
|
|
@else
|
2024-03-15 03:03:46 +01:00
|
|
|
@if($media != '')
|
|
|
|
@if($media[0]['type'] == "mp4")
|
2024-03-14 23:58:11 +01:00
|
|
|
<div id="0" role="slide">
|
|
|
|
<video controls autoplay muted>
|
2024-03-15 03:03:46 +01:00
|
|
|
<source src="{{$media[0]['file']}}" type="video/mp4">
|
2024-03-14 23:58:11 +01:00
|
|
|
Please get a better browser. They're free.
|
|
|
|
</video>
|
|
|
|
</div>
|
|
|
|
@else
|
2024-03-15 03:03:46 +01:00
|
|
|
<div id="0" role="slide" style="background: url({{ $media[0]['file'] }}) no-repeat center center / cover"></div>
|
2024-03-14 23:58:11 +01:00
|
|
|
@endif
|
|
|
|
@endif
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
<nav>
|
|
|
|
<div class="left">
|
|
|
|
<a href="/" class="logo-link">
|
|
|
|
<img id="logo" src="{{ $assetPath."/images/global/the-logo.svg" }}"/>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="right">
|
|
|
|
@if(isset($menu))
|
2024-03-15 03:03:46 +01:00
|
|
|
@foreach($menu as $link)
|
2024-03-14 23:58:11 +01:00
|
|
|
@if(isset($dynamicRender))
|
|
|
|
@if($dynamicRender == 'true')
|
2024-03-15 03:03:46 +01:00
|
|
|
<a href="{{"/".$link['slug']}}" class="menu-link">{{$link['title']}}</a><br/>
|
2024-03-14 23:58:11 +01:00
|
|
|
@else
|
2024-03-15 03:03:46 +01:00
|
|
|
<a href="{{"/".$link['slug'].".html"}}" class="menu-link">{{$link['title']}}</a><br/>
|
2024-03-14 23:58:11 +01:00
|
|
|
@endif
|
|
|
|
@else
|
2024-03-15 03:03:46 +01:00
|
|
|
<a href="{{"/".$link['slug'].".html"}}" class="menu-link">{{$link['title']}}</a><br/>
|
2024-03-14 23:58:11 +01:00
|
|
|
@endif
|
|
|
|
@endforeach
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
<div id="main-content" class="container">
|
2024-03-15 03:03:46 +01:00
|
|
|
@spaceless
|
|
|
|
@section('main-content')
|
|
|
|
@show
|
|
|
|
@endspaceless
|
2024-03-14 23:58:11 +01:00
|
|
|
</div>
|
|
|
|
<footer>
|
|
|
|
<div class="inner">
|
|
|
|
@if(isset($dynamicRender))
|
|
|
|
@if($dynamicRender == 'true')
|
|
|
|
<a href="/archives">Archives</a><br/>
|
|
|
|
@else
|
|
|
|
<a href="/archives.html">Archives</a><br/>
|
|
|
|
@endif
|
|
|
|
@else
|
|
|
|
<a href="/archives.html">Archives</a><br/>
|
|
|
|
@endif
|
|
|
|
© 2020 By Fipamo
|
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
<script src="{{ $assetPath."scripts/theme/ThemeStart.js" }}" type="module"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|