Skip to content

Commit 6184d75

Browse files
authored
feat: stand out the waitlist link (#2869)
1 parent d925b09 commit 6184d75

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

client/src/modules/Mentor/pages/Interviews/components/WaitListAlert.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Alert, Typography } from 'antd';
1+
import { Alert, theme, Typography } from 'antd';
22
import InfoCircleTwoTone from '@ant-design/icons/InfoCircleTwoTone';
33
import Link from 'next/link';
44
import { getInterviewWaitList } from 'domain/interview';
@@ -12,6 +12,7 @@ export function WaitListAlert({
1212
interviewId: number;
1313
startDate: string;
1414
}) {
15+
const { token } = theme.useToken();
1516
const [isDismissed, setDismissed] = useAlert(`waitlist-alert-${interviewId}`);
1617

1718
if (isDismissed) return null;
@@ -28,7 +29,12 @@ export function WaitListAlert({
2829
<>
2930
<Typography.Text onClick={e => e?.stopPropagation()}>
3031
Excellent candidates are waiting for their mentor. Please check the{' '}
31-
<Link href={getInterviewWaitList(courseAlias, interviewId)}>students' waitlist.</Link>
32+
<Link
33+
style={{ fontWeight: 'bold', color: token.blue7, letterSpacing: '0.1ch' }}
34+
href={getInterviewWaitList(courseAlias, interviewId)}
35+
>
36+
students' waitlist.
37+
</Link>
3238
</Typography.Text>
3339
<div className="icon-group" />
3440
</>

0 commit comments

Comments
 (0)