Fixed errors loading fonts and images
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
<?php
|
||||||
|
/** @var vendor\getkirby\cms\src\Cms\App $kirby */
|
||||||
|
/** @var vendor\getkirby\cms\src\Cms\Page\Cms\Site $site */
|
||||||
|
/** @var vendor\getkirby\cms\src\Cms\Page $page */
|
||||||
|
?>
|
||||||
<section class="relative w-full">
|
<section class="relative w-full">
|
||||||
<!-- Hintergrundbild mit zweischichtigem Overlay -->
|
<!-- Hintergrundbild mit zweischichtigem Overlay -->
|
||||||
<div class="absolute inset-0 z-0">
|
<div class="absolute inset-0 z-0">
|
||||||
@@ -23,7 +28,7 @@
|
|||||||
<div class="flex flex-col justify-center h-full pt-16">
|
<div class="flex flex-col justify-center h-full pt-16">
|
||||||
<h1>Nette Leute spielen Schach!</h1>
|
<h1>Nette Leute spielen Schach!</h1>
|
||||||
<h2>Seien Sie nett! Spielen Sie mit?</h2>
|
<h2>Seien Sie nett! Spielen Sie mit?</h2>
|
||||||
<p>Wir sind immer auf der Suche nach neuen Mitgliedern. Bitte kontaktieren Sie unseren Vorstand für weitere Informationen.</p>
|
<p>Wir sind immer auf der Suche nach neuen Mitgliedern. Bitte kontaktieren Sie unseren Vorstand für weitere Informationen. Gerne über unser Kontaktformular.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php if ($page->heroButton()->isNotEmpty()): ?>
|
<?php if ($page->heroButton()->isNotEmpty()): ?>
|
||||||
@@ -51,4 +56,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
+61
-52
@@ -1,65 +1,74 @@
|
|||||||
<!DOCTYPE html>
|
<?php
|
||||||
<html lang="de">
|
/** @var vendor\getkirby\cms\src\Cms\App $kirby */
|
||||||
|
/** @var vendor\getkirby\cms\src\Cms\Page\Cms\Site $site */
|
||||||
|
/** @var vendor\getkirby\cms\src\Cms\Page $page */
|
||||||
|
?>
|
||||||
|
|
||||||
<head>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<html lang="de">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
||||||
|
|
||||||
<title><?= $site->title()->esc() ?> | <?= $page->title()->esc() ?></title>
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||||
|
|
||||||
<?= css([
|
<title><?= $site->title()->esc() ?> | <?= $page->title()->esc() ?></title>
|
||||||
'assets/css/styles.css',
|
|
||||||
'assets/css/chess.css',
|
|
||||||
'assets/css/pgn4web.css',
|
|
||||||
'assets/css/fonts.css',
|
|
||||||
]) ?>
|
|
||||||
|
|
||||||
<?= js([
|
<?= css([
|
||||||
'assets/js/pgn4web.js'
|
'assets/css/styles.css',
|
||||||
]) ?>
|
'assets/css/chess.css',
|
||||||
|
'assets/css/pgn4web.css',
|
||||||
|
'assets/css/fonts.css',
|
||||||
|
]) ?>
|
||||||
|
|
||||||
<link rel="shortcut icon" type="image/x-icon"
|
<?= js([
|
||||||
href="<?= url('assets/favicon.ico') ?>">
|
'assets/js/pgn4web.js'
|
||||||
|
]) ?>
|
||||||
|
|
||||||
<script defer src="https://cdn.commented.io/latest.js"></script>
|
<link rel="shortcut icon" type="image/x-icon"
|
||||||
</head>
|
href="<?= url('assets/favicon.ico') ?>">
|
||||||
|
|
||||||
<body class="font-sans antialiased bg-sf_grau-400 text-gray-900">
|
<script defer src="https://cdn.commented.io/latest.js"></script>
|
||||||
<header>
|
<script>
|
||||||
<?php snippet('navbar') ?>
|
SetImagePath("/assets/pgnviewer/images");
|
||||||
</header>
|
</script>
|
||||||
|
</head>
|
||||||
|
|
||||||
<main>
|
<body class="font-sans antialiased bg-sf_grau-400 text-gray-900">
|
||||||
|
<header>
|
||||||
|
<?php snippet('navbar') ?>
|
||||||
|
</header>
|
||||||
|
|
||||||
<?php if ($page->isHomePage()): ?>
|
<main>
|
||||||
<?php snippet('hero') ?>
|
|
||||||
<?php endif ?>
|
|
||||||
|
|
||||||
<?php if ($page->heroText()->isNotEmpty()): ?>
|
<?php if ($page->isHomePage()): ?>
|
||||||
<?php snippet('titel') ?>
|
<?php snippet('hero') ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<?php if ($page->dark()->isNotEmpty()): ?>
|
<?php if ($page->heroText()->isNotEmpty()): ?>
|
||||||
<section id="content" class="py-24 bg-sf_grau-900 text-sf_grau-50">
|
<?php snippet('titel') ?>
|
||||||
<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
|
<?php endif ?>
|
||||||
<?= $slot ?>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
<?php else: ?>
|
|
||||||
<section id="content" class="py-24 bg-sf_grau-50 text-sf_grau-900">
|
|
||||||
<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
|
|
||||||
<?= $slot ?>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
<?php endif ?>
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer class="bg-sf_grau-400 w-full" id="footer">
|
<?php if ($page->dark()->isNotEmpty()): ?>
|
||||||
<?php snippet('footer') ?>
|
<section id="content" class="py-24 bg-sf_grau-900 text-sf_grau-50">
|
||||||
</footer>
|
<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
|
||||||
<?= js([
|
<?= $slot ?>
|
||||||
'assets/js/navbar.js'
|
</div>
|
||||||
]) ?>
|
</section>
|
||||||
</body>
|
<?php else: ?>
|
||||||
|
<section id="content" class="py-24 bg-sf_grau-50 text-sf_grau-900">
|
||||||
|
<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
|
||||||
|
<?= $slot ?>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<?php endif ?>
|
||||||
|
</main>
|
||||||
|
|
||||||
</html>
|
<footer class="bg-sf_grau-400 w-full" id="footer">
|
||||||
|
<?php snippet('footer') ?>
|
||||||
|
</footer>
|
||||||
|
<?= js([
|
||||||
|
'assets/js/navbar.js'
|
||||||
|
]) ?>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user