-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d0e6290
commit 463babf
Showing
9 changed files
with
201 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,157 @@ | ||
import clsx from "clsx"; | ||
|
||
export default function WhatWeDo({ | ||
variant, | ||
}: { | ||
variant: "compact" | "full-width"; | ||
}) { | ||
return ( | ||
<div> | ||
<h2 className="text-3xl font-semibold text-white">What We Do</h2> | ||
|
||
<div | ||
className={clsx( | ||
"mt-6 grid gap-6", | ||
variant === "compact" && "md:grid-cols-2" | ||
)} | ||
> | ||
<Card | ||
title="🗓️ Year-Long Projects With NPOs" | ||
body={ | ||
variant === "compact" ? ( | ||
<p> | ||
Teams of 12 students work with non-profit organizations to | ||
design, develop, and ship a digital solution. | ||
</p> | ||
) : ( | ||
<> | ||
<p> | ||
Teams complete software development projects for{" "} | ||
<strong>Boston area non-profits</strong> under the guidance of | ||
a Project Manager, Tech Lead, and Designer. | ||
</p> | ||
<p> | ||
Students gain{" "} | ||
<strong>hands-on experience building web applications</strong>{" "} | ||
from the ground up while working closely with clients to meet | ||
their specific needs. | ||
</p> | ||
</> | ||
) | ||
} | ||
imageSrc="/culture-house.jpg" | ||
/> | ||
|
||
<Card | ||
title="🧑🤝🧑 Team Collaboration" | ||
body={ | ||
variant === "compact" ? ( | ||
<p> | ||
JumboCode creates opportunities for students with varying | ||
majors, ages, and skills to connect with one another. | ||
</p> | ||
) : ( | ||
<> | ||
<p> | ||
JumboCode fosters collaboration among students of{" "} | ||
<strong>all majors, academic years, and skill levels.</strong> | ||
</p> | ||
<p> | ||
Teams work together to exchange ideas, strengthen their | ||
skills, and <strong>tackle real-world challenges</strong> in a | ||
supportive learning environment. | ||
</p> | ||
</> | ||
) | ||
} | ||
imageSrc="/my-lingual-lawyer.jpg" | ||
/> | ||
|
||
<Card | ||
title="🧩 Community Events" | ||
body={ | ||
variant === "compact" ? ( | ||
<p> | ||
We arrange events like field day and project presentations, | ||
allowing our members to bond with each other and the Tufts | ||
community. | ||
</p> | ||
) : ( | ||
<> | ||
<p> | ||
We host events like field day, guest speakers, project | ||
showcases, and a weekly Hack Night to{" "} | ||
<strong> | ||
connect members and celebrate their achievements | ||
</strong> | ||
. | ||
</p> | ||
<p> | ||
JumboCode events serve members and the broader Tufts | ||
community, uniting students across disciplines. | ||
</p> | ||
</> | ||
) | ||
} | ||
imageSrc="/jumbohack-crowd.jpg" | ||
/> | ||
|
||
<Card | ||
title="🏆 JumboHack" | ||
body={ | ||
variant === "compact" ? ( | ||
<p> | ||
Each year we host JumboHack, a 48-hour hackathon that brings | ||
together Boston area students to develop software for social | ||
good. | ||
</p> | ||
) : ( | ||
<> | ||
<p> | ||
Each year we host JumboHack, a{" "} | ||
<strong>48-hour hackathon</strong> that brings together Boston | ||
area students to develop software for social good.{" "} | ||
</p> | ||
<p> | ||
It’s a fast-paced, collaborative event designed to inspire | ||
creativity and drive impact. To learn more, visit the{" "} | ||
<a href="https://jumbohack.org">JumboHack website</a>. | ||
</p> | ||
</> | ||
) | ||
} | ||
imageSrc="/jumbohack-checkin.jpg" | ||
/> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
function Card({ | ||
title, | ||
body, | ||
imageSrc, | ||
}: { | ||
title: string; | ||
body: React.ReactNode; | ||
imageSrc: string; | ||
}) { | ||
return ( | ||
<section className="@container border border-white/60 rounded-2xl p-6"> | ||
<div className="@lg:grid @lg:grid-cols-2 @lg:gap-16"> | ||
{/* eslint-disable-next-line @next/next/no-img-element */} | ||
<img | ||
src={imageSrc} | ||
alt="" | ||
className="w-full h-auto rounded-lg aspect-[3/2] object-cover" | ||
/> | ||
<div className="pt-6"> | ||
<h3 className="text-white text-2xl font-semibold">{title}</h3> | ||
<div className="text-white/90 mt-6 space-y-6 [&_a]:text-brand [&_a]:font-semibold"> | ||
{body} | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import WhatWeDo from "@/app/components/what-we-do"; | ||
|
||
export default function WhatWeDoPage() { | ||
return ( | ||
<div className="min-h-screen bg-gray-950"> | ||
<div className="py-24 px-4"> | ||
<div className="max-w-screen-lg mx-auto space-y-32"> | ||
<WhatWeDo variant="compact" /> | ||
<WhatWeDo variant="full-width" /> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} |
Oops, something went wrong.