From add6bb1e9dfbeabf03cb4ea6493ea3df395b5e03 Mon Sep 17 00:00:00 2001 From: Rijan Dahal <70582929+enkoki@users.noreply.github.com> Date: Thu, 9 Apr 2026 22:42:42 +0545 Subject: [PATCH 1/5] Remove: open innovation tracks Update: blockchain track theme --- .../src/app/assets/icons/BlockChainNew.tsx | 2 +- .../src/app/sections/Tracks/TracksCard.tsx | 26 +++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) 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/sections/Tracks/TracksCard.tsx b/frontend/src/app/sections/Tracks/TracksCard.tsx index d6461f3..e02ce39 100644 --- a/frontend/src/app/sections/Tracks/TracksCard.tsx +++ b/frontend/src/app/sections/Tracks/TracksCard.tsx @@ -55,24 +55,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: , From 08bd606a3aceef716c027c503c7fc7cb0d5d553b Mon Sep 17 00:00:00 2001 From: Rijan Dahal <70582929+enkoki@users.noreply.github.com> Date: Thu, 9 Apr 2026 22:43:22 +0545 Subject: [PATCH 2/5] refactor: made code prettier --- .../src/app/sections/Tracks/TracksCard.tsx | 24 +++++++------------ 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/frontend/src/app/sections/Tracks/TracksCard.tsx b/frontend/src/app/sections/Tracks/TracksCard.tsx index e02ce39..5f13791 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", @@ -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.", }, @@ -148,10 +145,7 @@ const TracksCard = () => { {trackData.map( (track, index) => selectedTrack === track.title && ( -
+
{ bodyStyling={track.bodyStyling} />
- ) + ), )}
); From 57682c6e38e948e185925df63daf803ef2685dce Mon Sep 17 00:00:00 2001 From: Rijan Dahal <70582929+enkoki@users.noreply.github.com> Date: Thu, 9 Apr 2026 23:02:48 +0545 Subject: [PATCH 3/5] update: line height of description --- frontend/src/app/components/About/AboutCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}

From e93733c3d9201cd940a55b27b2dd795ea4055455 Mon Sep 17 00:00:00 2001 From: Rijan Dahal <70582929+enkoki@users.noreply.github.com> Date: Thu, 9 Apr 2026 23:05:44 +0545 Subject: [PATCH 4/5] update: deerhack till now total projet changed to 50+ --- frontend/src/app/components/DeerhackStats/CardMini.tsx | 4 +++- frontend/src/app/components/DeerhackStats/page.tsx | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) 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} />
From 085c9c72462c80f5b9da02cf33dfb1b3e55f8fcb Mon Sep 17 00:00:00 2001 From: Rijan Dahal <70582929+enkoki@users.noreply.github.com> Date: Fri, 10 Apr 2026 00:03:43 +0545 Subject: [PATCH 5/5] update: width of tracks card --- frontend/src/app/sections/Tracks/TracksCard.tsx | 6 +++--- frontend/src/app/sections/Tracks/styles.module.css | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/app/sections/Tracks/TracksCard.tsx b/frontend/src/app/sections/Tracks/TracksCard.tsx index 5f13791..5db79ac 100644 --- a/frontend/src/app/sections/Tracks/TracksCard.tsx +++ b/frontend/src/app/sections/Tracks/TracksCard.tsx @@ -34,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", @@ -127,7 +127,7 @@ const TracksCard = () => { // }, [selectedTrack]); return ( -
+
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; }