-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAdminSidebar.jsx
More file actions
45 lines (43 loc) · 1.57 KB
/
AdminSidebar.jsx
File metadata and controls
45 lines (43 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import "./styles.css";
import { Link } from "react-router-dom";
import logo from "../../../assets/logo.png";
import LogoutButton from "../../CommonComponents/LogoutButton/LogoutButton";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import {
faFileAlt,
faUserEdit,
faEye,
faEnvelope
} from "@fortawesome/free-solid-svg-icons";
const AdminSidebar = () => {
return (
<div className="admin-sidebar">
<div className="sidebar-header">
<Link to="/admin/navigation-page" className="un-underlined">
<img src={logo} alt="Logo" className="logo" />
</Link>
<Link to="/admin/navigation-page" className="un-underlined">
<h1 className="navbar-title">Amp Intelligence</h1>
</Link>
</div>
<nav className="sidebar-nav">
<Link to="/admin/view-providers" className="sidebar-link">
<FontAwesomeIcon icon={faEye} className="sidebar-icon" />
<span className="link-text">View Providers</span>
</Link>
<Link to="/admin/edit-provider" className="sidebar-link">
<FontAwesomeIcon icon={faUserEdit} className="sidebar-icon" />
<span className="link-text">Edit Provider</span>
</Link>
<Link to="/admin/contact-messages" className="sidebar-link">
<FontAwesomeIcon icon={faEnvelope} className="sidebar-icon" />
<span className="link-text">Contact Messages</span>
</Link>
</nav>
<div className="sidebar-footer">
<LogoutButton />
</div>
</div>
);
};
export default AdminSidebar;