Compare commits
6
Commits
e4271825f6
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d6ecb46c8d | ||
|
|
9d8ff6b793 | ||
|
|
9c62ae11a7 | ||
|
|
6834985334 | ||
|
|
c1950629f1 | ||
|
|
f9482d5b68 |
@@ -1,6 +1,6 @@
|
|||||||
/* En-tête fixe de l'application Data Sentinel */
|
/* En-tête fixe de l'application Data Sentinel */
|
||||||
|
|
||||||
import { Bell, LogOut, Menu } from 'lucide-react';
|
import { LogOut, Menu } from 'lucide-react';
|
||||||
import { useAuth } from '../../context/useAuth';
|
import { useAuth } from '../../context/useAuth';
|
||||||
import { useNavigate } from 'react-router-dom';
|
import { useNavigate } from 'react-router-dom';
|
||||||
import styles from './Header.module.css';
|
import styles from './Header.module.css';
|
||||||
@@ -40,9 +40,6 @@ export default function Header({ onToggleSidebar, sidebarOpen }) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className={styles.right}>
|
<div className={styles.right}>
|
||||||
<button className={styles.iconBtn} aria-label="Notifications">
|
|
||||||
<Bell size={18} color="var(--color-white)" aria-hidden="true" />
|
|
||||||
</button>
|
|
||||||
{user && (
|
{user && (
|
||||||
<span className={styles.username} aria-label={`Connecté en tant que ${user.username}`}>
|
<span className={styles.username} aria-label={`Connecté en tant que ${user.username}`}>
|
||||||
{user.username}
|
{user.username}
|
||||||
|
|||||||
@@ -68,15 +68,6 @@
|
|||||||
gap: 16px;
|
gap: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.iconBtn {
|
|
||||||
background: none;
|
|
||||||
border: none;
|
|
||||||
cursor: pointer;
|
|
||||||
padding: 4px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.username {
|
.username {
|
||||||
color: var(--color-white);
|
color: var(--color-white);
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
@@ -122,7 +113,6 @@
|
|||||||
|
|
||||||
/* Focus visible sur tous les éléments interactifs */
|
/* Focus visible sur tous les éléments interactifs */
|
||||||
.burgerBtn:focus-visible,
|
.burgerBtn:focus-visible,
|
||||||
.iconBtn:focus-visible,
|
|
||||||
.logoutBtn:focus-visible {
|
.logoutBtn:focus-visible {
|
||||||
outline: 2px solid var(--color-white);
|
outline: 2px solid var(--color-white);
|
||||||
outline-offset: 2px;
|
outline-offset: 2px;
|
||||||
|
|||||||
@@ -178,7 +178,7 @@ export default function CGU() {
|
|||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer className={styles.footer} role="contentinfo">
|
<footer className={styles.footer} role="contentinfo">
|
||||||
<p>Data Sentinel v1.0 — COYAUD Anthony, Nexa Digital School 2026</p>
|
<p>Data Sentinel v1.1.0 — COYAUD Anthony, Nexa Digital School 2026</p>
|
||||||
<nav aria-label="Liens légaux">
|
<nav aria-label="Liens légaux">
|
||||||
<a href="/mentions-legales">Mentions légales</a>
|
<a href="/mentions-legales">Mentions légales</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ export default function Documentation() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className={styles.footer}>
|
<div className={styles.footer}>
|
||||||
<p>Data Sentinel v1.0 — Développé par COYAUD Anthony, Nexa Digital School 2026</p>
|
<p>Data Sentinel v1.1.0 — Développé par COYAUD Anthony, Nexa Digital School 2026</p>
|
||||||
<p>
|
<p>
|
||||||
<a href="/cgu" className={styles.link}>CGU</a>
|
<a href="/cgu" className={styles.link}>CGU</a>
|
||||||
{' · '}
|
{' · '}
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ export default function MentionsLegales() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer className={styles.footer}>
|
<footer className={styles.footer}>
|
||||||
<p>Data Sentinel v1.0 — COYAUD Anthony, Nexa Digital School 2026</p>
|
<p>Data Sentinel v1.1.0 — COYAUD Anthony, Nexa Digital School 2026</p>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user