Skip to content

Commit aa4c170

Browse files
committed
feat(manifest-ui): improve block page meta title and description for SEO
Update meta tags format to better describe shadcn/ui blocks for ChatGPT: - Title: "$name shadcn/ui block for ChatGPT | Manifest UI" - Description: "$name ($category): $description"
1 parent 63f6565 commit aa4c170

File tree

1 file changed

+3
-3
lines changed
  • packages/manifest-ui/app/blocks/[category]/[block]

1 file changed

+3
-3
lines changed

packages/manifest-ui/app/blocks/[category]/[block]/layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ export async function generateMetadata({
1414

1515
const blockName = getBlockName(block)
1616
const categoryName = getCategoryName(category)
17-
const description = getBlockDescription(block, blockName)
17+
const blockDescription = getBlockDescription(block, blockName)
1818

19-
const title = `${blockName} - ${categoryName} Component`
20-
const fullTitle = `${title} | Manifest UI`
19+
const fullTitle = `${blockName} shadcn/ui block for ChatGPT | Manifest UI`
20+
const description = `${blockName} (${categoryName}): ${blockDescription}`
2121

2222
// Preview image URL - generated by the preview generation workflow
2323
const previewImageUrl = `https://ui.manifest.build/previews/${block}.png`

0 commit comments

Comments
 (0)