import { trpc } from "@/utils/trpc"; import { createFileRoute, Link } from "@tanstack/react-router"; import { ArrowRight } from "lucide-react"; import { Button } from "@/components/ui/button"; export const Route = createFileRoute("/")({ component: HomeComponent, }); const TITLE_TEXT = ` ██████╗ ███████╗████████╗████████╗███████╗██████╗ ██╔══██╗██╔════╝╚══██╔══╝╚══██╔══╝██╔════╝██╔══██╗ ██████╔╝█████╗ ██║ ██║ █████╗ ██████╔╝ ██╔══██╗██╔══╝ ██║ ██║ ██╔══╝ ██╔══██╗ ██████╔╝███████╗ ██║ ██║ ███████╗██║ ██║ ╚═════╝ ╚══════╝ ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ████████╗ ███████╗████████╗ █████╗ ██████╗██╗ ██╗ ╚══██╔══╝ ██╔════╝╚══██╔══╝██╔══██╗██╔════╝██║ ██╔╝ ██║ ███████╗ ██║ ███████║██║ █████╔╝ ██║ ╚════██║ ██║ ██╔══██║██║ ██╔═██╗ ██║ ███████║ ██║ ██║ ██║╚██████╗██║ ██╗ ╚═╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ `; function HomeComponent() { const healthCheck = trpc.healthCheck.useQuery(); return (
{TITLE_TEXT}

API Status

{healthCheck.isLoading ? "Checking..." : healthCheck.data ? "Connected" : "Disconnected"}

Core Features

); } function FeatureItem({ title, description, }: { title: string; description: string; }) { return (
  • {title}

    {description}

  • ); }