Hospitality

const Venue = ({data}) => { const { name, image, capacity, style, room, content, virtual_link, location } = data; const url = `https://hospitalityservices.aut.ac.nz/contact?room=${room}&style=${style}`; const virtual_link_contents = () => { const { virtual_link } = data; if(virtual_link){ return (
Virtual tour
); } return (
); } return (

{name}

Capacity {capacity}
Style {style}
Room no {room}
{virtual_link_contents()}
{content}
); };