Skip to content
Snippets Groups Projects
Commit 4804afc2 authored by Tojo's avatar Tojo
Browse files

maj header

parent 493abb2f
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,10 @@ interface TocProps {
}
export function Toc(props: TocProps): JSX.Element;
interface Iheader {}
interface Iheader {
className?: string
logo?: any
}
export function Header(props: Iheader): JSX.Element;
interface LinkProps {
......
......@@ -5,11 +5,17 @@ import logoSig from "../../images/logo-egeo.png";
import MenuMobile from "./menuMobile";
import Profil from "./Profil";
const Header = () => {
interface Iheader {
className?: string
logo?: any
}
const Header = (props: Iheader) => {
const {className='', logo} = props
return (
<>
<div className="navbar bg-base-100 sticky top-0">
<div className="navbar-start">
<div className="navbar bg-accent sticky top-0">
<div className="navbar-start">
<div className="dropdown">
<label tabIndex={0} className="btn btn-ghost lg:hidden">
<svg
......
......@@ -14,7 +14,10 @@ const header = () => {
<div className="mockup-code">
<pre>
<code>
{`No interface`}
{`interface Iheader {
className?: string
logo?: any
}`}
</code>
</pre>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment