import { BaseLayout } from "../views/layout";

export function homeRoute(): Response {
    const content = `
        <div class="card">
            <h2>Welcome</h2>
            <p>The Aurora web server is up and running!</p>
        </div>
    `;

    const html = BaseLayout({ title: "Home", content });

    return new Response(html, {
        headers: { "Content-Type": "text/html" },
    });
}
