import { getProducts } from "@/lib/saleor"; import Header from "@/components/layout/Header"; import Footer from "@/components/layout/Footer"; import HeroVideo from "@/components/home/HeroVideo"; import ProductCard from "@/components/product/ProductCard"; export const metadata = { title: "ManoonOils - Premium Natural Oils for Hair & Skin", description: "Discover our premium collection of natural oils for hair and skin care. Handmade with love using only the finest ingredients.", }; export default async function Homepage() { let products: any[] = []; try { products = await getProducts("EN"); } catch (e) { console.log('Failed to fetch products during build'); } const featuredProducts = products.slice(0, 4); return ( <>
{/* Hero Section with Video Background */} {/* Main Content */}
{/* Products Grid Section */} {featuredProducts.length > 0 && (
{/* Section Header */}
Our Collection

Premium Natural Oils

Cold-pressed, pure, and natural oils for your daily beauty routine

{/* Products Grid */}
{featuredProducts.map((product, index) => ( ))}
{/* View All Link */}
)} {/* Brand Story Section */}
Our Story

Handmade with Love

Every bottle of ManoonOils is crafted with care using traditional methods passed down through generations. We source only the finest organic ingredients to bring you oils that nourish both hair and skin.

Our commitment to purity means no additives, no preservatives - just nature's goodness in its most potent form.

Learn More
Natural oils production
{/* Benefits Section */}
Why Choose Us

The Manoon Difference

{[ { title: "100% Natural", description: "Pure, cold-pressed oils with no additives or preservatives. Just nature's goodness.", }, { title: "Handcrafted", description: "Each batch is carefully prepared by hand to ensure the highest quality.", }, { title: "Sustainable", description: "Ethically sourced ingredients and eco-friendly packaging for a better planet.", }, ].map((benefit, index) => (
{String(index + 1).padStart(2, '0')}

{benefit.title}

{benefit.description}

))}
{/* Newsletter Section */}
Stay Connected

Join Our Community

Subscribe to receive exclusive offers, beauty tips, and be the first to know about new products.

); }