Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 12fbdd0a76 | |||
| 0a439b5dc9 | |||
| 90f43ddae3 | |||
| 22fc7dc0d9 | |||
| 24266c2748 | |||
| 630138f789 | |||
| d64eba2bab | |||
| 22d6488bc0 |
@@ -1,58 +1,20 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Archivo } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
import "./globals.css";
|
import "@/styles/globals.css";
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
||||||
import Tag from "@/tag/Tag";
|
|
||||||
|
|
||||||
const archivo = Archivo({
|
const inter = Inter({ subsets: ["latin"] });
|
||||||
variable: "--font-archivo",
|
|
||||||
subsets: ["latin"],
|
|
||||||
});
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "GlowAura - Premium Beauty & Skincare Products",
|
title: "Create Next App", description: "Generated by create next app"};
|
||||||
description: "Discover luxury beauty and skincare products for men and women. Premium formulas with natural ingredients. Cruelty-free, dermatologically tested. Shop now.",
|
|
||||||
keywords: "beauty products, skincare, luxury cosmetics, natural ingredients, women's beauty, men's grooming, anti-acne, skincare routine",
|
|
||||||
metadataBase: new URL("https://glowaura.com"),
|
|
||||||
alternates: {
|
|
||||||
canonical: "https://glowaura.com"
|
|
||||||
},
|
|
||||||
openGraph: {
|
|
||||||
title: "GlowAura - Reveal Your Natural Glow",
|
|
||||||
description: "Premium beauty and skincare products for confidence. Luxury collection for women and men.",
|
|
||||||
siteName: "GlowAura",
|
|
||||||
type: "website",
|
|
||||||
images: [
|
|
||||||
{
|
|
||||||
url: "http://img.b2bpic.net/free-photo/close-up-fair-skinned-young-women-s-hands-holding-jars-organic-body-creams-care-moisturizing-concept_197531-31493.jpg",
|
|
||||||
alt: "GlowAura Premium Beauty Collection"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
twitter: {
|
|
||||||
card: "summary_large_image",
|
|
||||||
title: "GlowAura - Premium Beauty & Skincare",
|
|
||||||
description: "Luxury beauty products with natural ingredients. Shop women's and men's collections.",
|
|
||||||
images: ["http://img.b2bpic.net/free-photo/close-up-fair-skinned-young-women-s-hands-holding-jars-organic-body-creams-care-moisturizing-concept_197531-31493.jpg"]
|
|
||||||
},
|
|
||||||
robots: {
|
|
||||||
index: true,
|
|
||||||
follow: true
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en">
|
||||||
<ServiceWrapper>
|
<body className={inter.className}>{children}
|
||||||
<body className={`${archivo.variable} antialiased`}>
|
|
||||||
<Tag />
|
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1420,7 +1382,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -23,6 +23,13 @@ const navItems = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
|
const handleShopNowClick = () => {
|
||||||
|
const featuredSection = document.getElementById("featured-products");
|
||||||
|
if (featuredSection) {
|
||||||
|
featuredSection.scrollIntoView({ behavior: "smooth" });
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="hover-bubble"
|
defaultButtonVariant="hover-bubble"
|
||||||
@@ -55,7 +62,7 @@ export default function Home() {
|
|||||||
]}
|
]}
|
||||||
background={{ variant: "sparkles-gradient" }}
|
background={{ variant: "sparkles-gradient" }}
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "Shop Women's", href: "/womens" },
|
{ text: "Shop Now", onClick: handleShopNowClick },
|
||||||
{ text: "Shop Men's", href: "/mens" }
|
{ text: "Shop Men's", href: "/mens" }
|
||||||
]}
|
]}
|
||||||
buttonAnimation="slide-up"
|
buttonAnimation="slide-up"
|
||||||
|
|||||||
Reference in New Issue
Block a user