Fix icons
This commit is contained in:
1 parent
204caf3a8c
commit
a99a4d5943
1 file changed
+3
-3
@@ -64,12 +64,12 @@ function Header() {
|
|||||||
setunreadNotification(false);
|
setunreadNotification(false);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<img className={styles.notificationsImg} src="bell.svg" alt="notifications"/>
|
<img className={styles.notificationsImg} src="/bell.svg" alt="notifications"/>
|
||||||
{unreadNotification && <span className={styles.notificationBadge}></span>}
|
{unreadNotification && <span className={styles.notificationBadge}></span>}
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<Link to="/profile" className={styles.profileLink}>
|
<Link to="/profile" className={styles.profileLink}>
|
||||||
<img className={styles.profileImg} src="person.svg" alt="profile"/>
|
<img className={styles.profileImg} src="/person.svg" alt="profile"/>
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
@@ -114,7 +114,7 @@ function Header() {
|
|||||||
className={styles.closeBtn}
|
className={styles.closeBtn}
|
||||||
onClick={() => setNotifications(prev => prev.filter((_, i) => i !== index))}
|
onClick={() => setNotifications(prev => prev.filter((_, i) => i !== index))}
|
||||||
>
|
>
|
||||||
<img src="close.svg" alt="supprimer la notification"/>
|
<img src="/close.svg" alt="supprimer la notification"/>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
))
|
))
|
||||||
|
|||||||
Reference in new issue
Block a user