Skip to content

Commit 689699b

Browse files
authored
fix: team member icon fixes (#1564)
* flip team member arrow icons * link icon for website
1 parent a83f168 commit 689699b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

components/storyblok/StoryblokTeamMemberCard.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { columnStyle, rowStyle } from '@/styles/common';
77
import { KeyboardArrowUp } from '@mui/icons-material';
88
import KeyboardArrowDownIcon from '@mui/icons-material/KeyboardArrowDown';
99
import LanguageIcon from '@mui/icons-material/Language';
10+
import LinkIcon from '@mui/icons-material/Link';
1011
import { Box, Card, CardActionArea, CardContent, Collapse, Link, Typography } from '@mui/material';
1112
import { storyblokEditable } from '@storyblok/react/rsc';
1213
import { useTranslations } from 'next-intl';
@@ -191,7 +192,7 @@ const StoryblokTeamMemberCard = (props: StoryblokTeamMemberCardProps) => {
191192
)}
192193
{show_short_bio && website?.url && (
193194
<Box sx={{ ...iconRowStyles, ...fadeOut }}>
194-
<LanguageIcon color="error" sx={iconStyles} />
195+
<LinkIcon color="error" sx={iconStyles} />
195196
<Link variant="body2" href={website.url} sx={{ textDecoration: 'none' }}>
196197
{websiteTitle}
197198
</Link>
@@ -200,9 +201,9 @@ const StoryblokTeamMemberCard = (props: StoryblokTeamMemberCardProps) => {
200201
{cardExpandable && (
201202
<Box sx={expandButtonContainerStyles}>
202203
{expanded ? (
203-
<KeyboardArrowDownIcon color="error" />
204-
) : (
205204
<KeyboardArrowUp color="error" />
205+
) : (
206+
<KeyboardArrowDownIcon color="error" />
206207
)}
207208
</Box>
208209
)}
@@ -224,7 +225,7 @@ const StoryblokTeamMemberCard = (props: StoryblokTeamMemberCardProps) => {
224225
)}
225226
{!show_short_bio && website?.url && (
226227
<Link href={website.url} target="_blank" sx={{ ...iconRowStyles, mt: 2, mb: 0 }}>
227-
<LanguageIcon color="error" />
228+
<LinkIcon color="error" sx={iconStyles} />
228229
{websiteTitle}
229230
</Link>
230231
)}

0 commit comments

Comments
 (0)