Skip to content

Commit

Permalink
fix: clicking on address navigates you to the google maps (#271)
Browse files Browse the repository at this point in the history
* clicking on address navigates you to the google maps

* underline the address on hover

---------

Co-authored-by: Ace <[email protected]>
  • Loading branch information
helios2003 and AceTheCreator authored Mar 15, 2024
1 parent 71da2c4 commit c260e82
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pages/venue/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ function Venue({ city }) {
</Heading>
<Paragraph className='mt-[24px]' textColor='text-white'>{city.description}</Paragraph>

<Heading typeStyle='lg' className='text-white mt-[24px]'>
{city.address}
<Heading typeStyle='lg' className='text-white mt-[24px] hover:underline'>
<a href={city.map} target='_blank' rel="noreferrer">
{city.address}
</a>
</Heading>
<Heading typeStyle='lg' className='text-white mt-[24px]'>
{city.date}
Expand Down

0 comments on commit c260e82

Please sign in to comment.