Skip to content

Commit

Permalink
Outbound link open in new tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Asing1001 committed Nov 28, 2023
1 parent 52d57e3 commit 14dd833
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/theaterCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ class TheaterCard extends React.PureComponent<any, any> {
</Link>
<div style={{ paddingTop: '0.5em', display: 'flex', alignItems: 'center' }}>
{url && (
<a href={url} style={{ whiteSpace: 'nowrap', ...theaterCardStyle }}>
<a href={url} style={{ whiteSpace: 'nowrap', ...theaterCardStyle }} target="_blank">
<SVGAVWeb color={grey500} viewBox={'-3 0 30 24'} />
線上購票
</a>
)}
<a href={`https://maps.google.com?q=${name}`} style={theaterCardStyle}>
<a href={`https://maps.google.com?q=${name}`} style={theaterCardStyle} target="_blank">
<SVGCommunicationLocationOn color={grey500} viewBox={'-3 0 30 24'} />
{distance ? `(${distance}km)${address}` : address}
</a>
Expand Down

0 comments on commit 14dd833

Please sign in to comment.