forked from Mike/freno-dev
og image
This commit is contained in:
@@ -40,13 +40,13 @@ describe("Nessa landing page — PageHead metadata", () => {
|
||||
expect(meta.canonical).toBe("https://nessa.freno.me/");
|
||||
});
|
||||
|
||||
it("ogImage falls back to the nessa site default", () => {
|
||||
it("ogImage falls back to the nessa site default, resolved absolute", () => {
|
||||
const meta = resolvePageHeadMeta(
|
||||
NESSA_LANDING_META,
|
||||
SITE_CONFIG.nessa,
|
||||
"/"
|
||||
);
|
||||
expect(meta.ogImage).toBe(SITE_CONFIG.nessa.ogDefaultImage);
|
||||
expect(meta.ogImage).toBe("https://nessa.freno.me/nessa/og-default.png");
|
||||
});
|
||||
|
||||
it("ogTitle uses the explicit marketing copy, not the bare title", () => {
|
||||
|
||||
@@ -57,7 +57,7 @@ export default function NookLanding() {
|
||||
<PageHead
|
||||
title="Home"
|
||||
description="The Nook — a native macOS utility for coding-agent orchestration, fan and thermal control."
|
||||
ogImage="/nook/og-default.png"
|
||||
ogImage={`https://${site().domain}/nook/og.png`}
|
||||
ogTitle="The Nook — native macOS agent orchestration"
|
||||
ogDescription="A one-time-purchase macOS app for coding-agent orchestration, fan control, and thermal insight."
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user