diff --git a/src/app/blog/page.tsx b/src/app/blog/page.tsx index 40a3b89..9229bb5 100644 --- a/src/app/blog/page.tsx +++ b/src/app/blog/page.tsx @@ -1,14 +1,44 @@ "use client"; -import ReactLenis from "lenis/react"; -import BlogCardThree from '@/components/sections/blog/BlogCardThree'; +import BlogCardTwo from '@/components/sections/blog/BlogCardTwo'; import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal'; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay"; -import { useBlogPosts } from "@/hooks/useBlogPosts"; + +const posts = [ + { + id: '1', + category: ['Skincare', 'Tips'], + title: '5 Tips for a Glowing Complexion', + excerpt: 'Discover our top secrets to achieving radiant, healthy-looking skin that glows from within.', + imageSrc: 'https://img.b2bpic.net/free-photo/minimal-assortment-beauty-products_23-2148961325.jpg', + authorName: 'Lee Coral', + authorAvatar: 'https://img.b2bpic.net/free-photo/studio-shot-sensual-woman-pink-suit_197531-16807.jpg', + date: 'Oct 20, 2023', + }, + { + id: '2', + category: ['Live Shows'], + title: 'What to Expect in Our Next Live Show', + excerpt: 'Get a sneak peek into the exclusive bundles and new drops featured in our upcoming live event.', + imageSrc: 'https://img.b2bpic.net/free-photo/online-workshop-demontration-beauty-products_259150-60056.jpg', + authorName: 'Ariel S.', + authorAvatar: 'https://img.b2bpic.net/free-photo/portrait-young-female-dentist-dentistry-concept-dental-treatment_169016-67131.jpg', + date: 'Oct 15, 2023', + }, + { + id: '3', + category: ['Cosmetics'], + title: 'The Ultimate Guide to Pro Cosmetics', + excerpt: 'Learn how to use our professional cosmetic kits to create stunning looks for any occasion.', + imageSrc: 'https://img.b2bpic.net/free-photo/foundation-bottles-advertising-arrangement_23-2149511243.jpg', + authorName: 'Glow Theory', + authorAvatar: 'https://img.b2bpic.net/free-photo/minimal-assortment-beauty-products_23-2148961325.jpg', + date: 'Oct 10, 2023', + } +]; export default function BlogPage() { - const { posts, isLoading } = useBlogPosts(); return ( - - + - {isLoading ? ( -
-

Loading posts...

-
- ) : ( -
- -
- )} +
+ +
- -
+
); } \ No newline at end of file diff --git a/src/app/page.tsx b/src/app/page.tsx index 253ebd8..20751da 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -34,6 +34,8 @@ export default function LandingPage() { { name: "Bundles", id: "bundles" }, { name: "Reviews", id: "reviews" }, { name: "Support", id: "support" }, + { name: "Shop", id: "/shop" }, + { name: "Blog", id: "/blog" } ]} button={{ text: "Join Live", href: "#live-shows" }} className="py-4 px-6 md:px-8" @@ -54,7 +56,6 @@ export default function LandingPage() { { imageSrc: "https://img.b2bpic.net/free-photo/minimal-assortment-beauty-products_23-2148961325.jpg?_wi=3", imageAlt: "Beauty products with a soft pink glow" }, ]} mediaAnimation="opacity" - tagAnimation="opacity" buttonAnimation="opacity" className="bg-[--background] text-[--foreground]" titleClassName="text-5xl md:text-7xl lg:text-8xl font-thin tracking-wide" diff --git a/src/app/privacy/page.tsx b/src/app/privacy/page.tsx index 62c8cf2..7d9c876 100644 --- a/src/app/privacy/page.tsx +++ b/src/app/privacy/page.tsx @@ -1,22 +1,11 @@ "use client"; -import { LegalSection } from "@/components/legal/LegalSection"; -import ReactLenis from "lenis/react"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; -import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay"; -import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal"; - -export default function PrivacyPolicyPage() { - const navItems = [ - { name: "Home", id: "/" }, - { name: "About", id: "/#about" }, - { name: "Live Shows", id: "/#live-shows" }, - { name: "Bundles", id: "/#bundles" }, - { name: "Reviews", id: "/#reviews" }, - { name: "Contact", id: "/#contact-support" } - ]; - const WHATNOT_LINK = "https://www.whatnot.com/live/glowtheory"; +import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay'; +import LegalSection from '@/components/legal/LegalSection'; +import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal'; +export default function PrivacyPage() { return ( - - -
- + +
+ +
+ -
- -
+ { + type: "paragraph", text: "We use personal information collected via our website for a variety of business purposes described below. We process your personal information for these purposes in reliance on our legitimate business interests, in order to enter into or perform a contract with you, with your consent, and/or for compliance with our legal obligations." + } + ] + } + ]} + /> + + +
); } diff --git a/src/app/shop/[id]/page.tsx b/src/app/shop/[id]/page.tsx index 8b9fc77..bfab6af 100644 --- a/src/app/shop/[id]/page.tsx +++ b/src/app/shop/[id]/page.tsx @@ -2,7 +2,6 @@ import { Suspense, use, useCallback } from "react"; import { useRouter } from "next/navigation"; -import ReactLenis from "lenis/react"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay'; import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal'; @@ -88,33 +87,31 @@ function ProductPageContent({ params }: ProductPageProps) { secondaryButtonStyle="radial-glow" headingFontWeight="medium" > - - -
-
-

Loading product...

-
-
- -
+ +
+
+

Loading product...

+
+
+ ); } @@ -133,41 +130,39 @@ function ProductPageContent({ params }: ProductPageProps) { secondaryButtonStyle="radial-glow" headingFontWeight="medium" > - - -
-
-
-

Product not found

- -
-
-
- -
+ +
+
+
+

Product not found

+ +
+
+
+ ); } @@ -185,64 +180,62 @@ function ProductPageContent({ params }: ProductPageProps) { secondaryButtonStyle="radial-glow" headingFontWeight="medium" > - - -
- 0 ? variants : undefined} - quantity={quantityVariant} - ribbon={meta.ribbon} - inventoryStatus={meta.inventoryStatus} - inventoryQuantity={meta.inventoryQuantity} - sku={meta.sku} - buttons={[ - { text: "Add To Cart", onClick: handleAddToCart }, - { text: "Buy Now", onClick: handleBuyNow }, - ]} - /> -
-
- setCartOpen(false)} - items={cartItems} - onQuantityChange={updateQuantity} - onRemove={removeItem} - total={`$${cartTotal}`} - buttons={[ - { - text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout, - }, - ]} - /> -
- -
+ +
+ 0 ? variants : undefined} + quantity={quantityVariant} + ribbon={meta.ribbon} + inventoryStatus={meta.inventoryStatus} + inventoryQuantity={meta.inventoryQuantity} + sku={meta.sku} + buttons={[ + { text: "Add To Cart", onClick: handleAddToCart }, + { text: "Buy Now", onClick: handleBuyNow }, + ]} + /> +
+
+ setCartOpen(false)} + items={cartItems} + onQuantityChange={updateQuantity} + onRemove={removeItem} + total={`$${cartTotal}`} + buttons={[ + { + text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout, + }, + ]} + /> +
+ ); } \ No newline at end of file diff --git a/src/app/shop/page.tsx b/src/app/shop/page.tsx index fd8ab17..5f79d05 100644 --- a/src/app/shop/page.tsx +++ b/src/app/shop/page.tsx @@ -1,7 +1,6 @@ "use client"; import { Suspense, useCallback } from "react"; -import ReactLenis from "lenis/react"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay'; import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal'; @@ -58,33 +57,31 @@ function ShopPageContent() { secondaryButtonStyle="radial-glow" headingFontWeight="medium" > - - -
-
-

Loading products...

-
-
- -
+ +
+
+

Loading products...

+
+
+ ); } @@ -102,54 +99,52 @@ function ShopPageContent() { secondaryButtonStyle="radial-glow" headingFontWeight="medium" > - - -
- -
-
- setCartOpen(false)} - items={cartItems} - onQuantityChange={updateQuantity} - onRemove={removeItem} - total={`$${cartTotal}`} - buttons={[ - { - text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout, - }, - ]} - /> -
- -
+ +
+ +
+
+ setCartOpen(false)} + items={cartItems} + onQuantityChange={updateQuantity} + onRemove={removeItem} + total={`$${cartTotal}`} + buttons={[ + { + text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout, + }, + ]} + /> +
+ ); }