feat(console): add OG image and SEO meta tags for /black page (#8506)

This commit is contained in:
Ryan Vogel
2026-01-14 12:20:50 -05:00
committed by GitHub
parent 346c5e0da6
commit 3206ed47e0
3 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1 @@
../../../ui/src/assets/images/social-share-black.png

View File

@@ -1,4 +1,5 @@
import { A, createAsync, RouteSectionProps } from "@solidjs/router"
import { Title, Meta, Link } from "@solidjs/meta"
import { createMemo } from "solid-js"
import { github } from "~/lib/github"
import { config } from "~/config"
@@ -17,6 +18,27 @@ export default function BlackLayout(props: RouteSectionProps) {
return (
<div data-page="black">
<Title>OpenCode Black | Access all the world's best coding models</Title>
<Meta
name="description"
content="Get access to Claude, GPT, Gemini and more with OpenCode Black subscription plans."
/>
<Link rel="canonical" href={`${config.baseUrl}/black`} />
<Meta property="og:type" content="website" />
<Meta property="og:url" content={`${config.baseUrl}/black`} />
<Meta property="og:title" content="OpenCode Black | Access all the world's best coding models" />
<Meta
property="og:description"
content="Get access to Claude, GPT, Gemini and more with OpenCode Black subscription plans."
/>
<Meta property="og:image" content="/social-share-black.png" />
<Meta name="twitter:card" content="summary_large_image" />
<Meta name="twitter:title" content="OpenCode Black | Access all the world's best coding models" />
<Meta
name="twitter:description"
content="Get access to Claude, GPT, Gemini and more with OpenCode Black subscription plans."
/>
<Meta name="twitter:image" content="/social-share-black.png" />
<div data-component="header-gradient" />
<header data-component="header">
<A href="/" data-component="header-logo">

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB