Skip to content

Commit

Permalink
change sidebar icons
Browse files Browse the repository at this point in the history
  • Loading branch information
reutmihai committed Oct 24, 2024
1 parent 6b3bf4a commit b765274
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
Binary file added src/assets/faculty-sidebar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/university-sidebar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 10 additions & 2 deletions src/components/Sidebar/Sidebar.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import React from 'react';
import styles from './Sidebar.module.css';
import university from "../../assets/university-sidebar.png";
import faculty from "../../assets/faculty-sidebar.png";

const Sidebar = () => {
return (
Expand All @@ -10,12 +12,18 @@ const Sidebar = () => {
<ul>
<li>
<a href="#">
<span className={styles.icon}>📚</span> University
<span>
<img src={faculty} className={styles.icon} />
</span>
University
</a>
</li>
<li>
<a href="#">
<span className={styles.icon}>🏛</span> Faculties
<span>
<img src={university} className={styles.icon} />
</span>
Faculties
</a>
</li>
</ul>
Expand Down
2 changes: 2 additions & 0 deletions src/components/Sidebar/Sidebar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
}

.nav a {
display: flex;
gap: 10px;
font-size: 14px;
font-weight: 700;
line-height: 24px;
Expand Down

0 comments on commit b765274

Please sign in to comment.