const BB_CONTACT={
email:'contact@boldbee.store',
phone:'+919667056647',
social:[
['instagram','Instagram','https://www.instagram.com/bold_bee_pvt_ltd/'],
['facebook','Facebook','https://www.facebook.com/BoldBeePvtLtd/'],
['pinterest','Pinterest','https://in.pinterest.com/BOLD_BEE_PVT_LTD/'],
['play','YouTube','https://www.youtube.com/@BoldBee.Store__India']
]
};
const CATEGORY_NAV=[
{label:'Women',href:'Collections.html?gender=women',mega:[
{title:'Sarees',items:[['Banarasi','Gold zari brocade'],['Kanjivaram','Temple-motif silk'],['Organza','Sheer, luminous drape'],['Tussar','Textured wild silk'],['Linen Silk','Light, everyday elegance'],['Handwoven Silk','One loom, one length']]},
{title:'Ready-to-Wear',items:[['T-Shirts','Everyday cotton essentials']]}
]},
{label:'Men',href:'Collections.html?gender=men',mega:[
{title:'Ready-to-Wear',items:[['T-Shirts','Everyday cotton essentials'],['Trousers','Tailored cotton twill']]}
]},
{label:'Jewellery',href:'Collections.html?weave=Jewellery',mega:[
{title:'Jewellery',items:[['Jewellery','Gold vermeil, hand-finished']]}
]},
{label:'Fragrances',href:'Collections.html?weave=Fragrances',mega:[
{title:'Fragrances',items:[['Fragrances','Layered, long-lasting compositions']]}
]},
{label:'Craftsmanship',href:'Craftsmanship.html'},
{label:'Journal',href:'Journal.html'},
{label:'Brand Story',href:'About.html'}
];
function AnnouncementBar(){
return
Complimentary shipping across India · Handwoven, made to order
;
}
function Header({home='index.html'}){
const [openMegaKey,setOpenMegaKey]=React.useState(null);
const [openAcct,setOpenAcct]=React.useState(false);
const fg='var(--text-primary)';
const cartCount=typeof useCartCount==='function'?useCartCount():0;
const user=typeof useAuth==='function'?useAuth():null;
const megaTimer=React.useRef(null);
const acctTimer=React.useRef(null);
const navRef=React.useRef(null);
const acctRef=React.useRef(null);
function openMegaNow(key){clearTimeout(megaTimer.current);setOpenMegaKey(key);}
function closeMegaSoon(){clearTimeout(megaTimer.current);megaTimer.current=setTimeout(()=>setOpenMegaKey(null),200);}
function openAcctNow(){clearTimeout(acctTimer.current);setOpenAcct(true);}
function closeAcctSoon(){clearTimeout(acctTimer.current);acctTimer.current=setTimeout(()=>setOpenAcct(false),200);}
React.useEffect(()=>{
function onKey(e){if(e.key==='Escape'){setOpenMegaKey(null);setOpenAcct(false);}}
function onClickOutside(e){
if(navRef.current&&!navRef.current.contains(e.target))setOpenMegaKey(null);
if(acctRef.current&&!acctRef.current.contains(e.target))setOpenAcct(false);
}
document.addEventListener('keydown',onKey);
document.addEventListener('mousedown',onClickOutside);
return ()=>{document.removeEventListener('keydown',onKey);document.removeEventListener('mousedown',onClickOutside);};
},[]);
return (
Bold Bee
{(()=>{const openItem=CATEGORY_NAV.find(i=>i.mega&&openMegaKey===i.label);return openItem&&(
openMegaNow(openItem.label)} onMouseLeave={closeMegaSoon} style={{position:'absolute',left:'50%',transform:'translateX(-50%)',top:'100%',background:'var(--white)',border:'1px solid var(--border-soft)',boxShadow:'var(--shadow-card)',padding:'40px',width:'max(560px, 30vw)',maxWidth:'calc(100vw - 48px)',zIndex:40}}>
{openItem.mega.map(col=>(
{col.title}
{col.items.map(([n,d])=>(
{n}
{d}
))}
))}
);})()}
{typeof CollectionToast!=='undefined'&&}
);
}
function Newsletter(){
const [email,setEmail]=React.useState('');
const [state,setState]=React.useState('idle');
function submit(e){
e.preventDefault();
const valid=/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email.trim());
if(!valid){setState('error');return;}
setState('success');
if(typeof NotificationStore!=='undefined')NotificationStore.publish('newsletter.subscribed',{email:email.trim()});
}
return (
Stay Close to the Loom
Notes on new weaves, quietly, once a month.
{state==='success'?(
Thank you — you are on the list.
):(
)}
);
}
function Footer(){
return (
);
}
Object.assign(window,{AnnouncementBar,Header,Footer,Newsletter});