From c9b1bd8ee8bcc92de8ffcaa155bb6226bf83b7b9 Mon Sep 17 00:00:00 2001 From: James Wyndham Date: Thu, 15 Feb 2024 17:03:49 +0800 Subject: [PATCH] feature - added hero --- Frontend/app/layout.tsx | 10 +- Frontend/app/page.tsx | 19 +- Frontend/components/Footer.tsx | 4 +- Frontend/{sections => components}/Logo.tsx | 7 +- Frontend/components/Navigation.tsx | 6 +- Frontend/components/Utilities/PageWrapper.tsx | 12 + .../{ => Utilities}/PrelineScript.tsx | 0 .../components/{ => Utilities}/Spacer.tsx | 0 .../{ => Utilities}/YoutubeEmbed.tsx | 0 Frontend/images/icon.svg | 12 +- Frontend/pages/LandingPage.tsx | 65 -- Frontend/pages/LandingPageWaitingList.tsx | 159 ---- Frontend/public/images/hero.jpg | Bin 0 -> 3038458 bytes .../CenterAllignedWithVideoHero.tsx | 34 +- Frontend/sections/HeroSections/SimpleHero.tsx | 41 + .../HeroSections/SquaredBackgroundHero.tsx | 768 +++++++++--------- .../HeroSections/WaitingListWithImageHero.tsx | 114 +++ Frontend/sections/HeroSections/index.ts | 4 +- Frontend/sections/Video.tsx | 2 +- 19 files changed, 603 insertions(+), 654 deletions(-) rename Frontend/{sections => components}/Logo.tsx (83%) create mode 100644 Frontend/components/Utilities/PageWrapper.tsx rename Frontend/components/{ => Utilities}/PrelineScript.tsx (100%) rename Frontend/components/{ => Utilities}/Spacer.tsx (100%) rename Frontend/components/{ => Utilities}/YoutubeEmbed.tsx (100%) delete mode 100644 Frontend/pages/LandingPage.tsx delete mode 100644 Frontend/pages/LandingPageWaitingList.tsx create mode 100644 Frontend/public/images/hero.jpg create mode 100644 Frontend/sections/HeroSections/SimpleHero.tsx create mode 100644 Frontend/sections/HeroSections/WaitingListWithImageHero.tsx diff --git a/Frontend/app/layout.tsx b/Frontend/app/layout.tsx index 4d2a0b9..a7116cb 100644 --- a/Frontend/app/layout.tsx +++ b/Frontend/app/layout.tsx @@ -9,7 +9,7 @@ import Header from "@/components/Header"; import { cookies } from "next/headers"; import { isAuthenticated } from "@/lib/auth"; import { GTagProvider, PHProvider } from "./providers"; -import PrelineScript from "@/components/PrelineScript"; +import PrelineScript from "@/components/Utilities/PrelineScript"; const raleway = Raleway({ variable: "--display-font", @@ -39,14 +39,6 @@ export default async function RootLayout({
- {/*
-
-
- - {children} -
-
-
*/} {children} { @@ -39,7 +42,17 @@ export default function Home() { */} - + {/* */} + + {/* ========== END HEADER ========== */} + {/* ========== MAIN CONTENT ========== */} + {/* */} + + {/* ========== END MAIN CONTENT ========== */} + {/* ========== FOOTER ========== */} +