diff --git a/app/components/ui/header.tsx b/app/components/ui/header.tsx index b164d8e0..3911bbf0 100644 --- a/app/components/ui/header.tsx +++ b/app/components/ui/header.tsx @@ -1,9 +1,9 @@ +import account from "/images/account.png"; +import logo1 from "/images/logodesktop.png"; +import logo2 from "/images/logomobile.png"; +import notification from "/images/notification.png"; import { FC, useState } from "react"; -import account from "../../../public/images/account.png"; -import logo1 from "../../../public/images/logodesktop.png"; -import logo2 from "../../../public/images/logomobile.png"; -import notification from "../../../public/images/notification.png"; import MenuButton from "../sidebar/menu-button"; import MobileSidebarComponent from "../sidebar/sidebar"; @@ -23,14 +23,14 @@ const Header: FC = () => { )}
logo -
+
logo -

+

HNG Boilerplate

diff --git a/app/root.tsx b/app/root.tsx index 6df0c21b..9b1f7a4d 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -10,6 +10,7 @@ import { import type { ReactNode } from "react"; import FooterLight from "./components/ui/footerLight"; +import Header from "./components/ui/header"; import styles from "./styles/global.css?url"; export const links: LinksFunction = () => [ @@ -29,6 +30,7 @@ export function Layout({ children }: { children: ReactNode }) {
+
{children}