feat(website): add og:title and og:description via pageMeta helper

Extract a DRY pageMeta(title, description) helper that returns both
standard and OpenGraph meta tags from a single source of truth.
This commit is contained in:
Mohamed Boudra
2026-03-15 14:28:10 +07:00
parent 21c585abec
commit cda08ec033
15 changed files with 78 additions and 105 deletions
+5 -8
View File
@@ -1,16 +1,13 @@
import { createFileRoute } from '@tanstack/react-router'
import { LandingPage } from '~/components/landing-page'
import { pageMeta } from '~/meta'
export const Route = createFileRoute('/codex')({
head: () => ({
meta: [
{ title: 'Codex Mobile App – Run Codex from anywhere | Paseo' },
{
name: 'description',
content:
'Run OpenAI Codex from your phone. Kick off agents, monitor progress, and ship code without being at your desk. Self-hosted, your code never leaves your machine.',
},
],
meta: pageMeta(
'Codex Mobile App – Run Codex from anywhere | Paseo',
'Run OpenAI Codex from your phone. Kick off agents, monitor progress, and ship code without being at your desk. Self-hosted, your code never leaves your machine.',
),
}),
component: CodexPage,
})