Merge version_2 into main #2
@@ -1,58 +1,20 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Lato } from "next/font/google";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
|
||||
const lato = Lato({
|
||||
variable: "--font-lato", subsets: ["latin"],
|
||||
weight: ["100", "300", "400", "700", "900"],
|
||||
});
|
||||
|
||||
const halant = Halant({
|
||||
variable: "--font-halant", subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
});
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Sweet Baby C's - Premium Lollipops & Popsicles", description: "Discover extra sweet, always lickable premium lollipops and popsicles made with natural ingredients. Shop handcrafted candies at Sweet Baby C's today.", keywords: "lollipops, popsicles, premium candy, gourmet sweets, artisan confectionery", metadataBase: new URL("https://sweetbabycs.com"),
|
||||
alternates: {
|
||||
canonical: "https://sweetbabycs.com"},
|
||||
openGraph: {
|
||||
title: "Sweet Baby C's - Premium Lollipops & Popsicles", description: "Extra sweet, always lickable. Premium handcrafted treats made with natural ingredients.", url: "https://sweetbabycs.com", siteName: "Sweet Baby C's", type: "website", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/close-up-candycane-lollipop-colorful-sweets-background_53876-31923.jpg", alt: "Sweet Baby C's lollipops and popsicles"},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "Sweet Baby C's - Premium Lollipops & Popsicles", description: "Extra sweet, always lickable. Premium handcrafted treats.", images: ["http://img.b2bpic.net/free-photo/close-up-candycane-lollipop-colorful-sweets-background_53876-31923.jpg"],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
title: "Sweet Baby C's - Premium Handcrafted Lollipops & Popsicles", description: "Discover our premium collection of handcrafted lollipops and popsicles made with the finest natural ingredients."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${lato.variable} ${halant.variable} ${inter.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={inter.className}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1420,7 +1382,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ export default function LandingPage() {
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "plain" }}
|
||||
buttons={[
|
||||
{ text: "Shop Lollipops", href: "#products" },
|
||||
{ text: "Browse Products", href: "#products" },
|
||||
{ text: "Learn More", href: "#about" },
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
|
||||
Reference in New Issue
Block a user