From 5242d04a462d79ad36f8dad62c5264d5b1b5ca70 Mon Sep 17 00:00:00 2001 From: tony Date: Tue, 16 May 2023 15:42:34 -0700 Subject: [PATCH] changes made to file naming structure --- {Components/Buttons => components/buttons}/Button.jsx | 0 .../Buttons => components/buttons}/ContactButton.jsx | 0 {Components/Buttons => components/buttons}/video-button.jsx | 0 .../elements}/ContactThreeJsComponent.jsx | 0 {Components/Elements => components/elements}/VideoAsk.jsx | 0 .../Layout => components/layouts}/ContactFormSection.jsx | 4 ++-- {Components/Layout => components/layouts}/nav-item.jsx | 0 {Components/Layout => components/layouts}/navbar.jsx | 0 {Components/Layout => components/layouts}/section.jsx | 2 +- {Components/Layout => components/layouts}/sub-section.jsx | 0 pages/_app.js | 2 +- pages/about.js | 6 +++--- pages/contactus.js | 4 ++-- pages/getinvolved.js | 6 +++--- pages/hireus.js | 6 +++--- pages/index.js | 6 +++--- pages/projects.js | 6 +++--- 17 files changed, 21 insertions(+), 21 deletions(-) rename {Components/Buttons => components/buttons}/Button.jsx (100%) rename {Components/Buttons => components/buttons}/ContactButton.jsx (100%) rename {Components/Buttons => components/buttons}/video-button.jsx (100%) rename {Components/Elements => components/elements}/ContactThreeJsComponent.jsx (100%) rename {Components/Elements => components/elements}/VideoAsk.jsx (100%) rename {Components/Layout => components/layouts}/ContactFormSection.jsx (85%) rename {Components/Layout => components/layouts}/nav-item.jsx (100%) rename {Components/Layout => components/layouts}/navbar.jsx (100%) rename {Components/Layout => components/layouts}/section.jsx (97%) rename {Components/Layout => components/layouts}/sub-section.jsx (100%) diff --git a/Components/Buttons/Button.jsx b/components/buttons/Button.jsx similarity index 100% rename from Components/Buttons/Button.jsx rename to components/buttons/Button.jsx diff --git a/Components/Buttons/ContactButton.jsx b/components/buttons/ContactButton.jsx similarity index 100% rename from Components/Buttons/ContactButton.jsx rename to components/buttons/ContactButton.jsx diff --git a/Components/Buttons/video-button.jsx b/components/buttons/video-button.jsx similarity index 100% rename from Components/Buttons/video-button.jsx rename to components/buttons/video-button.jsx diff --git a/Components/Elements/ContactThreeJsComponent.jsx b/components/elements/ContactThreeJsComponent.jsx similarity index 100% rename from Components/Elements/ContactThreeJsComponent.jsx rename to components/elements/ContactThreeJsComponent.jsx diff --git a/Components/Elements/VideoAsk.jsx b/components/elements/VideoAsk.jsx similarity index 100% rename from Components/Elements/VideoAsk.jsx rename to components/elements/VideoAsk.jsx diff --git a/Components/Layout/ContactFormSection.jsx b/components/layouts/ContactFormSection.jsx similarity index 85% rename from Components/Layout/ContactFormSection.jsx rename to components/layouts/ContactFormSection.jsx index 51f8654..fa84478 100644 --- a/Components/Layout/ContactFormSection.jsx +++ b/components/layouts/ContactFormSection.jsx @@ -1,5 +1,5 @@ -import ContactButton from "../Buttons/ContactButton.jsx"; -import ContactThreeJsComponent from "../Elements/ContactThreeJsComponent.jsx"; +import ContactButton from "../buttons/ContactButton.jsx"; +import ContactThreeJsComponent from "../elements/ContactThreeJsComponent.jsx"; const ContactFormSection = ({ text, diff --git a/Components/Layout/nav-item.jsx b/components/layouts/nav-item.jsx similarity index 100% rename from Components/Layout/nav-item.jsx rename to components/layouts/nav-item.jsx diff --git a/Components/Layout/navbar.jsx b/components/layouts/navbar.jsx similarity index 100% rename from Components/Layout/navbar.jsx rename to components/layouts/navbar.jsx diff --git a/Components/Layout/section.jsx b/components/layouts/section.jsx similarity index 97% rename from Components/Layout/section.jsx rename to components/layouts/section.jsx index bfbd602..b0a4b3e 100644 --- a/Components/Layout/section.jsx +++ b/components/layouts/section.jsx @@ -1,5 +1,5 @@ import React, { useEffect, useRef, useState } from "react"; -import VideoButton from "../Buttons/video-button.jsx"; +import VideoButton from "../buttons/video-button.jsx"; import Link from "next/link"; const Section = ({ diff --git a/Components/Layout/sub-section.jsx b/components/layouts/sub-section.jsx similarity index 100% rename from Components/Layout/sub-section.jsx rename to components/layouts/sub-section.jsx diff --git a/pages/_app.js b/pages/_app.js index 0339be6..801e91c 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -1,6 +1,6 @@ import { Fira_Code } from 'next/font/google' import { AnimatePresence, motion } from "framer-motion"; -import VideoAsk from "../components/Elements/VideoAsk.jsx"; +import VideoAsk from "../components/elements/VideoAsk.jsx"; import "../styles/globals.css"; const firaCode = Fira_Code ({ diff --git a/pages/about.js b/pages/about.js index 5a88cf6..75f0eb1 100644 --- a/pages/about.js +++ b/pages/about.js @@ -1,11 +1,11 @@ import React from "react"; -import Navbar from "../components/Layout/navbar.jsx"; +import Navbar from "../components/layouts/navbar.jsx"; import dynamic from "next/dynamic"; -const Section = dynamic(() => import("../components/Layout/section.jsx")); +const Section = dynamic(() => import("../components/layouts/section.jsx")); const ContactFormSection = dynamic(() => - import("../components/Layout/ContactFormSection.jsx") + import("../components/layouts/ContactFormSection.jsx") ); export default function Home() { diff --git a/pages/contactus.js b/pages/contactus.js index a942288..a1aa0f0 100644 --- a/pages/contactus.js +++ b/pages/contactus.js @@ -1,9 +1,9 @@ import React from "react"; -import Navbar from "../components/Layout/navbar.jsx"; +import Navbar from "../components/layouts/navbar.jsx"; import dynamic from "next/dynamic"; const ContactFormSection = dynamic(() => - import("../components/Layout/ContactFormSection.jsx") + import("../components/layouts/ContactFormSection.jsx") ); diff --git a/pages/getinvolved.js b/pages/getinvolved.js index a49c139..b799b15 100644 --- a/pages/getinvolved.js +++ b/pages/getinvolved.js @@ -1,11 +1,11 @@ import React from "react"; -import Navbar from "../components/Layout/navbar.jsx"; +import Navbar from "../components/layouts/navbar.jsx"; import dynamic from "next/dynamic"; -const Section = dynamic(() => import("../components/Layout/section.jsx")); +const Section = dynamic(() => import("../components/layouts/section.jsx")); const ContactFormSection = dynamic(() => - import("../components/Layout/ContactFormSection.jsx") + import("../components/layouts/ContactFormSection.jsx") ); diff --git a/pages/hireus.js b/pages/hireus.js index 8af4044..7c62814 100644 --- a/pages/hireus.js +++ b/pages/hireus.js @@ -1,10 +1,10 @@ import React from "react"; -import Navbar from "../components/Layout/navbar.jsx"; +import Navbar from "../components/layouts/navbar.jsx"; import dynamic from "next/dynamic"; -const Section = dynamic(() => import("../components/Layout/section.jsx")); +const Section = dynamic(() => import("../components/layouts/section.jsx")); const ContactFormSection = dynamic(() => - import("../components/Layout/ContactFormSection.jsx") + import("../components/layouts/ContactFormSection.jsx") ); export default function Home() { diff --git a/pages/index.js b/pages/index.js index 2b77727..bc351d3 100644 --- a/pages/index.js +++ b/pages/index.js @@ -1,10 +1,10 @@ import React from "react"; -import Navbar from "../components/Layout/navbar.jsx"; +import Navbar from "../components/layouts/navbar.jsx"; import dynamic from "next/dynamic"; -const Section = dynamic(() => import("../components/Layout/section.jsx")); +const Section = dynamic(() => import("../components/layouts/section.jsx")); const ContactFormSection = dynamic(() => - import("../components/Layout/ContactFormSection.jsx") + import("../components/layouts/ContactFormSection.jsx") ); export default function Home() { diff --git a/pages/projects.js b/pages/projects.js index 77b8171..1742303 100644 --- a/pages/projects.js +++ b/pages/projects.js @@ -1,10 +1,10 @@ import React from "react"; -import Navbar from "../components/Layout/navbar.jsx"; +import Navbar from "../components/layouts/navbar.jsx"; import dynamic from "next/dynamic"; -const Section = dynamic(() => import("../components/Layout/section.jsx")); +const Section = dynamic(() => import("../components/layouts/section.jsx")); const ContactFormSection = dynamic(() => - import("../components/Layout/ContactFormSection.jsx") + import("../components/layouts/ContactFormSection.jsx") );