Skip to content

Commit

Permalink
Update layout.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SH20RAJ authored Mar 26, 2024
1 parent 51ba939 commit dfca9e2
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions src/app/[...slug]/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default async function RootLayout(pr) {
<JsonLd
data={{
"@context": "https://schema.org",
"@type": "NewsArticle",
"@type": "Product",
"headline": data.title,
"description": data.description,
"datePublished": data.published_timestamp,
Expand All @@ -47,23 +47,20 @@ export default async function RootLayout(pr) {
"image": {
"@type": "ImageObject",
"url": data.social_image,
"width": 1000, // You can adjust these values as needed
"width": 1000,
"height": 500
},
"publisher": {
"@type": "Organization",
"name": "DevArt"
},
"review": {
"@type": "Review",
"reviewRating": {
"@type": "Rating",
"ratingValue": "5"
},
"itemReviewed": {
"@type": "CreativeWork",
"name": data.title
}
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.8",
"reviewCount": "7462",
"bestRating": "5",
"worstRating": "1"
}
}
}}
/>
Expand Down

0 comments on commit dfca9e2

Please sign in to comment.