From b213fefce694da6a430d50ddf440cd330d9f043e Mon Sep 17 00:00:00 2001 From: Ryan Yang Date: Mon, 2 Oct 2023 21:56:09 -0700 Subject: [PATCH] Fixed builds, same pr as before - adding Houses page --- src/app/pages/Houses/Houses.jsx | 58 ++++++++++++++++----------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/src/app/pages/Houses/Houses.jsx b/src/app/pages/Houses/Houses.jsx index 1138fc7e..7eaa5167 100644 --- a/src/app/pages/Houses/Houses.jsx +++ b/src/app/pages/Houses/Houses.jsx @@ -105,7 +105,7 @@ export const Houses = memo(() => { className={cn.decoration} style={{ top: top + "%", left: left + "%" }} > - + decorative ))}
@@ -148,7 +148,7 @@ export const Houses = memo(() => {
{HOUSES.map(({ name, icon, description, link }) => (
- + decorative {name} {description} @@ -181,7 +181,7 @@ export const Houses = memo(() => {
- + decorative Networking Opportunities @@ -191,7 +191,7 @@ export const Houses = memo(() => {
- + decorative Hands-on Projects in Smaller Environments @@ -200,7 +200,7 @@ export const Houses = memo(() => {
- + decorative Win Prizes by attending events Participate in more activities and boost up house points to win @@ -208,7 +208,7 @@ export const Houses = memo(() => {
- + decorative Personalized 1:1 Communication with Board @@ -284,28 +284,28 @@ export const Houses = memo(() => { ); }); -const Toggle = ({ opened, closed }) => { - const [open, setOpen] = useState(false); +// const Toggle = ({ opened, closed }) => { +// const [open, setOpen] = useState(false); - const toggleExpand = useCallback(() => { - setOpen((p) => !p); - }, []); +// const toggleExpand = useCallback(() => { +// setOpen((p) => !p); +// }, []); - return ( -
- - {open ? opened : closed} -
- ); -}; +// return ( +//
+// +// {open ? opened : closed} +//
+// ); +// };