This commit is contained in:
2026-02-23 05:03:38 +01:00
parent 3b9fa373bc
commit d1ae498a2f
4 changed files with 69 additions and 4 deletions
+50
View File
@@ -0,0 +1,50 @@
export const SchemaJSON = {
"@context": "https://schema.org",
"@graph": [
{
"@type": "Organization",
"@id": "https://tben.me/#organization",
name: "Tben INC",
url: "https://tben.me/",
logo: {
"@type": "ImageObject",
"@id": "https://tben.me/#logo",
url: "https://tben.me/logo.png",
},
sameAs: ["https://www.linkedin.com/in/benjamin-toby/"],
},
{
"@type": "WebSite",
"@id": "https://tben.me/#website",
url: "https://tben.me/",
name: "Tben INC",
publisher: {
"@id": "https://tben.me/#organization",
},
potentialAction: {
"@type": "SearchAction",
target: {
"@type": "EntryPoint",
urlTemplate:
"https://tben.me/search?q={search_term_string}",
},
"query-input": "required name=search_term_string",
},
},
{
"@type": "Person",
"@id": "https://tben.me/#benjamin-toby",
name: "Benjamin Toby",
url: "https://tben.me/",
email: "mailto:[email protected]",
sameAs: [
"https://www.linkedin.com/in/benjamin-toby/",
"https://git.tben.me/tben",
],
worksFor: {
"@id": "https://tben.me/#organization",
},
jobTitle: "Founder",
},
],
};
+7
View File
@@ -5,6 +5,7 @@ import Footer from "./Footer";
import { twMerge } from "tailwind-merge";
import MobileMenu from "./(sections)/MobileMenu";
import Head from "next/head";
import { SchemaJSON } from "./(data)/shcema";
type Props = PropsWithChildren & {
meta?: {
@@ -25,6 +26,12 @@ export default function Layout({ children, meta }: Props) {
{meta?.description && (
<meta name="description" content={meta?.description} />
)}
<script
type="application/ld+json"
dangerouslySetInnerHTML={{
__html: JSON.stringify(SchemaJSON),
}}
></script>
</Head>
<Aside />
<div className={twMerge("flex flex-col items-start gap-0", "grow")}>