Skip to content

Commit

Permalink
drawer: add link to mentors
Browse files Browse the repository at this point in the history
  • Loading branch information
wei2912 committed Jun 16, 2023
1 parent b920c1e commit d49528e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions components/Drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ interface Props {

const URL_HOME = "https://advisory.sg/";
const URL_FAQ = "/faq";
const URL_MENTORS = "/mentors";
const URL_TYPEFORM =
"https://advisorysg.typeform.com/to/NQaJmE6j#source=mentorsite";

Expand All @@ -40,7 +41,11 @@ const ResponsiveDrawer = (props: Props) => {
<div>
<List>
<ListItem disablePadding>
<ListItemButton component="a" onClick={handleDrawerToggle}>
<ListItemButton
component="a"
href={URL_MENTORS}
onClick={handleDrawerToggle}
>
<ListItemText primary="Find A Mentor" />
</ListItemButton>
</ListItem>
Expand Down Expand Up @@ -81,7 +86,9 @@ const ResponsiveDrawer = (props: Props) => {
style={{ justifyContent: "flex-end" }}
sx={{ display: { xs: "none", sm: "flex", md: "flex" } }}
>
<Button>Find A Mentor</Button>
<Button component="a" href={URL_MENTORS}>
Find A Mentor
</Button>
<Button component="a" href={URL_FAQ}>
FAQ
</Button>
Expand Down

0 comments on commit d49528e

Please sign in to comment.