export const collectionVenueId = { galleries : { id : 'Wsttgx8AAJeSNmJ4' , name : 'Galleries' , } , libraries : { id : 'WsuS_R8AACS1Nwlx' , name : 'Library' , } , restaurant : { id : 'WsuYER8AAOG_NyBA' , name : 'Restaurant' , } , shop : { id : 'WsuaIB8AAH-yNylo' , name : 'Shop' , } , café : { id : 'WsuZKh8AAOG_NyUo' , name : 'Café' , } , } ; export const prismicPageIds = { covidWelcomeBack : 'X5amzBIAAB0Aq6Gm' , covidBookYourTicket : 'X5aomxIAAB8Aq6n5' , whatWeDo : 'WwLGFCAAAPMiB_Ps' , visitUs : 'X8ZTSBIAACQAiDzY' , collections : 'YBfeAhMAACEAqBTx' , whatsOn : 'YD_IQxAAACUAK6HG' , getInvolved : 'YDaZmxMAACIAT9u8' , stories : 'YD_E-BAAACEAK5LX' , aboutUs : 'Wuw2MSIAACtd3Stq' , copyrightClearance : 'YGSEhxAAACgAXL4E' , register : 'X_2eexEAACQAZLBi' , contactUs : 'YVMbEBAAAPaMBrz7' , } ; export const getNameFromCollectionVenue = ( id ) => { for ( const [ key , value ] of Object . entries ( collectionVenueId ) ) { if ( value && value . id === id ) { return collectionVenueId [ key ] . name ; } } } ; export const sectionLevelPages = [ prismicPageIds . visitUs , prismicPageIds . collections , prismicPageIds . getInvolved , ] ;