Skip to content

Commit

Permalink
More linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
angela139 committed Jan 3, 2025
1 parent 2cfe815 commit 04d8c63
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion client/src/app/check-email/page.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
a {
align-self: center;
}
}
}
10 changes: 6 additions & 4 deletions client/src/app/check-email/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,18 @@ interface CheckEmailProps {
}

const CheckEmail = ({ searchParams }: CheckEmailProps) => {

const email = searchParams.email;

return (
<main className={styles.main}>
<div className={styles.check_email}>
<Card gap={2}>
<Heading centered>Verify your account</Heading>
<Typography variant="label/medium">We’ve sent an email to <b>{email}</b> to verify your email address and activate your account</Typography>
<Button variant="primary" href='/login'>
<Typography variant="label/medium">
We’ve sent an email to <b>{email}</b> to verify your email address and activate your
account
</Typography>
<Button variant="primary" href="/login">
Return to Log In
</Button>
</Card>
Expand All @@ -27,4 +29,4 @@ const CheckEmail = ({ searchParams }: CheckEmailProps) => {
);
};

export default CheckEmail;
export default CheckEmail;
2 changes: 1 addition & 1 deletion client/src/components/Dropdown/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ const Dropdown = ({
);
};

export default Dropdown;
export default Dropdown;
4 changes: 3 additions & 1 deletion client/src/components/Dropdown/style.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@
.contents {
background-color: vars.$card-bg;
border-radius: 8px;
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.30), 0px 1px 3px 1px rgba(0, 0, 0, 0.15);
box-shadow:
0px 1px 2px 0px rgba(0, 0, 0, 0.3),
0px 1px 3px 1px rgba(0, 0, 0, 0.15);
cursor: default;
left: 0;
margin-top: 0.5rem;
Expand Down
1 change: 0 additions & 1 deletion client/src/components/TextField/style.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,4 @@
gap: 0.5rem;
color: vars.$error;
}

}
3 changes: 2 additions & 1 deletion client/src/styles/globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ button:not(:disabled) {
cursor: pointer;
}

input, select {
input,
select {
font: inherit;
}
.link {
Expand Down

0 comments on commit 04d8c63

Please sign in to comment.