diff --git a/frontend/src/app/assets/icons/BlockChainNew.tsx b/frontend/src/app/assets/icons/BlockChainNew.tsx index f1d60a8..0bb9264 100644 --- a/frontend/src/app/assets/icons/BlockChainNew.tsx +++ b/frontend/src/app/assets/icons/BlockChainNew.tsx @@ -16,7 +16,7 @@ const BlockchainNew = ({ ); diff --git a/frontend/src/app/components/About/AboutCard.tsx b/frontend/src/app/components/About/AboutCard.tsx index b95b29e..706c6cb 100644 --- a/frontend/src/app/components/About/AboutCard.tsx +++ b/frontend/src/app/components/About/AboutCard.tsx @@ -134,7 +134,7 @@ export default function AboutCard({

{description}

diff --git a/frontend/src/app/components/DeerhackStats/CardMini.tsx b/frontend/src/app/components/DeerhackStats/CardMini.tsx index 33c619f..a02ed7c 100644 --- a/frontend/src/app/components/DeerhackStats/CardMini.tsx +++ b/frontend/src/app/components/DeerhackStats/CardMini.tsx @@ -9,6 +9,7 @@ export default function CardMini({ customClass, border, className = "", + isExtra = false, }: { svg: ReactElement; title: string; @@ -16,6 +17,7 @@ export default function CardMini({ customClass?: string; border?: boolean; className?: string; // ← pass any height/sizing class from outside + isExtra?: boolean; }) { return (
diff --git a/frontend/src/app/components/DeerhackStats/page.tsx b/frontend/src/app/components/DeerhackStats/page.tsx index 1c6ed18..651a45c 100644 --- a/frontend/src/app/components/DeerhackStats/page.tsx +++ b/frontend/src/app/components/DeerhackStats/page.tsx @@ -20,8 +20,9 @@ export default function StatsSection() { svg={} title="Total Projects" border={true} - numbers={33} - className="h-[200px]" + numbers={50} + className="h-[200px]" + isExtra={true} />
diff --git a/frontend/src/app/sections/Tracks/TracksCard.tsx b/frontend/src/app/sections/Tracks/TracksCard.tsx index d6461f3..5db79ac 100644 --- a/frontend/src/app/sections/Tracks/TracksCard.tsx +++ b/frontend/src/app/sections/Tracks/TracksCard.tsx @@ -8,22 +8,18 @@ import DataScienceSVG from "@/app/assets/icons/DataScience"; import DataScienceNew from "@/app/assets/icons/DataScienceNew"; import BlockchainSVG from "@/app/assets/icons/Blockchain"; import BlockchainNew from "@/app/assets/icons/BlockChainNew"; -import OpenInnovationSVG from "@/app/assets/icons/OpenInnovation"; -import OpenInnovationNew from "@/app/assets/icons/OpenInnovationNew"; import EdTechSVG from "@/app/assets/icons/EdTech"; import EdTechNew from "@/app/assets/icons/EdTechNew"; import EnvironmentTrackSVG from "@/app/assets/icons/EnvironmentTrack"; import EnvironmentTrackBodySVG from "@/app/assets/icons/EnvironmentTrackBody"; -import styles from "./styles.module.css" +import styles from "./styles.module.css"; const TracksCard = () => { const [selectedTrack, setSelectedTrack] = useState( - "Interactive Technology" + "Interactive Technology", ); const [animKey, setAnimKey] = useState(0); - const autoSwitchTimer = useRef | null>(null); - const trackData = [ { title: "Interactive Technology", @@ -38,11 +34,11 @@ const TracksCard = () => { "Enter the World of IoT with DeerHack. Explore connectivity, innovation, and the future of global interaction.", }, { - title: "Machine Learning / AI", + title: "Machine Learning / Artificial Intelligence", svg: , svgBody: , headStyling: - selectedTrack === "Machine Learning / AI" + selectedTrack === "Machine Learning / Artificial Intelligence" ? "bg-purpures text-magnolia active" : "bg-violet hover:bg-purpures hover:text-magnolia transition-all duration-300", bodyStyling: "bg-purpures text-magnolia", @@ -55,24 +51,24 @@ const TracksCard = () => { svgBody: , headStyling: selectedTrack === "Blockchain" - ? "bg-magnolia text-dark-purple active" - : "bg-violet hover:bg-magnolia hover:text-dark-purple transition-all duration-300", - bodyStyling: "bg-magnolia text-dark-purple", - description: - "Embrace Decentralization with DeerHack. Explore smart contracts, secure transactions, and reshape industries at the forefront of innovation.", - }, - { - title: "Open Innovation", - svg: , - svgBody: , - headStyling: - selectedTrack === "Open Innovation" ? "bg-secondary text-dark-purple active" : "bg-violet hover:bg-secondary hover:text-dark-purple transition-all duration-300", bodyStyling: "bg-secondary text-dark-purple", description: - "Transforming Challenges into Opportunities at DeerHack. Be part of the solution, forging a brighter future for all.", + "Embrace Decentralization with DeerHack. Explore smart contracts, secure transactions, and reshape industries at the forefront of innovation.", }, + // { + // title: "Open Innovation", + // svg: , + // svgBody: , + // headStyling: + // selectedTrack === "Open Innovation" + // ? "bg-secondary text-dark-purple active" + // : "bg-violet hover:bg-secondary hover:text-dark-purple transition-all duration-300", + // bodyStyling: "bg-secondary text-dark-purple", + // description: + // "Transforming Challenges into Opportunities at DeerHack. Be part of the solution, forging a brighter future for all.", + // }, { title: "Ed-Tech", svg: , @@ -90,10 +86,11 @@ const TracksCard = () => { svg: , svgBody: , headStyling: - selectedTrack === "Environment" - ? `gradient-bg text-magnolia active invert` - : `${styles.envAnimate} text-magnolia hover:opacity-90 transition-opacity duration-500`, - bodyStyling: "gradient-bg text-magnolia invert transition-all duration-500", + selectedTrack === "Environment" + ? `gradient-bg text-magnolia active invert` + : `${styles.envAnimate} text-magnolia hover:opacity-90 transition-opacity duration-500`, + bodyStyling: + "gradient-bg text-magnolia invert transition-all duration-500", description: "Think Green, Code Clean at DeerHack. Dive into the world of climate-positive innovation. Turn environmental challenges into elegant, scalable, and sustainable tech solutions.", }, @@ -130,7 +127,7 @@ const TracksCard = () => { // }, [selectedTrack]); return ( -
+
@@ -148,10 +145,7 @@ const TracksCard = () => { {trackData.map( (track, index) => selectedTrack === track.title && ( -
+
{ bodyStyling={track.bodyStyling} />
- ) + ), )}
); diff --git a/frontend/src/app/sections/Tracks/styles.module.css b/frontend/src/app/sections/Tracks/styles.module.css index 251ca10..b9917fd 100644 --- a/frontend/src/app/sections/Tracks/styles.module.css +++ b/frontend/src/app/sections/Tracks/styles.module.css @@ -12,10 +12,10 @@ @keyframes green-blue-shift { 0% { background-color: #6DB94C; } - 50% { background-color: #241A4A } + 50% { background-color: #241A4A; } 100% { background-color: #6DB94C; } } .envAnimate { - animation: green-blue-shift 3s ease-in-out infinite; + animation: green-blue-shift 4s infinite; }