From 18c060ffdc1a7858e1383417e74e1dfa182d96c7 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 4 Aug 2025 19:09:45 -0700 Subject: [PATCH] replaced landing page with post DOE changes --- .../_components/hero/heroInfo.scss | 35 +++++++++++++++++++ .../_components/hero/heroInfo.tsx | 25 +++++++++---- app/(pages)/(index-page)/page.tsx | 6 ++-- app/(pages)/_components/Navbar/Navbar.tsx | 12 +++---- app/(pages)/layout.tsx | 2 +- package-lock.json | 8 ++--- package.json | 2 +- 7 files changed, 68 insertions(+), 22 deletions(-) create mode 100644 app/(pages)/(index-page)/_components/hero/heroInfo.scss diff --git a/app/(pages)/(index-page)/_components/hero/heroInfo.scss b/app/(pages)/(index-page)/_components/hero/heroInfo.scss new file mode 100644 index 0000000..9b00ea9 --- /dev/null +++ b/app/(pages)/(index-page)/_components/hero/heroInfo.scss @@ -0,0 +1,35 @@ +@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;700&display=swap'); + +.emailInput { + flex-grow: 1; + font-family: 'Urbanist', sans-serif; + font-size: 20px; + font-weight: 400; + background: rgb(255, 255, 255); + border-width: 3px; + border-style: solid; + border-color: rgb(231, 230, 255); + border-image: initial; + border-radius: 20px; + width:300px; + padding: 10px 23px; +} + +.buttonArrow { + display: grid; + justify-content: center; + width: 50px; + background: rgb(231, 230, 255); + border-width: initial; + border-style: none; + border-color: initial; + border-image: initial; + border-radius: 15px; + place-items: center; + padding-top: 15px; + padding-bottom: 15px; + padding-right: 25px; + padding-left: 25px; +} + + diff --git a/app/(pages)/(index-page)/_components/hero/heroInfo.tsx b/app/(pages)/(index-page)/_components/hero/heroInfo.tsx index 4f1b784..83e49e0 100644 --- a/app/(pages)/(index-page)/_components/hero/heroInfo.tsx +++ b/app/(pages)/(index-page)/_components/hero/heroInfo.tsx @@ -3,6 +3,9 @@ import Image from 'next/image'; import Link from 'next/link'; import HeartButton from '../HeartButton/heartButton'; import WordCycle from './wordCycle'; +//import './heroInfo.scss'; + + export default function HeroInfo() { return ( @@ -18,11 +21,18 @@ export default function HeroInfo() { social good

- Apply to direct HackDavis 2026 + Stay tuned for HackDavis 2026

+ + +
+ + {/*
- {/*
+
Heart icon
- Sponsor */} + Sponsor
@@ -56,22 +66,23 @@ export default function HeroInfo() { // includeComma={true} includeComma={false} /> - {/* */} + /> we have! - {/* */} + />
+ */} ); } diff --git a/app/(pages)/(index-page)/page.tsx b/app/(pages)/(index-page)/page.tsx index df3ab35..3ae67c1 100644 --- a/app/(pages)/(index-page)/page.tsx +++ b/app/(pages)/(index-page)/page.tsx @@ -16,9 +16,9 @@ export default function Home() {
- + {/**/}
- + {/*
@@ -32,7 +32,7 @@ export default function Home() { -
+
*/} ); } diff --git a/app/(pages)/_components/Navbar/Navbar.tsx b/app/(pages)/_components/Navbar/Navbar.tsx index 1f53ce6..3b2835c 100644 --- a/app/(pages)/_components/Navbar/Navbar.tsx +++ b/app/(pages)/_components/Navbar/Navbar.tsx @@ -33,7 +33,7 @@ const links = [ page: '/', path: '/?section=home', // remove section if scroll issue fixed }, - { + /*{ ids: ['donate'], body: 'DONATE', page: '/', @@ -56,7 +56,7 @@ const links = [ body: 'SPONSORS', page: '/', path: '/?section=sponsors', - }, + },*/ { ids: ['about'], body: 'ABOUT', @@ -80,7 +80,7 @@ const sections = [ activeColor: '#FFC53D', background: 'rgba(136, 136, 136, 0.50)', }, - { + /*{ id: 'donate', page: '/', baseColor: '#FFFFFF', @@ -93,7 +93,7 @@ const sections = [ baseColor: '#FFFFFF', activeColor: '#AFD157', background: 'rgba(136, 136, 136, 0.50)', - }, + },*/ // { // id: 'faq', // page: '/', @@ -101,13 +101,13 @@ const sections = [ // activeColor: '#AFD157', // background: 'rgba(136, 136, 136, 0.50)', // }, - { + /*{ id: 'sponsors', page: '/', baseColor: '#FFFFFF', activeColor: '#FFFFFF', background: 'rgba(136, 136, 136, 0.50)', - }, + },*/ { id: 'about', page: '/about-us', diff --git a/app/(pages)/layout.tsx b/app/(pages)/layout.tsx index 21c53e6..f99657e 100644 --- a/app/(pages)/layout.tsx +++ b/app/(pages)/layout.tsx @@ -22,7 +22,7 @@ export default function RootLayout({ {children} -