feat(console): add OG image and SEO meta tags for /black page (#8506)
This commit is contained in:
1
packages/console/app/public/social-share-black.png
Symbolic link
1
packages/console/app/public/social-share-black.png
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../../../ui/src/assets/images/social-share-black.png
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
import { A, createAsync, RouteSectionProps } from "@solidjs/router"
|
import { A, createAsync, RouteSectionProps } from "@solidjs/router"
|
||||||
|
import { Title, Meta, Link } from "@solidjs/meta"
|
||||||
import { createMemo } from "solid-js"
|
import { createMemo } from "solid-js"
|
||||||
import { github } from "~/lib/github"
|
import { github } from "~/lib/github"
|
||||||
import { config } from "~/config"
|
import { config } from "~/config"
|
||||||
@@ -17,6 +18,27 @@ export default function BlackLayout(props: RouteSectionProps) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div data-page="black">
|
<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" />
|
<div data-component="header-gradient" />
|
||||||
<header data-component="header">
|
<header data-component="header">
|
||||||
<A href="/" data-component="header-logo">
|
<A href="/" data-component="header-logo">
|
||||||
|
|||||||
BIN
packages/ui/src/assets/images/social-share-black.png
Normal file
BIN
packages/ui/src/assets/images/social-share-black.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 32 KiB |
Reference in New Issue
Block a user