Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/containers/FAQ.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const FAQ = () => {
/>

<motion.div
className="absolute bottom-10 right-1/3 w-80 h-80 rounded-full bg-purple-500/5"
className="absolute bottom-10 right-1/3 w-80 h-80 rounded-full bg-secondary"
animate={{
scale: [1.2, 1, 1.2],
opacity: [0.4, 0.7, 0.4],
Expand Down Expand Up @@ -140,7 +140,7 @@ export const FAQ = () => {
>
<HelpCircle className="w-4 h-4 text-primary" />
<span className="text-sm font-medium text-primary">Got Questions?</span>
<Sparkles className="w-4 h-4 text-primary" />
<Sparkles className="w-4 h-4 text-secondary" />
</motion.div>

<motion.h2
Expand All @@ -150,7 +150,7 @@ export const FAQ = () => {
>
Frequently Asked{" "}
<motion.span
className="bg-gradient-to-r from-primary via-purple-500 to-primary text-transparent bg-clip-text relative"
className="bg-gradient-to-r from-primary via-secondary to-primary text-transparent bg-clip-text relative"
animate={{
backgroundPosition: ["0% center", "100% center", "0% center"],
}}
Expand All @@ -174,13 +174,13 @@ export const FAQ = () => {

{/* Animated divider */}
<motion.div
className="h-1 w-0 bg-gradient-to-r from-primary to-purple-500 rounded-full mx-auto mt-6"
className="h-1 w-0 bg-gradient-to-r from-primary to-secondary rounded-full mx-auto mt-6"
animate={isInView ? { width: 100 } : { width: 0 }}
transition={{ delay: 0.5, duration: 1 }}
/>

<motion.p
className="text-xl text-muted-foreground mt-6 max-w-2xl mx-auto"
className="text-lg text-muted-foreground mt-6 max-w-2xl mx-auto"
initial={{ opacity: 0, y: 20 }}
animate={isInView ? { opacity: 1, y: 0 } : { opacity: 0, y: 20 }}
transition={{ delay: 0.6, duration: 0.8 }}
Expand Down Expand Up @@ -255,7 +255,7 @@ export const FAQ = () => {
animate={{ rotate: isOpen ? 360 : 0 }}
transition={{ duration: 0.5, type: "spring" }}
>
<HelpCircle className="w-5 h-5 text-primary" />
<HelpCircle className="w-5 h-5 text-primary dark:text-secondary" />
</motion.div>
</motion.div>

Expand Down
18 changes: 9 additions & 9 deletions src/containers/Newsletter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const Newsletter = () => {
/>

<motion.div
className="absolute bottom-0 right-1/4 w-80 h-80 rounded-full bg-purple-500/10"
className="absolute bottom-0 right-1/4 w-80 h-80 rounded-full bg-secondary"
animate={{
scale: [1.2, 1, 1.2],
opacity: [0.1, 0.15, 0.1],
Expand Down Expand Up @@ -121,7 +121,7 @@ export const Newsletter = () => {
className="relative inline-block"
>
<motion.span
className="bg-gradient-to-r from-primary via-purple-500 to-primary text-transparent bg-clip-text"
className="bg-gradient-to-r from-primary via-secondary to-primary text-transparent bg-clip-text"
animate={{
backgroundPosition: ["0% center", "100% center", "0% center"],
}}
Expand All @@ -146,14 +146,14 @@ export const Newsletter = () => {
</motion.h3>

<motion.div
className="h-1 w-0 bg-gradient-to-r from-primary to-purple-500 mx-auto mt-4 rounded-full"
className="h-1 w-0 bg-gradient-to-r from-primary to-secondary mx-auto mt-4 rounded-full"
animate={isInView ? { width: 80 } : { width: 0 }}
transition={{ delay: 0.3, duration: 0.8 }}
/>
</motion.div>

<motion.p
className="text-xl text-muted-foreground text-center mt-6 mb-12 relative"
className="text-lg text-muted-foreground text-center mt-6 mb-12 relative"
initial={{ opacity: 0, y: 20 }}
animate={isInView ? { opacity: 1, y: 0 } : { opacity: 0, y: 20 }}
transition={{ duration: 0.6, delay: 0.3 }}
Expand Down Expand Up @@ -191,7 +191,7 @@ export const Newsletter = () => {
className="perspective-1000 relative"
>
<motion.div
className="absolute -inset-4 rounded-xl bg-gradient-to-r from-primary/20 via-purple-500/20 to-primary/20 -z-10"
className="absolute -inset-4 rounded-xl bg-gradient-to-r from-primary/20 via-secondary/20 to-primary/20 -z-10"
animate={{
backgroundPosition: ['0% center', '100% center', '0% center'],
opacity: [0.4, 0.6, 0.4],
Expand Down Expand Up @@ -228,7 +228,7 @@ export const Newsletter = () => {

<Input
placeholder="pythoncameroon@gmail.com"
className="bg-muted/50 dark:bg-muted/80 backdrop-blur-sm h-12 pl-4 pr-4 border-primary/20 focus-visible:ring-primary"
className="bg-muted/50 dark:bg-muted/80 backdrop-blur-sm h-12 pl-4 pr-4 border-primary/20 focus-visible:ring-primary dark:border-secondary/20 dark:focus-visible:ring-secondary"
aria-label="email"
value={email}
onChange={(e) => setEmail(e.target.value)}
Expand Down Expand Up @@ -268,7 +268,7 @@ export const Newsletter = () => {
className="relative overflow-hidden"
>
<Button
className="relative h-12 min-w-[120px] overflow-hidden"
className="relative h-12 min-w-[120px] overflow-hidden hover:text-primary dark:hover:text-secondary dark:bg-secondary dark:hover:bg-transparent"
disabled={isSubmitting || isSuccess}
>
<AnimatePresence mode="wait">
Expand Down Expand Up @@ -324,7 +324,7 @@ export const Newsletter = () => {
</AnimatePresence>

<motion.div
className="absolute inset-0 bg-gradient-to-r from-primary/80 via-purple-500/80 to-primary/80 -z-10"
className="absolute inset-0 bg-gradient-to-r from-primary/80 via-secondary/80 to-primary/80 -z-10"
animate={{
backgroundPosition: ['0% center', '100% center', '0% center'],
}}
Expand Down Expand Up @@ -363,7 +363,7 @@ export const Newsletter = () => {
{["Updates", "Events", "Tutorials", "Community"].map((tag, i) => (
<motion.div
key={tag}
className="px-3 py-1 bg-muted/50 backdrop-blur-sm rounded-full text-sm"
className="px-3 py-1 bg-secondary dark:bg-muted backdrop-blur-sm rounded-full text-sm"
initial={{ opacity: 0, scale: 0.8 }}
animate={{ opacity: 1, scale: 1 }}
transition={{ delay: 0.8 + (i * 0.1), duration: 0.3 }}
Expand Down
20 changes: 10 additions & 10 deletions src/containers/Team.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ const ProfileImage = ({ member, isHovered }: { member: TeamProps, isHovered: boo
) : (
// Default placeholder when all images fail
<motion.div
className="w-full h-full bg-gradient-to-br from-primary/20 to-purple-500/20 flex items-center justify-center"
className="w-full h-full bg-gradient-to-br from-primary/20 to-secondary/20 flex items-center justify-center"
animate={{
scale: isHovered ? 1.1 : 1,
}}
Expand Down Expand Up @@ -350,7 +350,7 @@ export const Team = () => {
{/* Animated background elements */}
<div className="absolute inset-0 -z-10">
<motion.div
className="absolute top-10 left-1/5 w-96 h-96 rounded-full bg-primary/5"
className="absolute top-10 left-1/5 w-96 h-96 rounded-full bg-primary"
animate={{
scale: [1, 1.3, 1],
opacity: [0.3, 0.6, 0.3],
Expand All @@ -362,7 +362,7 @@ export const Team = () => {
/>

<motion.div
className="absolute bottom-20 right-1/4 w-80 h-80 rounded-full bg-purple-500/5"
className="absolute bottom-20 right-1/4 w-80 h-80 rounded-full bg-secondary"
animate={{
scale: [1.3, 1, 1.3],
opacity: [0.4, 0.7, 0.4],
Expand Down Expand Up @@ -418,15 +418,15 @@ export const Team = () => {
transition={{ duration: 0.8 }}
>
<motion.div
className="inline-flex items-center gap-2 mb-4 px-4 py-2 rounded-full bg-primary/10 border border-primary/20"
className="inline-flex items-center gap-2 mb-4 px-4 py-2 rounded-full bg-primary/10 border border-slate-500/30"
initial={{ opacity: 0, scale: 0.8 }}
animate={isInView ? { opacity: 1, scale: 1 } : { opacity: 0, scale: 0.8 }}
transition={{ delay: 0.2, duration: 0.6 }}
whileHover={{ scale: 1.05 }}
>
<Users className="w-4 h-4 text-primary" />
<span className="text-sm font-medium text-primary">Our Amazing Team</span>
<Star className="w-4 h-4 text-primary" />
<Star className="w-4 h-4 text-secondary" />
</motion.div>

<motion.h2
Expand All @@ -435,7 +435,7 @@ export const Team = () => {
transition={{ duration: 4, repeat: Infinity, repeatType: "reverse" }}
>
<motion.span
className="bg-gradient-to-r from-primary via-purple-500 to-primary text-transparent bg-clip-text relative"
className="bg-gradient-to-r from-primary via-secondary to-primary text-transparent bg-clip-text relative"
animate={{
backgroundPosition: ["0% center", "100% center", "0% center"],
}}
Expand All @@ -459,13 +459,13 @@ export const Team = () => {

{/* Animated divider */}
<motion.div
className="h-1 w-0 bg-gradient-to-r from-primary to-purple-500 rounded-full mx-auto mt-6"
className="h-1 w-0 bg-gradient-to-r from-primary to-secondary rounded-full mx-auto mt-6"
animate={isInView ? { width: 120 } : { width: 0 }}
transition={{ delay: 0.5, duration: 1 }}
/>

<motion.p
className="text-xl text-muted-foreground mt-6 max-w-2xl mx-auto"
className="text-lg text-muted-foreground mt-6 max-w-2xl mx-auto"
initial={{ opacity: 0, y: 20 }}
animate={isInView ? { opacity: 1, y: 0 } : { opacity: 0, y: 20 }}
transition={{ delay: 0.6, duration: 0.8 }}
Expand All @@ -476,7 +476,7 @@ export const Team = () => {

{/* Team grid */}
<motion.div
className="grid md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 gap-8 gap-y-12"
className="grid md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8 gap-y-12 place-items-center justify-items-center"
initial={{ opacity: 0 }}
animate={isInView ? { opacity: 1 } : { opacity: 0 }}
transition={{ delay: 0.7, duration: 0.8 }}
Expand Down Expand Up @@ -536,7 +536,7 @@ export const Team = () => {
>
{/* Rotating background gradient */}
<motion.div
className="absolute -inset-3 bg-gradient-to-r from-primary/30 via-purple-500/30 to-primary/30 rounded-full -z-10"
className="absolute -inset-3 bg-gradient-to-r from-primary/30 via-secondary/30 to-primary/30 rounded-full -z-10"
animate={{
rotate: isHovered ? 360 : 0,
scale: isHovered ? 1.1 : 1,
Expand Down
Loading
Loading