Update og image (#2428)
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
@@ -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 (
|
||||
|
||||
@@ -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 |
Reference in New Issue
Block a user