37 lines
1.2 KiB
TypeScript

import { createFileRoute } from "@tanstack/react-router";
import { LandingPage } from "@/components/landing-page";
import { buildPageSeo } from "@/lib/seo";
const homeTitle = "OpenSEO - Open Source SEO Platform";
const homeDescription =
"OpenSEO is the open source alternative to Ahrefs and Semrush. Keyword research, backlinks, rank tracking, and site audits, billed by usage instead of a $100-plus monthly subscription. Self-host it free, or connect it to your AI agents over MCP.";
export const Route = createFileRoute("/_marketing/")({
head: () => {
const seo = buildPageSeo({
title: homeTitle,
description: homeDescription,
path: "/",
imageAlt: "OpenSEO keyword research dashboard preview",
});
return {
...seo,
links: [
...(seo.links ?? []),
{ rel: "preconnect", href: "https://fonts.googleapis.com" },
{
rel: "preconnect",
href: "https://fonts.gstatic.com",
crossOrigin: "anonymous",
},
{
rel: "stylesheet",
href: "https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=JetBrains+Mono:wght@400;500&display=swap",
},
],
};
},
component: LandingPage,
});