Adding styles for a webpage.

This commit is contained in:
dan612
2025-12-07 23:16:51 -05:00
parent 1a822fe8c5
commit 91d5eb7f0a
18 changed files with 593 additions and 21 deletions

View File

@@ -2,4 +2,16 @@
require_once __DIR__ . '/vendor/autoload.php';
echo "These are the results of the AoC 2025 challenge:\n";
use Aoc2025\Days\Day1;
use Aoc2025\Services\Template;
$day_1 = new Day1();
$day_1_answer = $day_1->run();
$template = new Template('main.html');
$substitutions = [
'day_1_answer' => $day_1_answer,
];
$response = $template->render($substitutions);
echo $response;