Skip to content

Commit

Permalink
Merge pull request #35 from Code-the-Dream-School/AlarmIconOnMainNav
Browse files Browse the repository at this point in the history
Moved Alarm Button no functionality added
  • Loading branch information
F-sh2019 authored Dec 12, 2024
2 parents 4899e10 + 1d4288f commit 3c635f5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import Logo from './Logo';
import { FaAlignLeft } from 'react-icons/fa';
import { useDashboardContext } from '../pages/Dashboard';
import { LogoutContainer } from '.';
import { TbBellFilled } from 'react-icons/tb';

const Navbar = () => {
const { toggleSidebar } = useDashboardContext();
Expand All @@ -17,6 +18,9 @@ const Navbar = () => {
<h4 className="logo-text">MediStock</h4>
</div>
<div className="btn-container">
<button className="bell-button">
<TbBellFilled className="bell-icon" />
</button>
<LogoutContainer />
</div>
</div>
Expand Down Expand Up @@ -73,5 +77,15 @@ const Wrapper = styled.nav`
display: block;
color: var(--color-blue-dark);
}
.bell-button {
border: 15px solid var(--color-alert);
border-radius: 50%;
margin-right: 1rem;
}
.bell-icon {
font-size: 1.5rem;
background-color: var(--color-alert);
color: white;
}
}
`;

0 comments on commit 3c635f5

Please sign in to comment.