Skip to content

Commit 839da66

Browse files
author
alejot127
committed
Merge branch 'main' into deploy-staging
2 parents b24025f + 5fdea32 commit 839da66

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

src/views/Campout/DJLineUp.js

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -296,13 +296,23 @@ const DJ = ({ name, image, affiliation, bio, soundcloud, instagram }) => {
296296
bgcolor={theme.palette.primary.main}
297297
color={theme.palette.background.paper}
298298
>
299-
<img
300-
src={image}
301-
style={Object.assign({
302-
width: '100%',
303-
})}
304-
alt=""
305-
/>
299+
<Link
300+
underline="none"
301+
component="a"
302+
href={soundcloud ?? instagram}
303+
color={'text.primary'}
304+
sx={{ display: 'flex', alignItems: 'center' }}
305+
target="_blank"
306+
rel="noopener noreferrer"
307+
>
308+
<img
309+
src={image}
310+
style={Object.assign({
311+
width: '100%',
312+
})}
313+
alt=""
314+
/>
315+
</Link>
306316
</Box>
307317
)}
308318
<Typography
@@ -340,6 +350,8 @@ const DJ = ({ name, image, affiliation, bio, soundcloud, instagram }) => {
340350
href={soundcloud}
341351
color={'text.primary'}
342352
sx={{ display: 'flex', alignItems: 'center' }}
353+
target="_blank"
354+
rel="noopener noreferrer"
343355
>
344356
<IconSoundcloud color={'text.primary'} />
345357
</Link>
@@ -353,6 +365,8 @@ const DJ = ({ name, image, affiliation, bio, soundcloud, instagram }) => {
353365
href={instagram}
354366
color={'text.primary'}
355367
sx={{ display: 'flex', alignItems: 'center' }}
368+
target="_blank"
369+
rel="noopener noreferrer"
356370
>
357371
<IconInstagram color={'text.primary'} />
358372
</Link>

0 commit comments

Comments
 (0)