From 77dab0e0dabeda36cabcae7ff97221928682e6f3 Mon Sep 17 00:00:00 2001 From: pranavvraja Date: Tue, 8 Oct 2024 13:11:49 +0530 Subject: [PATCH] add: about section --- src/app/page.tsx | 10 ++-- src/components/common/About.tsx | 62 +++++++++++++++++++++++ src/components/stacking-cards/stacked.css | 1 + 3 files changed, 70 insertions(+), 3 deletions(-) create mode 100644 src/components/common/About.tsx diff --git a/src/app/page.tsx b/src/app/page.tsx index 3ea88c9..d1a7e1d 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -6,14 +6,18 @@ import TextReveal from "@/components/ui/text-reveal"; import ParallaxFooter from "@/components/common/Footer"; import StackedCards from "@/components/stacking-cards/stacked"; import { PreviousEdition } from "@/components/common/Container-Scroll"; +import About from "@/components/common/About"; export default function Home() { return ( <>
-
-
- +
+
+
diff --git a/src/components/common/About.tsx b/src/components/common/About.tsx new file mode 100644 index 0000000..75e7a64 --- /dev/null +++ b/src/components/common/About.tsx @@ -0,0 +1,62 @@ +import { motion } from "framer-motion"; + +const AboutSection: React.FC = () => { + return ( +
+ {/* Background decorative layers */} +
+ + + +
+ + {/* About content */} + +

+ About TEDxSJEC +

+

+ TEDxSJEC is an independently organized event bringing together + innovators, thinkers, and visionaries from around the world. Our goal + is to inspire change, provoke deep discussions, and foster creativity + through groundbreaking ideas. +

+

+ Join us for a day of inspiring talks, immersive experiences, and + powerful conversations. Together, we will explore the future and share + ideas that are truly worth spreading. +

+ + {/* Decorative line */} + + +
+ ); +}; + +export default AboutSection; diff --git a/src/components/stacking-cards/stacked.css b/src/components/stacking-cards/stacked.css index eb069b6..98fc47b 100644 --- a/src/components/stacking-cards/stacked.css +++ b/src/components/stacking-cards/stacked.css @@ -1,6 +1,7 @@ .sticky-section { box-sizing: border-box; position: relative; + margin-top: 200px; } .cards__item {