Skip to content

Commit

Permalink
Add logo and style nav title section
Browse files Browse the repository at this point in the history
  • Loading branch information
samau3 committed Sep 26, 2024
1 parent 2187380 commit 615064e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
11 changes: 8 additions & 3 deletions client/src/components/Sidebar/Sidebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,14 @@ const sections = [
export function Sidebar() {
return (
<nav className={classes.navbar}>
<Group>
<div>Icon</div>
<h3 className={classes.title}>SF Life Line</h3>
<Group align="center" className={classes.title}>
<img
src="/logo.svg"
alt="SF Lifeline Logo"
width={'30rem'}
height={'30rem'}
/>
<p>SF Life Line</p>
</Group>
<ScrollArea className={classes.links}>
<div className={classes.linksInner}>
Expand Down
9 changes: 8 additions & 1 deletion client/src/components/Sidebar/sidebar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,14 @@
}

.title {
margin-bottom: 0;
margin-top: 1rem;
margin-left: 1rem;
}

.title > p {
margin: 0;
font-size: 1.25rem;
font-weight: 700;
}

.links {
Expand Down

0 comments on commit 615064e

Please sign in to comment.