Skip to content

Commit

Permalink
feat: venues addresses to be clickable links (#202)
Browse files Browse the repository at this point in the history
feat: venues addresses to be clickable link that opens in new tab (#202)

feat: venues addresses to be clickable link that opens in new tab (#202)
  • Loading branch information
Mithilesh-create committed Sep 28, 2023
1 parent 9b36c4d commit 83fdb66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/venue/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ function Venue({ city }) {
<Paragraph className='mt-[24px]'>{city.description}</Paragraph>

<Heading typeStyle='lg' className='text-white mt-[24px]'>
<a href={`http://maps.google.com/?q=${city.address}`} target='_blank'>
{city.address}
</a>
</Heading>
<Heading typeStyle='lg' className='text-white mt-[24px]'>
{city.date}
Expand Down

0 comments on commit 83fdb66

Please sign in to comment.