Skip to content

Commit d026c1d

Browse files
committed
fix: moved /landing-page route to actual home page
1 parent 1fb42bf commit d026c1d

File tree

3 files changed

+92
-140
lines changed

3 files changed

+92
-140
lines changed

src/app/landing-page/page.tsx

Lines changed: 0 additions & 111 deletions
This file was deleted.

src/app/landing-page/landing-page.module.css renamed to src/app/page.module.css

File renamed without changes.

src/app/page.tsx

Lines changed: 92 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,97 @@
1-
import Navbar from "@/components/Navbar";
2-
import EventCard from "@/components/EventCard";
3-
import Program from "@/components/Program";
1+
import Image from "next/image";
2+
import style from "./page.module.css";
43

54
export default function Home() {
65
return (
7-
<main>
8-
<Navbar />
9-
<h1>Home</h1>
10-
11-
{/* placehodler for testing
12-
<Program
13-
image="/waves.png"
14-
title="Operation Surf"
15-
location="Santa Cruz, CA"
16-
date="July 15, 2024"
17-
time="10:00 AM - 2:00 PM"
18-
/>
19-
*/}
20-
21-
{/* placeholder for testing
22-
<EventCard
23-
place="Place"
24-
name="Event Name"
25-
host="Operation Surf"
26-
availability={0}
27-
MaxAvailability={3}
28-
date={new Date("2024-07-15")}
29-
image="/operation-surf.png"
30-
hostIcon="/operation-surf.png"
31-
/> */}
32-
</main>
6+
<div className={style.pageContainer}>
7+
<header className={style.pageHeader}>
8+
<Image src="/operation-surf.png" alt="Operation Surf Logo" width={84} height={67} />
9+
10+
<div className={style.headerButtons}>
11+
<button className={style.headerBtnOutline}>Sign In</button>
12+
<button className={style.headerBtnFilled}>Sign Up</button>
13+
</div>
14+
</header>
15+
16+
<section className={style.hero}>
17+
<Image className={style.heroBg} src="/hero-img.png" alt="Operation Surf members by the ocean" fill />
18+
19+
<div className={style.heroContent}>
20+
<h1 className={style.heroTitle}>Operation Surf</h1>
21+
<p className={style.heroSubtitle}>
22+
Empowering wounded, ill, and injured service members, veterans, and youth through the healing powers of the
23+
ocean.
24+
</p>
25+
<button className={style.exploreButton}>Explore Programs</button>
26+
</div>
27+
</section>
28+
29+
<section className={style.about}>
30+
<h2 className={style.sectionTitle}>About Us</h2>
31+
<p className={style.sectionText}>
32+
Operation Surf is a non-profit organization dedicated to providing free surf therapy programs for wounded
33+
warriors, veterans, and at-risk youth. Through the healing power of the ocean, we help individuals overcome
34+
physical and mental challenges while building community and confidence.
35+
</p>
36+
37+
<div className={style.aboutCards}>
38+
<div className={style.infoCard}>
39+
<div className={style.cardIcon} aria-hidden="true">
40+
Surf
41+
</div>
42+
<h3 className={style.cardTitle}>Surf Therapy</h3>
43+
<p className={style.cardText}>Therapeutic surfing sessions led by certified instructors</p>
44+
</div>
45+
46+
<div className={style.infoCard}>
47+
<div className={style.cardIcon} aria-hidden="true">
48+
Community
49+
</div>
50+
<h3 className={style.cardTitle}>Community</h3>
51+
<p className={style.cardText}>Building lasting connections and support networks</p>
52+
</div>
53+
54+
<div className={style.infoCard}>
55+
<div className={style.cardIcon} aria-hidden="true">
56+
Empower
57+
</div>
58+
<h3 className={style.cardTitle}>Empowerment</h3>
59+
<p className={style.cardText}>Helping individuals overcome challenges and thrive</p>
60+
</div>
61+
</div>
62+
</section>
63+
64+
<div className={style.programs}>
65+
<h2 className={style.sectionTitle}>Our Programs</h2>
66+
67+
<div className={style.programCards}>
68+
<div className={style.programCard} />
69+
<div className={style.programCard} />
70+
<div className={style.programCard} />
71+
</div>
72+
</div>
73+
74+
<div className={style.pageFooter}>
75+
<h2 className={style.footerTitle}>Contact Us</h2>
76+
<p className={style.footerSubtitle}>Have questions or want to learn more about our programs?</p>
77+
78+
<div className={style.footerColumns}>
79+
<div className={style.footerColumn}>
80+
<h3>Email</h3>
81+
<p>info@operationsurf.org</p>
82+
</div>
83+
84+
<div className={style.footerColumn}>
85+
<h3>Phone</h3>
86+
<p>(555) 123-4567</p>
87+
</div>
88+
89+
<div className={style.footerColumn}>
90+
<h3>Address</h3>
91+
<p>123 Ocean Ave, San Diego, CA 92109</p>
92+
</div>
93+
</div>
94+
</div>
95+
</div>
3396
);
3497
}

0 commit comments

Comments
 (0)