diff --git a/src/Views/home.php b/src/Views/home.php new file mode 100644 index 0000000..81143f2 --- /dev/null +++ b/src/Views/home.php @@ -0,0 +1,19 @@ + Escape::html($v); + $a = static fn (string $v): string => Escape::attr($v); + ?> +

BattleForge

+

New scenario

+

Recent scenarios

+

No saved scenarios yet.

+ + $old Optional old form values, keyed by field name; HTML-escaped on output. + * @var array $post Raw form data (for repopulating per-unit fields). + */ +$e = static fn (string $v): string => Escape::html($v); +$a = static fn (string $v): string => Escape::attr($v); +$archetypes = ArchetypeCatalog::templates(); +?> +

Team editor

+ +

+ +
+ +
+ Scenario + + + + +
+
+ Team A + +
+ + + + + + + + + + +
+ +
+
+ Team B + +
+ + + + + + + + + + +
+ +
+
+ Victory + + + +
+ +
+