Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ExploreViewLink component to use MuiLink with NextJS Link component #296

Open
frano-m opened this issue Dec 12, 2024 · 0 comments
Open
Assignees

Comments

@frano-m
Copy link
Contributor

frano-m commented Dec 12, 2024

Currently, ExploreViewLink is only using Next Link component. Therefore default Mui Link styles are not being applied to the link.

Approach

  1. Update the component to render Link from Mui, and pass in Next Link via the component prop. See Link component for an example.
  2. Add TypographyProps and props to ExploreViewLink and pass these in via the Link component.

DOD

  1. Link shows an underline by default, and removes the underline on hover.
  2. Application of TypographyProps like variant/colour are responsive.
  3. Application of other LinkProps i.e. underline are responsive.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants