mirror of
https://github.com/openclaw/clawhub.git
synced 2026-08-14 00:47:57 +00:00
chore: update social preview headline
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 527 KiB After Width: | Height: | Size: 400 KiB |
+14
-32
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 502 KiB After Width: | Height: | Size: 40 KiB |
@@ -86,7 +86,7 @@ async function loadRootHead() {
|
||||
describe("root route head", () => {
|
||||
it("uses the versioned default social image for Open Graph and Twitter", async () => {
|
||||
const head = await loadRootHead();
|
||||
const expectedImage = "https://clawhub.ai/og.png?v=20260624-1";
|
||||
const expectedImage = "https://clawhub.ai/og.png?v=20260723-1";
|
||||
|
||||
expect(metaContent(head ?? {}, "property", "og:image")).toBe(expectedImage);
|
||||
expect(metaContent(head ?? {}, "name", "twitter:image")).toBe(expectedImage);
|
||||
|
||||
@@ -28,7 +28,7 @@ import { getThemeModeFromCookieHeader, normalizeThemeMode } from "../lib/themeCo
|
||||
import designSystemCss from "../design-system.css?url";
|
||||
import appCss from "../styles.css?url";
|
||||
|
||||
const OG_IMAGE_VERSION = "20260624-1";
|
||||
const OG_IMAGE_VERSION = "20260723-1";
|
||||
export const Route = createRootRoute({
|
||||
beforeLoad: ({ location }) => {
|
||||
if (location.pathname === BANNED_ACCOUNT_PATH) return;
|
||||
|
||||
Reference in New Issue
Block a user