6fe47279b0
Implemented a new PGN4Web block with a PHP snippet for game replay functionality. Updated blueprints with PGN-specific fields, modified layout and blockpage templates, and included necessary JavaScript and assets for interactive chess game rendering. Enhanced memorial page with replayable game content.
52 lines
1.3 KiB
PHP
52 lines
1.3 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
|
|
<title><?= $site->title()->esc() ?> | <?= $page->title()->esc() ?></title>
|
|
|
|
<?= css([
|
|
'assets/css/styles.css',
|
|
'assets/css/chess.css'
|
|
]) ?>
|
|
|
|
<?= js([
|
|
'assets/js/pgn4web.js'
|
|
]) ?>
|
|
|
|
<link rel="shortcut icon" type="image/x-icon"
|
|
href="<?= url('assets/favicon.ico') ?>">
|
|
</head>
|
|
|
|
<body class="font-sans antialiased bg-sf_grau-400 text-gray-900">
|
|
<header>
|
|
<?php snippet('navbar') ?>
|
|
</header>
|
|
|
|
<main>
|
|
|
|
<?php if ($page->isHomePage()): ?>
|
|
<?php snippet('hero') ?>
|
|
<?php endif ?>
|
|
|
|
<?php if ($page->heroText()->isNotEmpty()): ?>
|
|
<?php snippet('titel') ?>
|
|
<?php endif ?>
|
|
|
|
<section class="py-24 bg-sf_grau-50">
|
|
<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
|
|
<?= $slot ?>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
|
|
<footer class="bg-sf_grau-400 w-full" id="footer">
|
|
<?php snippet('footer') ?>
|
|
</footer>
|
|
<?= js([
|
|
'assets/js/navbar.js'
|
|
]) ?>
|
|
</body>
|
|
</html>
|