Update src/app/layout.tsx
This commit is contained in:
@@ -1,50 +1,40 @@
|
||||
"use client";
|
||||
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { DM_Sans } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import "@/lib/gsap-setup";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||
import { DM_Sans } from "next/font/google";
|
||||
|
||||
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Sunscreen Swipes | Effortless Sun Protection',
|
||||
description: 'Discover Sunscreen Swipes: mess-free, kid-friendly sunscreen wipes for all ages. Clean, quick, and effective sun protection you can trust.',
|
||||
keywords: ["sunscreen, wipes, sun protection, SPF, kid-friendly, mess-free, skincare, sensitive skin, e-commerce"],
|
||||
openGraph: {
|
||||
"title": "Sunscreen Swipes | Effortless Sun Protection",
|
||||
"description": "Discover Sunscreen Swipes: mess-free, kid-friendly sunscreen wipes for all ages. Clean, quick, and effective sun protection you can trust.",
|
||||
"url": "https://www.sunscreenswipes.com",
|
||||
"siteName": "Sunscreen Swipes",
|
||||
"images": [
|
||||
{
|
||||
"url": "http://img.b2bpic.net/free-photo/blonde-woman-with-surfboard-beach_273609-5243.jpg",
|
||||
"alt": "Sunny beach with Sunscreen Swipes"
|
||||
}
|
||||
],
|
||||
"type": "website"
|
||||
},
|
||||
twitter: {
|
||||
"card": "summary_large_image",
|
||||
"title": "Sunscreen Swipes | Effortless Sun Protection",
|
||||
"description": "Discover Sunscreen Swipes: mess-free, kid-friendly sunscreen wipes for all ages. Clean, quick, and effective sun protection you can trust.",
|
||||
"images": [
|
||||
"http://img.b2bpic.net/free-photo/blonde-woman-with-surfboard-beach_273609-5243.jpg"
|
||||
]
|
||||
},
|
||||
robots: {
|
||||
"index": true,
|
||||
"follow": true
|
||||
},
|
||||
};
|
||||
|
||||
const dmSans = DM_Sans({
|
||||
variable: "--font-dm-sans", subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Sunscreen Swipes | Effortless Sun Protection", description: "Discover Sunscreen Swipes: mess-free, kid-friendly sunscreen wipes for all ages. Clean, quick, and effective sun protection you can trust.", keywords: "sunscreen, wipes, sun protection, SPF, kid-friendly, mess-free, skincare, sensitive skin, e-commerce", metadataBase: new URL("https://www.sunscreenswipes.com"),
|
||||
alternates: {
|
||||
canonical: "https://www.sunscreenswipes.com"},
|
||||
openGraph: {
|
||||
title: "Sunscreen Swipes | Effortless Sun Protection", description: "Discover Sunscreen Swipes: mess-free, kid-friendly sunscreen wipes for all ages. Clean, quick, and effective sun protection you can trust.", url: "https://www.sunscreenswipes.com", siteName: "Sunscreen Swipes", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/blonde-woman-with-surfboard-beach_273609-5243.jpg", alt: "Sunny beach with Sunscreen Swipes"
|
||||
}
|
||||
],
|
||||
type: "website"
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "Sunscreen Swipes | Effortless Sun Protection", description: "Discover Sunscreen Swipes: mess-free, kid-friendly sunscreen wipes for all ages. Clean, quick, and effective sun protection you can trust.", images: [
|
||||
"http://img.b2bpic.net/free-photo/blonde-woman-with-surfboard-beach_273609-5243.jpg"
|
||||
]
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true
|
||||
}
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
@@ -53,7 +43,9 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body className={`${dmSans.variable} antialiased`}>
|
||||
<body
|
||||
className={`${dmSans.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
<script
|
||||
@@ -65,4 +57,4 @@ export default function RootLayout({
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user