-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0b6ac13
commit ddf2ae6
Showing
4 changed files
with
85 additions
and
2 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
src/components/AdminNavigation/AdminNavigation.component.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import React from 'react'; | ||
import { List } from 'antd'; | ||
import styles from './AdminNavigation.module.css'; | ||
|
||
const adminNavigationData = [ | ||
'Manage Mentors', | ||
'Manage Mentor Applications', | ||
'Mentee Applications', | ||
'Ongoing Mentorship Programs', | ||
'Platform Settings', | ||
'Manage Users', | ||
'Emails', | ||
]; | ||
|
||
const AdminNavigation: React.FC = () => { | ||
return ( | ||
<div className={styles.antAdminNavigation}> | ||
<div className={styles.antAdminNavigationSidebar}> | ||
<List | ||
className={styles.antAdminNavigationContent} | ||
size="small" | ||
dataSource={adminNavigationData} | ||
renderItem={(item) => ( | ||
<List.Item className={styles.antAdminNavigationItem}> | ||
{item} | ||
</List.Item> | ||
)} | ||
/> | ||
</div> | ||
<div className={styles.verticalLine}></div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default AdminNavigation; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
.antAdminNavigation { | ||
display: flex; | ||
margin: 25px 5px 25px 5px; | ||
font-family: -apple-system, SanFranciscoText, sans-serif; | ||
color: #32325d; | ||
font-size: 43px; | ||
} | ||
|
||
.antAdminNavigationSidebar { | ||
flex: 1; | ||
} | ||
|
||
.verticalLine { | ||
width: 1px; | ||
background-color: #d9d9d9; | ||
margin: 10px 0; | ||
} | ||
|
||
.antAdminNavigationItem { | ||
transition: background-color 0.3s, color 0.3s; | ||
color: #1d1d1f; | ||
font-weight: 400; | ||
line-height: normal; | ||
text-transform: capitalize; | ||
margin-top: 8px; | ||
margin-right: 8px; | ||
border-bottom: none !important; | ||
} | ||
|
||
.antAdminNavigationItem:hover { | ||
background-color: #e6f4ff; | ||
cursor: pointer; | ||
color: #1677ff; | ||
font-weight: 400; | ||
line-height: normal; | ||
text-transform: capitalize; | ||
border-radius: 7px; | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters