diff --git a/app/components/Footer.tsx b/app/components/Footer.tsx new file mode 100644 index 0000000..050eb13 --- /dev/null +++ b/app/components/Footer.tsx @@ -0,0 +1,13 @@ +export default function Footer() { + return ( +
+
+

© {new Date().getFullYear()} Hy Nguyen

+

+ Disclaimer: This is a + demo website project, not a real online store! +

+
+
+ ); +} diff --git a/app/components/Navbar.tsx b/app/components/Navbar.tsx index 6f074b3..713253f 100644 --- a/app/components/Navbar.tsx +++ b/app/components/Navbar.tsx @@ -1,4 +1,3 @@ -import { useEffect, useState, useRef } from "react"; import { Link } from "@remix-run/react"; import brandTextImage from "~/assets/brand_text.png"; diff --git a/app/root.tsx b/app/root.tsx index b163628..e21b7db 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -31,6 +31,7 @@ import { RawCartItem, } from "./utils/types/ContextProps.type"; import PopupNotificationsList from "./components/PopupNotificationsList"; +import Footer from "./components/Footer"; export const links: LinksFunction = () => [ { rel: "stylesheet", href: stylesheet }, @@ -218,6 +219,8 @@ function App() { /> +