feat: add PGN4Web block support and integrate chess game replay features

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.
This commit is contained in:
2025-07-06 13:36:43 +02:00
parent 03b8db51cd
commit 6fe47279b0
6 changed files with 89 additions and 14 deletions
+3 -4
View File
@@ -20,13 +20,12 @@ function fenToBoard($fen) {
}
return $board;
} ?>
}?>
<?php
snippet('layout', slots: true) ?>
<?= $page->blocks()->toBlocks() ?>
<?= $page->blocks()->toBlocks() ?>
<?php
endsnippet() ?>
endsnippet() ?>