fipamo/content/themes/fipamo-default-v2/base.blade.php
ro a92e124957
default theme clean up
the default theme included with fipamo was a bit janky, so that's been
cleaned to bring it more inline with current accessiblility standards,
an updated mobile friendly menu, updated the logo and plugged in the
fresh colors.

the layout is still a bit boring but the main purpose of the default is
to show how templating works, so it needs to be kept as simple as
possible

but it still has some room for making it pop a bit more.
2024-04-23 13:41:41 -06:00

60 lines
1.9 KiB
PHP

<!DOCTYPE html>
@php
if(isset($debug))
{
if($debug)
{
$assetPath = '/theme/';
}else{
$assetPath = '/assets/';
}
}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"]}}"/>
<link rel="shortcut icon" href="/favicon.png" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="{{ $assetPath."css/theme/start.css" }}">
</head>
<body>
<div id="menu">
@include('fipamo-default-v2.includes.menu')
</div>
<header>
@include('fipamo-default-v2.includes.nav')
</header>
@include('fipamo-default-v2.includes.slides')
<main>
@section('main-content')
@show
</main>
<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>