diff --git a/src/components/Title.jsx b/src/components/Title.jsx index 09c02b6..3804869 100644 --- a/src/components/Title.jsx +++ b/src/components/Title.jsx @@ -14,7 +14,7 @@ const Title = ({ subTitle, title }) => { duration: 0.5, delay: 0.1, }} - className="relative flex flex-col justify-center items-center" + className="relative flex flex-col justify-center items-center z-20" >

{subTitle}

diff --git a/src/components/home/Focus.jsx b/src/components/home/Focus.jsx index 9ccf715..61bf771 100644 --- a/src/components/home/Focus.jsx +++ b/src/components/home/Focus.jsx @@ -2,15 +2,15 @@ import ArrowLink from "../ArrowLink"; const Focus = ({ title, description, link, icon }) => { return ( -

+
{icon}
-

{title}

-

+

{title}

+

{description}

- + {link !== "" && }
); }; diff --git a/src/components/home/WhyJoin.jsx b/src/components/home/WhyJoin.jsx index b931741..c10e57c 100644 --- a/src/components/home/WhyJoin.jsx +++ b/src/components/home/WhyJoin.jsx @@ -1,5 +1,35 @@ +import Title from "../Title"; +import { FOCUS } from "@/data/focus"; +import Focus from "./Focus"; +import Picture from "../Picture"; const WhyJoin = () => { - return
WhyJoin
; + return ( +
+
+ + <div className="relative text-center pt-12 w-1/2"> + Engineers Without Borders at UCR currently hosts several projects, + professional development events, and club activities for members to + actively participate in. We highly encourage all students to broaden + their learning experience by participating in our organization + activities. We hope that through these activities, students will grow as + skilled professionals and leaders. + </div> + <div className="grid grid-cols-2 gap-4 my-12 w-2/4"> + {FOCUS.map((focus, index) => ( + <Focus + index={index} + key={index} + title={focus.title} + description={focus.description} + icon={focus.icon} + link="" + /> + ))} + </div> + <Picture picture="/images/CostaRica/CostaRica1.gif" /> + </div> + ); }; export default WhyJoin;