- Secure your spot at DeerHack today and elevate your skills,
-
expand your network, and ignite
+ Secure your spot at DeerHack today and elevate
+
your skills, expand your network, and ignite
innovation.
diff --git a/frontend/src/app/globals.css b/frontend/src/app/globals.css
index 0610884..439dc13 100644
--- a/frontend/src/app/globals.css
+++ b/frontend/src/app/globals.css
@@ -11,6 +11,10 @@
background: linear-gradient(140.3deg, #6633cc -15.9%, #f5c144 72.56%);
}
+ .legacy-gradient-background {
+ background: linear-gradient(116.3deg, #6633CC 3.83%, #110C24 78.88%);
+ }
+
.text-primary-gradient-color {
@apply bg-gradient-to-r from-primary from-1% to-secondary bg-clip-text text-transparent;
}
@@ -42,4 +46,10 @@
.headings {
@apply text-center text-3xl lg:text-6xl text-primary-gradient-color w-fit mx-auto px-4 md:px-0;
}
+
+ .carousel-gradient{
+ background: linear-gradient(270deg, #140E2B 100%, rgba(20, 14, 43, 0.15) -745.2%);
+ }
+
+
}
diff --git a/frontend/src/app/legacy/page.tsx b/frontend/src/app/legacy/page.tsx
index 9ac422b..a0d96c3 100644
--- a/frontend/src/app/legacy/page.tsx
+++ b/frontend/src/app/legacy/page.tsx
@@ -39,9 +39,12 @@ export default function LegacyPage(){
/>
-
+
+
+ Honoring the legacy of DeerHack by honoring its Essence, Evolving its vision and passing it with a purpose every year.
+
diff --git a/frontend/src/app/sections/HistorySection/data.ts b/frontend/src/app/sections/HistorySection/data.ts
new file mode 100644
index 0000000..03c8192
--- /dev/null
+++ b/frontend/src/app/sections/HistorySection/data.ts
@@ -0,0 +1,27 @@
+export const data = [
+ {
+ id: 1,
+ text: "Error 404",
+ },
+ {
+ id: 2,
+ text: "Nymna",
+ },
+ {
+ id: 3,
+ text: "Decent",
+ },
+ {
+ id: 4,
+ text: "Team Solo",
+ },
+ {
+ id: 5,
+ text: "Team Everest",
+ },
+ {
+ id: 6,
+ text: "Team ABC",
+ },
+];
+
diff --git a/frontend/src/app/sections/HistorySection/page.tsx b/frontend/src/app/sections/HistorySection/page.tsx
index 2264d8b..e39d3f8 100644
--- a/frontend/src/app/sections/HistorySection/page.tsx
+++ b/frontend/src/app/sections/HistorySection/page.tsx
@@ -1,32 +1,134 @@
-import { cabinetBold, cabinetExtraBold } from "@/app/utils/fonts";
-import LegacyCard from "@/app/components/Legacy/LegacyCards";
-import Deerhack24 from "@/app/assets/icons/MainLogo";
-import Deerhack25 from "@/app/assets/icons/Deerhack25";
-import styles from "./styles.module.css";
+"use client";
+import { useState } from "react";
+import { cabinetExtraBold } from "@/app/utils/fonts";
import QuotesCard from "@/app/components/Quotes/QuotesCard";
-import WinnerCard from "@/app/components/Winners/WinnersCard";
import DeerHack23Legacy from "@/app/components/Legacy/DeerHack23Legacy";
+import CarouselImage from "@/app/components/Legacy/CarouselImage";
import Winners23SVG from "@/app/assets/images/legacyWinners23SVG";
+import LegacyDemoSVG from "../../assets/images/legacyWinners23SVG";
+import IdeaSVG from "@/app/assets/images/idea";
+import { data } from "./data";
+import ArrowSVG from "@/app/assets/icons/ArrowSVG";
+
const Page = () => {
+ const quotes = [
+ {
+ id: 1,
+ titleFront: "We wanted Deehack to be the ",
+ titleHighlight: "Best Hackathon in Nepal",
+ description: " and we made it possible”",
+ titleBack:
+ "Lorem ipsum dolor sit amet consectetur adipiscing elit Ut et massa mi...",
+ name: "John Doe",
+ position: "CEO, ABC",
+ photo:
,
+ },
+ {
+ id: 2,
+ titleFront: "This is dummy text 2 ",
+ titleHighlight: "Best Hackathon in Nepal",
+ description: " and we made it possible”",
+ titleBack:
+ "Lorem ipsum dolor sit amet consectetur adipiscing elit Ut et massa mi...",
+ name: "Jane Doe",
+ position: "CTO, XYZ",
+ photo:
,
+ },
+ ];
+
+ const [index, setIndex] = useState(0);
+ const quotesData = quotes[index];
+
+ const handlePrev = () => {
+ const newIndex = (index - 1 + quotes.length) % quotes.length;
+ setIndex(newIndex);
+ };
+
+ const handleNext = () => {
+ const newIndex = (index + 1) % quotes.length;
+ setIndex(newIndex);
+ };
+
return (
- <>
-
-
- Deerhack 2023
+
+
+ Deerhack 2023
+
+
+
+
+
+
-
-
}
- title="Contrivers"
- description="DeerHack 2023 Overall Winners"
- />
+
+ {quotes.map((_, i) => (
+
setIndex(i)}
+ className={`w-3 h-3 rounded-full cursor-pointer transition-all duration-300 ${i === index ? "bg-white scale-110" : "bg-gray-500"
+ }`}
+ />
+ ))}
+
+
+
- {/* Here you will call your components like
or
*/}
+
+
Participating Teams:
+
+ {[...Array(2)].map((_, j) => (
+
+ {data.map((e, i) => (
+
+ ))}
+
+ ))}
+
+
+
}
+ title="Contrivers"
+ description="DeerHack 2023 Overall Winners"
+ />
+
+
+ );
+};
-
- >
- );
- }
- export default Page;
\ No newline at end of file
+ export default Page;
\ No newline at end of file
diff --git a/frontend/src/app/sections/LegacySection/page.tsx b/frontend/src/app/sections/LegacySection/page.tsx
index 446d525..61daaae 100644
--- a/frontend/src/app/sections/LegacySection/page.tsx
+++ b/frontend/src/app/sections/LegacySection/page.tsx
@@ -6,7 +6,7 @@ import styles from "./styles.module.css";
const Page = () => {
return (
<>
-
+
Legacy
diff --git a/frontend/tailwind.config.ts b/frontend/tailwind.config.ts
index 30b1966..481a377 100644
--- a/frontend/tailwind.config.ts
+++ b/frontend/tailwind.config.ts
@@ -39,6 +39,7 @@ const config: Config = {
animation: {
"infinite-scroll": "infinite-scroll 70s linear infinite",
"inf-scroll": "inf-scroll 70s linear infinite",
+ 'slide-left': 'slide-left 8s linear infinite',
},
keyframes: {
"infinite-scroll": {
@@ -49,9 +50,14 @@ const config: Config = {
from: { transform: "translateX(-100%)" },
to: { transform: "translateX(0)" },
},
+ "slide-left": {
+ from: { transform: 'translateX(0)' },
+ to: { transform: 'translateX(-100%)' },
+ },
},
},
},
+
plugins: [],
corePlugins: {
opacity: true,