feat: seo optimization p1

This commit is contained in:
Nik L
2026-03-19 15:31:15 -04:00
parent 5726d2d210
commit 0ee456ad58
12 changed files with 341 additions and 23 deletions

View File

@@ -3,8 +3,35 @@ import type { Metadata } from 'next'
export const metadata: Metadata = {
title: 'Greyscan | Greywall',
description: 'Scan your repo and see what an unrestricted AI agent would attempt. Powered by Greywall.',
alternates: {
canonical: 'https://greywall.io/greyscan',
},
openGraph: {
title: 'Greyscan | Greywall',
description: 'Scan your repo and see what an unrestricted AI agent would attempt. Powered by Greywall.',
url: 'https://greywall.io/greyscan',
siteName: 'Greywall',
type: 'website',
},
}
const breadcrumbJsonLd = {
'@context': 'https://schema.org',
'@type': 'BreadcrumbList',
itemListElement: [
{ '@type': 'ListItem', position: 1, name: 'Greywall', item: 'https://greywall.io' },
{ '@type': 'ListItem', position: 2, name: 'Greyscan', item: 'https://greywall.io/greyscan' },
],
}
export default function ExposureLayout({ children }: { children: React.ReactNode }) {
return children
return (
<>
<script
type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify(breadcrumbJsonLd) }}
/>
{children}
</>
)
}