diff --git a/src/components/Admin/Header.tsx b/src/components/Admin/Header.tsx index be4a93f4..e87097b5 100644 --- a/src/components/Admin/Header.tsx +++ b/src/components/Admin/Header.tsx @@ -1,8 +1,35 @@ import Head from "next/head"; import { signOut } from "next-auth/react"; import React from "react"; +import Link from "next/link"; -const Header = () => ( +function Breadcrumbs({ breadcrumbs }) { + return ( + + ); +} + +const Header = ({ + breadcrumbs = [{ link: "/administration-annuaire", text: "Admin" }], +}) => ( <> @@ -11,22 +38,7 @@ const Header = () => (
- +