/* global React */ // Gallery const { useState } = React; const NS_G = window.GamekeepersCottageDesignSystem_070bc7; const { Eyebrow, Button } = NS_G; const useShell = window.GKuseShell; const IMG = window.GK_IMG; const CATS = [ ['All', null], ['The cottage', 'cottage'], ['Interiors', 'interior'], ['Garden & woodland', 'garden'], ['Wildlife', 'wildlife'], ]; const PHOTOS = [ [IMG.heroExterior, 'The cottage', 'cottage'], [IMG.exterior1, 'Front of the cottage', 'cottage'], [IMG.drive, 'The drive', 'cottage'], [IMG.aerial, 'Aerial view', 'cottage'], [IMG.exterior4, 'Cottage & grounds', 'cottage'], [IMG.cottage02, 'In the clearing', 'cottage'], [IMG.living1, 'Sitting room', 'interior'], [IMG.living2, 'By the log burner', 'interior'], [IMG.dining, 'Dining room', 'interior'], [IMG.kitchen, 'Kitchen', 'interior'], [IMG.kitchen2, 'Kitchen view', 'interior'], [IMG.doubleRoom, 'Double bedroom', 'interior'], [IMG.twinRoom, 'Twin bedroom', 'interior'], [IMG.singleRoom, 'Single bedroom', 'interior'], [IMG.bathroom, 'Bathroom', 'interior'], [IMG.garden, 'The garden', 'garden'], [IMG.garden2, 'Garden view', 'garden'], [IMG.garden3, 'Garden in summer', 'garden'], [IMG.extensiveGarden, 'Extensive grounds', 'garden'], [IMG.pond, 'The pond', 'garden'], [IMG.woodDen, 'Wood den', 'garden'], [IMG.stroll, 'A woodland stroll', 'garden'], [IMG.picnic, 'Picnic & BBQ', 'garden'], [IMG.toadstool, 'Toadstool', 'garden'], [IMG.deer, 'Deer in the garden', 'wildlife'], [IMG.squirrel, 'Squirrel', 'wildlife'], [IMG.pheasant, 'George the pheasant', 'wildlife'], [IMG.butterfly, 'Red admiral', 'wildlife'], ]; function GalleryContent() { const { openLightbox } = useShell(); const [cat, setCat] = useState(null); const list = PHOTOS.filter(p => !cat || p[2] === cat).map(p => ({ src: p[0], label: p[1] })); return (
Gallery

The cottage in pictures

The cottage, its interiors, the gardens and woodland — and the wildlife that visits. All photographs are our own.

{CATS.map(([label, key]) => ( ))}
{list.map((p, i) => (
))}
); } window.GKmount('gallery', GalleryContent);