function PhotoTile({ src, label }) {
const [h, setH] = React.useState(false);
return (
setH(true)} onMouseLeave={() => setH(false)}
style={{ aspectRatio: '4/3', overflow: 'hidden', cursor: 'pointer', position: 'relative' }}>
{label}
);
}
const G_SRCS = ['img/cleaning-1.webp','img/training-1.webp','img/cleaning-4.webp','img/training-2.webp','img/cleaning-3.webp','img/cleaning-2.webp'];
function Gallery({ lang = 'th' }) {
const t = window.tr('gallery', lang);
return (
{t.eyebrow}
{t.h1a} {t.h1b}
{t.desc}
);
}
window.Gallery = Gallery;