Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drawer: add link to mentors
Browse files Browse the repository at this point in the history
wei2912 committed Jun 16, 2023
1 parent efd67dc commit 693487e
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
@@ -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";

@@ -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>
@@ -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>

0 comments on commit 693487e

Please sign in to comment.