From 4c05759a5f59f3a2c2f313fc4272fac222ba9457 Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 13 May 2024 23:27:42 -0700 Subject: [PATCH] reorganized components --- README.md | 4 ++-- src/app/layout.tsx | 2 -- src/app/page.tsx | 12 ++++++++---- .../Hero.module.scss => About/About.module.scss} | 0 src/components/{Hero/Hero.tsx => About/About.tsx} | 6 +++--- .../Contact.module.scss} | 0 src/components/Contact/Contact.tsx | 11 +++++++++++ src/components/Footer/Footer.tsx | 10 ---------- src/data/navLinks.json | 12 ++++++------ 9 files changed, 30 insertions(+), 27 deletions(-) rename src/components/{Hero/Hero.module.scss => About/About.module.scss} (100%) rename src/components/{Hero/Hero.tsx => About/About.tsx} (64%) rename src/components/{Footer/Footer.module.scss => Contact/Contact.module.scss} (100%) create mode 100644 src/components/Contact/Contact.tsx delete mode 100644 src/components/Footer/Footer.tsx diff --git a/README.md b/README.md index 30e8458..342a340 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,8 @@ As you make changes to your project, you likely want to see them update live. Ou 1. Make sure you're in the right directory with folders like src, public, etc. 2. In your terminal, type `npm i` to **install all the necessary dependencies** for the project. -3. Navigate to ```next.config.mjs and edit the basePath``` to be your ```repository name```. - - **We will also need to add this basePath to every image that we intend to use and localhost url.** +3. Navigate to ```next.config.mjs``` **edit the basePath** to be your ```repository name```. + - **We will also need to add this basePath to every image that we intend to use and localhost url. VERY IMPORTANT** 4. Now, you can run the app with `npm run dev` to **launch a development session**, which comes with its own localhost url! - Changes automatically refresh the app - Any errors will be displayed for you to debug diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 820ee06..cb65478 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,7 +1,6 @@ import type { Metadata } from "next"; import { Inter } from "next/font/google"; import Navbar from "@/components/Navbar/Navbar"; -import Footer from "@/components/Footer/Footer"; import NavLinks from "@/data/navLinks.json"; import "@/globals/globals.scss"; @@ -22,7 +21,6 @@ export default function RootLayout({ {children} -