diff --git a/app/layout.tsx b/app/layout.tsx index 366edb3..10a5c6b 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -23,21 +23,12 @@ export const metadata: Metadata = { url: "https://hidden11.app", siteName: "hidden11", locale: "en_US", - images: [ - { - url: "https://hidden11.app/og-image.png", - width: 1200, - height: 630, - alt: "hidden11 daily football puzzle", - }, - ], type: "website", }, twitter: { card: "summary_large_image", title: "hidden11", description: "Beat Easy, Medium and Hard in the daily football lineup puzzle and share the result.", - images: ["https://hidden11.app/og-image.png"], }, }; diff --git a/app/opengraph-image.png b/app/opengraph-image.png new file mode 100644 index 0000000..877a1c2 Binary files /dev/null and b/app/opengraph-image.png differ diff --git a/app/opengraph-image.tsx b/app/opengraph-image.tsx deleted file mode 100644 index fb831b7..0000000 --- a/app/opengraph-image.tsx +++ /dev/null @@ -1,231 +0,0 @@ -import { ImageResponse } from "next/og"; - -export const alt = "hidden11"; -export const contentType = "image/png"; -export const size = { - width: 1200, - height: 630, -}; - -export default function OpenGraphImage() { - return new ImageResponse( - ( -
-
-
- -
-
-
-
- Daily Puzzle -
- -
-
hidden
-
-
-
-
-
- -
- Daily football lineup puzzle with clues, history links and difficulty levels that actually escalate. -
-
- -
- {["Easy", "Medium", "Hard"].map((label, index) => ( -
-
{label}
-
- {index === 0 ? "Fast entry" : index === 1 ? "Less obvious pool" : "Career-history riddles"} -
-
- ))} -
-
- -
-
-
-
- Today -
-
- hidden11 #124 -
-
-
- Shareable -
-
- -
- {[ - { label: "Easy", time: "1:24", color: "#3ee696" }, - { label: "Medium", time: "2:08", color: "#facc15" }, - { label: "Hard", time: "3:41", color: "#ffffff" }, - ].map((card) => ( -
-
-
{card.label}
-
{card.time}
-
-
- {Array.from({ length: 5 }).map((_, index) => ( -
- ))} -
-
- ))} -
- -
hidden11.app
-
-
-
- ), - size, - ); -} diff --git a/app/twitter-image.png b/app/twitter-image.png new file mode 100644 index 0000000..877a1c2 Binary files /dev/null and b/app/twitter-image.png differ diff --git a/app/twitter-image.tsx b/app/twitter-image.tsx deleted file mode 100644 index 4de29ff..0000000 --- a/app/twitter-image.tsx +++ /dev/null @@ -1,2 +0,0 @@ -export { alt, contentType, size } from "./opengraph-image"; -export { default } from "./opengraph-image"; diff --git a/next.config.js b/next.config.js index c10e07d..f741376 100644 --- a/next.config.js +++ b/next.config.js @@ -1,5 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { + htmlLimitedBots: /.*/, output: "standalone", };