Skip to content

Commit

Permalink
fixing links to be more accessible by adding underline
Browse files Browse the repository at this point in the history
  • Loading branch information
tfhuhtal committed Oct 17, 2024
1 parent b839630 commit 689f435
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/client/components/Footer-default.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const Footer = ({ user }) => {
<div>
<Typography>
{t('footer:contactSupport')}:{' '}
<Link href={`mailto:${t('links:supportEmail')}`} underline="hover">
<Link href={`mailto:${t('links:supportEmail')}`} underline="always">
{t('links:supportEmail')}
</Link>
</Typography>
Expand All @@ -71,7 +71,7 @@ const Footer = ({ user }) => {
)}
</div>
<Box display="flex" flexDirection="column" alignItems="center" rowGap="1rem">
<Link href={t('links:toska')} target="_blank" rel="noopener" underline="hover">
<Link href={t('links:toska')} target="_blank" rel="noopener" underline="always">
<img src={images.toska_color} loading="lazy" style={styles.logo} alt="Toska" />
</Link>
{duration && (
Expand Down
2 changes: 1 addition & 1 deletion src/client/components/common/ExternalLink.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const styles = {
}

const ExternalLink = ({ children, ...props }) => (
<Link target="_blank" rel="noopener" {...props} underline="hover">
<Link target="_blank" rel="noopener" {...props} underline="always">
{children}
<ExternalLinkIcon sx={styles.icon} />
</Link>
Expand Down
7 changes: 6 additions & 1 deletion src/client/components/common/LinkButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ const LinkButton = ({ title, to, external = false, ...rest }) => {
}

return (
<Button {...rest} size="small" {...buttonProps}>
<Button
{...rest}
size="small"
{...buttonProps}
sx={{ textDecoration: 'underline', '&:hover': { textDecoration: 'underline' } }}
>
{title}
</Button>
)
Expand Down

0 comments on commit 689f435

Please sign in to comment.