1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-28 17:55:15 +02:00
unleash.unleash/frontend/src/component/user/common/SecondaryLoginActions.tsx
Nuno Góis 4167a60588
feat: biome lint frontend (#4903)
Follows up on https://github.com/Unleash/unleash/pull/4853 to add Biome
to the frontend as well.


![image](https://github.com/Unleash/unleash/assets/14320932/1906faf1-fc29-4172-a4d4-b2716d72cd65)

Added a few `biome-ignore` to speed up the process but we may want to
check and fix them in the future.
2023-10-02 13:25:46 +01:00

50 lines
1.3 KiB
TypeScript

import { styled, Typography } from '@mui/material';
import { Link } from 'react-router-dom';
const StyledContainer = styled('div')(({ theme }) => ({
margin: 'auto auto 0 auto',
width: '230px',
[theme.breakpoints.down('md')]: {
marginTop: theme.spacing(2),
},
}));
const StyledLink = styled(Link)(({ theme }) => ({
fontWeight: 'bold',
textAlign: 'center',
}));
const StyledTypography = styled(Typography)(({ theme }) => ({
fontWeight: 'bold',
marginBottom: theme.spacing(1),
}));
const StyledRef = styled('a')(({ theme }) => ({
fontWeight: 'bold',
textAlign: 'center',
}));
const SecondaryLoginActions = () => {
return (
<StyledContainer>
<StyledLink to='/forgotten-password'>
<StyledTypography variant='body2'>
Forgot password?
</StyledTypography>
</StyledLink>
<Typography variant='body2'>
Don't have an account?{' '}
<StyledRef
href='https://www.getunleash.io/plans'
target='_blank'
rel='noopener noreferrer'
>
Sign up
</StyledRef>
</Typography>
</StyledContainer>
);
};
export default SecondaryLoginActions;