Skip to content

Commit

Permalink
feat(Navbar): add ONISEP logo
Browse files Browse the repository at this point in the history
  • Loading branch information
yohanngab committed Feb 15, 2024
1 parent 281016f commit 857babf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ui/src/common/dsfr/elements/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from "react";
import { classNames } from "../dsfr";
import { Button } from "./Button";
import { useModal } from "../common/useModal";
import logoONISEP from "./logo_onisep.svg";

function HeaderNavbar({ modals, showMenuButton, showSearchButton }) {
const { menu, search } = modals;
Expand Down Expand Up @@ -66,6 +67,9 @@ export function Header({ title, tagline, links, nav, search, modifiers, classNam
<div className="fr-header__logo">
<p className="fr-logo">République Française</p>
</div>
<div className="fr-header__operator">
<img className="fr-responsive-img" src={logoONISEP} alt="Logo ONISEP" />
</div>
<HeaderNavbar modals={modals} showMenuButton={!!nav} showSearchButton={!!search} />
</div>
{title && (
Expand Down
1 change: 1 addition & 0 deletions ui/src/common/dsfr/elements/logo_onisep.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 857babf

Please sign in to comment.