-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
27e30f8
commit 77dab0e
Showing
3 changed files
with
70 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
import { motion } from "framer-motion"; | ||
|
||
const AboutSection: React.FC = () => { | ||
return ( | ||
<section className="relative flex items-center justify-center min-h-screen bg-black text-white"> | ||
{/* Background decorative layers */} | ||
<div className="absolute inset-0"> | ||
<motion.div | ||
className="absolute w-full h-full bg-gradient-to-br from-red-600 via-black to-black opacity-70" | ||
initial={{ opacity: 0 }} | ||
whileInView={{ opacity: 1 }} | ||
transition={{ duration: 1 }} | ||
/> | ||
<motion.div | ||
className="absolute -top-20 -left-20 w-64 h-64 md:w-96 md:h-96 bg-gradient-to-r from-red-600 to-black opacity-30 rounded-full" | ||
initial={{ scale: 0 }} | ||
animate={{ scale: 1 }} | ||
transition={{ duration: 1.5, ease: "easeOut" }} | ||
/> | ||
<motion.div | ||
className="absolute -bottom-20 -right-20 w-64 h-64 md:w-96 md:h-96 bg-gradient-to-r from-red-600 to-black opacity-30 rounded-full" | ||
initial={{ scale: 0 }} | ||
animate={{ scale: 1 }} | ||
transition={{ duration: 1.5, ease: "easeOut", delay: 0.3 }} | ||
/> | ||
</div> | ||
|
||
{/* About content */} | ||
<motion.div | ||
className="relative z-10 max-w-4xl p-4 md:p-8 text-center" | ||
initial={{ y: 50, opacity: 0 }} | ||
whileInView={{ y: 0, opacity: 1 }} | ||
transition={{ duration: 1, ease: "easeOut" }} | ||
> | ||
<h2 className="text-4xl md:text-7xl font-bold text-red-600 mb-4 md:mb-6 leading-tight"> | ||
About TEDxSJEC | ||
</h2> | ||
<p className="text-base md:text-lg leading-relaxed mb-4 md:mb-6 text-gray-300"> | ||
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. | ||
</p> | ||
<p className="text-base md:text-lg leading-relaxed text-gray-300"> | ||
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. | ||
</p> | ||
|
||
{/* Decorative line */} | ||
<motion.div | ||
className="mt-8 md:mt-12 mx-auto w-20 md:w-24 h-1 bg-red-600 rounded-full" | ||
initial={{ scaleX: 0 }} | ||
animate={{ scaleX: 1 }} | ||
transition={{ duration: 1.2, ease: "easeOut", delay: 0.5 }} | ||
/> | ||
</motion.div> | ||
</section> | ||
); | ||
}; | ||
|
||
export default AboutSection; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
.sticky-section { | ||
box-sizing: border-box; | ||
position: relative; | ||
margin-top: 200px; | ||
} | ||
|
||
.cards__item { | ||
|