<?php
require_once "includes/db.php";
require_once "includes/functions.php";

$todaysChampion = getTodaysChampion($pdo);
?>
<!DOCTYPE html>
<html>
<head>
    <title>Champion Dashboard</title>
    <link rel="stylesheet" href="assets/css/style.css">
</head>
<body>

<h1>Today’s Champion: <?= $todaysChampion['name'] ?> (<?= $todaysChampion['class_name'] ?>)</h1>

<a href="pages/dashboard.php">Enter Dashboard</a>

</body>
</html>