schema
This commit is contained in:
parent
1f067e81f3
commit
c6adc8567f
|
|
@ -8,6 +8,55 @@ import CookieBanner from '@/components/CookieBanner';
|
||||||
|
|
||||||
const isIndexable = process.env.NEXT_PUBLIC_INDEXABLE === 'true';
|
const isIndexable = process.env.NEXT_PUBLIC_INDEXABLE === 'true';
|
||||||
|
|
||||||
|
// Organization Schema for all pages
|
||||||
|
const organizationSchema = {
|
||||||
|
'@context': 'https://schema.org',
|
||||||
|
'@type': 'Organization',
|
||||||
|
'@id': 'https://www.qrmaster.net/#organization',
|
||||||
|
name: 'QR Master',
|
||||||
|
alternateName: 'QRMaster',
|
||||||
|
url: 'https://www.qrmaster.net',
|
||||||
|
logo: {
|
||||||
|
'@type': 'ImageObject',
|
||||||
|
url: 'https://www.qrmaster.net/static/og-image.png',
|
||||||
|
width: 1200,
|
||||||
|
height: 630,
|
||||||
|
},
|
||||||
|
image: 'https://www.qrmaster.net/static/og-image.png',
|
||||||
|
sameAs: ['https://twitter.com/qrmaster'],
|
||||||
|
contactPoint: {
|
||||||
|
'@type': 'ContactPoint',
|
||||||
|
contactType: 'Customer Support',
|
||||||
|
email: 'support@qrmaster.net',
|
||||||
|
availableLanguage: ['English', 'German'],
|
||||||
|
},
|
||||||
|
description: 'B2B SaaS platform for dynamic QR code generation with analytics, branding, and bulk generation for enterprise marketing campaigns.',
|
||||||
|
slogan: 'Dynamic QR codes that work smarter',
|
||||||
|
foundingDate: '2025',
|
||||||
|
areaServed: 'Worldwide',
|
||||||
|
serviceType: 'Software as a Service',
|
||||||
|
priceRange: '$0 - $29',
|
||||||
|
};
|
||||||
|
|
||||||
|
// Website Schema for all pages
|
||||||
|
const websiteSchema = {
|
||||||
|
'@context': 'https://schema.org',
|
||||||
|
'@type': 'WebSite',
|
||||||
|
'@id': 'https://www.qrmaster.net/#website',
|
||||||
|
name: 'QR Master',
|
||||||
|
url: 'https://www.qrmaster.net',
|
||||||
|
inLanguage: 'en',
|
||||||
|
publisher: { '@id': 'https://www.qrmaster.net/#organization' },
|
||||||
|
potentialAction: {
|
||||||
|
'@type': 'SearchAction',
|
||||||
|
target: {
|
||||||
|
'@type': 'EntryPoint',
|
||||||
|
urlTemplate: 'https://www.qrmaster.net/blog?q={search_term_string}',
|
||||||
|
},
|
||||||
|
'query-input': 'required name=search_term_string',
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
metadataBase: new URL('https://www.qrmaster.net'),
|
metadataBase: new URL('https://www.qrmaster.net'),
|
||||||
title: {
|
title: {
|
||||||
|
|
@ -56,6 +105,16 @@ export default function RootLayout({
|
||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<script
|
||||||
|
type="application/ld+json"
|
||||||
|
dangerouslySetInnerHTML={{ __html: JSON.stringify(organizationSchema) }}
|
||||||
|
/>
|
||||||
|
<script
|
||||||
|
type="application/ld+json"
|
||||||
|
dangerouslySetInnerHTML={{ __html: JSON.stringify(websiteSchema) }}
|
||||||
|
/>
|
||||||
|
</head>
|
||||||
<body className="font-sans">
|
<body className="font-sans">
|
||||||
<Suspense fallback={null}>
|
<Suspense fallback={null}>
|
||||||
<PostHogProvider>
|
<PostHogProvider>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue