Something went wrong. Try again.
link aggregator for FIRST Tech Challenge tools & resources firsttech.tools
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263---import ThemeToggle from "../components/ThemeToggle.tsx";import "../styles/global.css";
interface Props { title?: string;}
const { title = "FTC Tools & Resources" } = Astro.props;---
<!DOCTYPE html><html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>{title}</title> <meta name="description" content="Community tools, resources, and systems for FIRST Tech Challenge volunteers and teams." /> <meta property="og:title" content={title} /> <meta property="og:description" content="Community tools, resources, and systems for FIRST Tech Challenge volunteers and teams." /> <meta property="og:type" content="website" /> <script is:inline> // Apply theme before first paint to avoid flash (function () { const stored = localStorage.getItem("theme"); const prefersDark = stored === "dark" || (!stored && window.matchMedia("(prefers-color-scheme: dark)").matches); document.documentElement.setAttribute( "data-kb-theme", prefersDark ? "dark" : "light" ); })(); </script> </head> <body class="bg-background text-foreground min-h-screen"> <header class="border-b border-border px-4 sm:px-6 py-3 flex items-center justify-between gap-3"> <div> <h1 class="text-lg font-bold leading-tight">FTC Tools & Resources</h1> <p class="text-xs text-muted-foreground"> Community tools, resources, and systems for FIRST Tech Challenge. </p> </div> <ThemeToggle client:load /> </header>
<main class="px-4 sm:px-6 py-6 max-w-7xl mx-auto"> <slot /> </main>
<footer class="border-t border-border px-6 py-4 flex flex-col sm:flex-row items-center justify-between gap-3 text-sm text-muted-foreground"> <span>Not an official FIRST resource. Maintained by the <a href="https://tangled.org/devyntk.me/firsttech.tools" class="underline hover:text-foreground transition-colors">FTC community</a>.</span> <a href="https://tangled.org/devyntk.me/firsttech.tools/issues/new" class="inline-flex items-center gap-1.5 rounded-md border border-border bg-background px-3 py-1.5 text-sm font-medium text-foreground hover:bg-accent hover:text-accent-foreground transition-colors" > + Request an addition </a> </footer> </body></html>