chore(stats): update data seo metadata
This commit is contained in:
@@ -7,8 +7,11 @@ import "./app.css"
|
|||||||
function AppMeta() {
|
function AppMeta() {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Title>OpenCode Data</Title>
|
<Title>AI Model Usage Rankings | OpenCode Data</Title>
|
||||||
<Meta name="description" content="OpenCode usage data, market share, token cost, and session cost." />
|
<Meta
|
||||||
|
name="description"
|
||||||
|
content="Explore OpenCode Go usage across AI models, including token volume, rankings, market share, token pricing, session cost, cache ratio, and geo breakdowns."
|
||||||
|
/>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -120,11 +120,9 @@ export default function StatsModel() {
|
|||||||
const [themePreference, setThemePreference] = createSignal<ThemePreference>("system")
|
const [themePreference, setThemePreference] = createSignal<ThemePreference>("system")
|
||||||
const modelName = createMemo(() => catalogEntry()?.name ?? stats()?.model ?? modelParam() ?? "Model")
|
const modelName = createMemo(() => catalogEntry()?.name ?? stats()?.model ?? modelParam() ?? "Model")
|
||||||
const labName = createMemo(() => formatCatalogLabName(catalogEntry()?.lab ?? stats()?.provider ?? labParam()))
|
const labName = createMemo(() => formatCatalogLabName(catalogEntry()?.lab ?? stats()?.provider ?? labParam()))
|
||||||
const modelTitle = createMemo(() => `${modelName()} Data`)
|
const modelTitle = createMemo(() => `${modelName()} Usage, Cost & Rank | OpenCode Data`)
|
||||||
const modelDescription = createMemo(() =>
|
const modelDescription = createMemo(() =>
|
||||||
stats()
|
`View ${modelName()} OpenCode Go usage data, including token volume, weekly rank, token mix, costs, cache ratio, sessions, geo breakdowns, and peer models.`,
|
||||||
? `${modelName()} usage, rank, token mix, cost, geo breakdown, and peer data across OpenCode Go.`
|
|
||||||
: `${modelName()} model facts, limits, and OpenCode Go usage availability.`,
|
|
||||||
)
|
)
|
||||||
const modelUrl = createMemo(() =>
|
const modelUrl = createMemo(() =>
|
||||||
new URL(
|
new URL(
|
||||||
|
|||||||
@@ -69,10 +69,10 @@ export default function StatsLab() {
|
|||||||
const githubStars = createAsync(() => getGitHubStars())
|
const githubStars = createAsync(() => getGitHubStars())
|
||||||
const [themePreference, setThemePreference] = createSignal<ThemePreference>("system")
|
const [themePreference, setThemePreference] = createSignal<ThemePreference>("system")
|
||||||
const labName = createMemo(() => lab()?.name ?? formatCatalogLabName(labParam()))
|
const labName = createMemo(() => lab()?.name ?? formatCatalogLabName(labParam()))
|
||||||
const labTitle = createMemo(() => `${labName()} Models`)
|
const labTitle = createMemo(() => `${labName()} AI Model Usage & Rankings | OpenCode Data`)
|
||||||
const labDescription = createMemo(
|
const labDescription = createMemo(
|
||||||
() =>
|
() =>
|
||||||
`Explore ${labName()} models used in OpenCode, with recent token usage, context windows, release dates, and model-specific data.`,
|
`Compare ${labName()} models used in OpenCode Go, including token usage, model rankings, context windows, release dates, costs, and model-specific data.`,
|
||||||
)
|
)
|
||||||
const labUrl = createMemo(() => new URL(lab()?.id ?? labParam(), statsCanonicalBaseUrl).toString())
|
const labUrl = createMemo(() => new URL(lab()?.id ?? labParam(), statsCanonicalBaseUrl).toString())
|
||||||
const updateThemePreference = (preference: ThemePreference) => {
|
const updateThemePreference = (preference: ThemePreference) => {
|
||||||
|
|||||||
@@ -49,8 +49,9 @@ const rangeLabels: Record<UsageRange, string> = {
|
|||||||
"1M": "1 Month",
|
"1M": "1 Month",
|
||||||
"2M": "2 Months",
|
"2M": "2 Months",
|
||||||
}
|
}
|
||||||
const statsHomeTitle = "OpenCode Data"
|
const statsHomeTitle = "AI Model Usage Rankings | OpenCode Data"
|
||||||
const statsHomeDescription = "OpenCode usage data, market share, token cost, and session cost."
|
const statsHomeDescription =
|
||||||
|
"Explore OpenCode Go usage across AI models, including token volume, rankings, market share, token pricing, session cost, cache ratio, and geo breakdowns."
|
||||||
const statsHomeFallbackUrl = "https://opencode.ai/data/"
|
const statsHomeFallbackUrl = "https://opencode.ai/data/"
|
||||||
const statsUnfurlPath = "banner.jpg"
|
const statsUnfurlPath = "banner.jpg"
|
||||||
const statsUnfurlAlt = "OpenCode Data wordmark on a dark patterned background"
|
const statsUnfurlAlt = "OpenCode Data wordmark on a dark patterned background"
|
||||||
|
|||||||
Reference in New Issue
Block a user