diff --git a/www/routes/docs/[...slug].tsx b/www/routes/docs/[...slug].tsx index 6d080b0b..bf476a64 100644 --- a/www/routes/docs/[...slug].tsx +++ b/www/routes/docs/[...slug].tsx @@ -135,7 +135,7 @@ export const handler: Handlers = { export default function DocsPage(props: PageProps) { const { page } = props.data; - const ogImageUrl = new URL(asset("/home-og.png"), props.url).href; + const ogImageUrl = new URL(asset("/og-image.webp"), props.url).href; const title = `${page?.title ?? "Not Found"} | Fresh docs`; let description = "Fresh Document"; diff --git a/www/routes/index.tsx b/www/routes/index.tsx index 4ee3f8dc..e8ad48ff 100644 --- a/www/routes/index.tsx +++ b/www/routes/index.tsx @@ -35,12 +35,12 @@ export const handler: Handlers = { }, }; -const TITLE = "Fresh - The next-gen web framework."; +const TITLE = "Fresh - The simple, approachable, productive web framework."; const DESCRIPTION = - "Just in time edge rendering, island based interactivity, and no configuration TypeScript support using Deno."; + "Fresh features just-in-time edge rendering, island based interactivity, and zero-configuration TypeScript support. Fast to write; fast to run."; export default function MainPage(props: PageProps) { - const ogImageUrl = new URL(asset("/home-og.png"), props.url).href; + const ogImageUrl = new URL(asset("/og-image.webp"), props.url).href; const origin = `${props.url.protocol}//${props.url.host}`; return ( diff --git a/www/routes/showcase.tsx b/www/routes/showcase.tsx index 3f5ee0ec..06be119b 100644 --- a/www/routes/showcase.tsx +++ b/www/routes/showcase.tsx @@ -9,7 +9,7 @@ const TITLE = "Showcase | Fresh"; const DESCRIPTION = "Selection of projects that have been built with Fresh."; export default function ShowcasePage(props: PageProps) { - const ogImageUrl = new URL(asset("/home-og.png"), props.url).href; + const ogImageUrl = new URL(asset("/og-image.webp"), props.url).href; return ( <> diff --git a/www/static/home-og.png b/www/static/home-og.png deleted file mode 100644 index 0fbcb7c1..00000000 Binary files a/www/static/home-og.png and /dev/null differ diff --git a/www/static/og-image.webp b/www/static/og-image.webp new file mode 100644 index 00000000..e7d10ba2 Binary files /dev/null and b/www/static/og-image.webp differ