From b0bb27cbd1117f0eb4a7c276875630b0b0b634ce Mon Sep 17 00:00:00 2001 From: Lulox Date: Wed, 25 Sep 2024 19:32:07 -0300 Subject: [PATCH] Testing things on header and footer, may break mobile screen --- packages/nextjs/app/not-found/NotFound.tsx | 15 +++++ packages/nextjs/app/not-found/page.tsx | 18 ++++++ packages/nextjs/components/Footer.tsx | 12 ++-- packages/nextjs/components/Header.tsx | 65 +++++++++++----------- 4 files changed, 72 insertions(+), 38 deletions(-) create mode 100644 packages/nextjs/app/not-found/NotFound.tsx create mode 100644 packages/nextjs/app/not-found/page.tsx diff --git a/packages/nextjs/app/not-found/NotFound.tsx b/packages/nextjs/app/not-found/NotFound.tsx new file mode 100644 index 0000000..c5d3ae8 --- /dev/null +++ b/packages/nextjs/app/not-found/NotFound.tsx @@ -0,0 +1,15 @@ +"use client"; + +import { NextPage } from "next"; + +export const NotFound: NextPage = () => { + return ( +
+ {/* Not Found Section */} +
+

Page under development

+

Oops, sorry! No content here yet!

+
+
+ ); +}; diff --git a/packages/nextjs/app/not-found/page.tsx b/packages/nextjs/app/not-found/page.tsx new file mode 100644 index 0000000..193133d --- /dev/null +++ b/packages/nextjs/app/not-found/page.tsx @@ -0,0 +1,18 @@ +import { NotFound } from "./NotFound"; +import type { NextPage } from "next"; +import { getMetadata } from "~~/utils/scaffold-eth/getMetadata"; + +export const metadata = getMetadata({ + title: "My Profile", + description: "Built with 🏗 Scaffold-ETH 2", +}); + +const ProfilePage: NextPage = () => { + return ( + <> + + + ); +}; + +export default ProfilePage; diff --git a/packages/nextjs/components/Footer.tsx b/packages/nextjs/components/Footer.tsx index 1290688..41fd8ce 100644 --- a/packages/nextjs/components/Footer.tsx +++ b/packages/nextjs/components/Footer.tsx @@ -51,10 +51,10 @@ export const Footer = () => { /> - + @@ -63,16 +63,16 @@ export const Footer = () => { className={`h-6 w-6 ${pathname === "/create" ? "text-blue-600" : "hover:text-blue-600"}`} /> - + - + diff --git a/packages/nextjs/components/Header.tsx b/packages/nextjs/components/Header.tsx index 7f7351c..e050b97 100644 --- a/packages/nextjs/components/Header.tsx +++ b/packages/nextjs/components/Header.tsx @@ -126,34 +126,36 @@ export const Header = () => { return (
-
-
+
+
- - - - - - +
+ + + + + + +
@@ -163,13 +165,12 @@ export const Header = () => {
-
+
+