diff --git a/www/routes/index.tsx b/www/routes/index.tsx index 089245a0..789cc938 100644 --- a/www/routes/index.tsx +++ b/www/routes/index.tsx @@ -7,6 +7,7 @@ import { Fragment, h, Head, + PageProps, tw, } from "../client_deps.ts"; import Counter from "../islands/Counter.tsx"; @@ -15,15 +16,23 @@ import Footer from "../components/Footer.tsx"; import WarningBanner from "../components/WarningBanner.tsx"; import { Leaf } from "../components/Icons.tsx"; -export default function MainPage() { +const TITLE = "fresh - The next-gen web framework."; +const DESCRIPTION = + "Just in time edge rendering, island based interactivity, and no configuration TypeScript support using Deno."; + +export default function MainPage(props: PageProps) { + const ogImageUrl = new URL(asset("/home-og.png"), props.url).href; + return ( <>
-