'use client'; import React, { useState } from 'react'; import Link from 'next/link'; import Image from 'next/image'; import { useReveal } from '@/hooks/useReveal'; import GSAPAnimator from '@/components/GSAPAnimator'; function Reveal({ children, delay = 0 }: { children: React.ReactNode; delay?: number }) { const { ref, visible } = useReveal(); return (
{children}
); } const ARTICLES = [ { n: '01', tag: 'Analytics', readTime: '6 min', title: 'Why Footfall Data is the New Gold', excerpt: "In an era where every click is tracked online, offline retailers are sitting on untapped behavioural gold, and most don't even know it.", featured: true, }, { n: '02', tag: 'Strategy', readTime: '5 min', title: 'The End of Blind Discounts', excerpt: "Discounting without data is just burning margin. Here's how AI is changing the way smart retailers think about price reductions.", featured: false, }, { n: '03', tag: 'Technology', readTime: '8 min', title: 'AI in Offline Retail', excerpt: 'From footfall heatmaps to purchase prediction, a deep look at how artificial intelligence is rewriting the rules for physical stores.', featured: false, }, { n: '04', tag: 'Growth', readTime: '4 min', title: 'How to Increase Repeat Customers', excerpt: 'Acquiring a new customer costs 5× more than retaining one. The playbook for building genuine loyalty in offline retail.', featured: false, }, { n: '05', tag: 'Future', readTime: '7 min', title: 'The Future of Connected Commerce', excerpt: 'Online and offline are no longer separate worlds. The retailers who win will be the ones who blur the line completely.', featured: false, }, ]; const FILTERS = ['All', 'Analytics', 'Strategy', 'Technology', 'Growth', 'Future']; export default function BlogMainPage() { const [activeFilter, setActiveFilter] = useState('All'); const [hovered, setHovered] = useState(null); const filtered = activeFilter === 'All' ? ARTICLES : ARTICLES.filter(a => a.tag === activeFilter); const featured = filtered.find(a => a.featured) || filtered[0]; const rest = filtered.filter(a => a !== featured); return (
{/* ── HERO ── */}
{/* Background photo */}
{/* Accent blobs */}

Insights for the
Future of Retail.

Explore ideas, trends, and strategies shaping modern retail, from our team to yours.

{/* ── FILTERS ── */}
{FILTERS.map(f => ( ))}
{/* ── FEATURED ARTICLE ── */} {featured && (
{/* Left — article info */}
{featured.tag} {featured.readTime} read Featured

{featured.title}

{featured.excerpt}

Read Article →
{/* Right — visual */}
{featured.n}
)} {/* ── ARTICLE GRID ── */}
{rest.map((article, i) => (
setHovered(i)} onMouseLeave={() => setHovered(null)} style={{ padding: '40px', borderRadius: 20, background: '#fff', border: `1px solid ${hovered === i ? 'rgba(244,190,40,0.3)' : 'rgba(0,0,0,0.08)'}`, transition: 'all 0.3s cubic-bezier(0.22,1,0.36,1)', transform: hovered === i ? 'translateY(-6px)' : 'translateY(0)', boxShadow: hovered === i ? '0 24px 60px rgba(0,0,0,0.1)' : '0 2px 12px rgba(0,0,0,0.04)', cursor: 'pointer', display: 'flex', flexDirection: 'column', justifyContent: 'space-between', minHeight: 280, }} >
{article.tag} {article.readTime}

{article.title}

{article.excerpt}

Read Article →
))}
{/* ── NEWSLETTER CTA ── */}

Stay ahead of retail.

Get our latest insights on AI, footfall, and the future of physical retail, delivered monthly.

); }