Update og image (#2428)

This commit is contained in:
Josh Collinsworth
2024-05-17 11:19:23 -05:00
committed by GitHub
parent e8d1a68b58
commit e126196fe5
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ export const handler: Handlers<Data> = {
export default function DocsPage(props: PageProps<Data>) {
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";
+3 -3
View File
@@ -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 (
+1 -1
View File
@@ -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 (
<>
<Head>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB