MAPG-89 rewrite views and view templates to the new concept

This commit is contained in:
bence committed 2020-06-27 00:47:14 +02:00
1 parent bf8e5b5f4d
commit 1287fa0bc9
18 files changed
+165 -130

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
@extends('templates/mapguesser')
@section('content')
<header class="small">
<h1>
<a href="/" title="<?= $_ENV['APP_NAME'] ?>">
<img class="inline" width="1em" height="1em" src="<?= $_ENV['STATIC_ROOT'] ?>/img/icon.svg?rev=<?= REVISION ?>"><!--
--><span><?= $_ENV['APP_NAME'] ?></span>
</a>
</h1>
<p class="header">
@yields('subheader')
</p>
</header>
<main class="full">
@yields('main')
</main>
@endsection