Skip to content

Commit 789fdf1

Browse files
committed
up
1 parent fd97234 commit 789fdf1

1 file changed

Lines changed: 9 additions & 25 deletions

File tree

src/components/home/our-projects-section.tsx

Lines changed: 9 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -65,33 +65,17 @@ interface OurProjectsSectionProps {
6565
export default function OurProjectsSection({ className }: OurProjectsSectionProps) {
6666
return (
6767
<section
68-
className={`relative bg-gradient-to-br from-[#1a1035] via-[#2d1f5c] to-[#1a1035] py-16 sm:py-24 ${className || ""}`}
68+
className={`relative bg-muted/50 py-16 sm:py-24 ${className || ""}`}
6969
aria-labelledby="our-projects-heading"
7070
>
71-
{/* Background Pattern */}
72-
<div className="absolute inset-0 opacity-10">
73-
<div
74-
className="absolute inset-0"
75-
style={{
76-
backgroundImage: `repeating-linear-gradient(
77-
45deg,
78-
transparent,
79-
transparent 10px,
80-
rgba(147, 51, 234, 0.1) 10px,
81-
rgba(147, 51, 234, 0.1) 20px
82-
)`
83-
}}
84-
/>
85-
</div>
86-
8771
<Container className="relative z-10">
8872
<Stack gap={8}>
8973
{/* Section Header */}
9074
<Stack gap={4} align="center" className="text-center mb-4">
91-
<Typography variant="h2" id="our-projects-heading" className="text-white">
75+
<Typography variant="h2" id="our-projects-heading">
9276
Our Projects
9377
</Typography>
94-
<Typography variant="lead" className="max-w-2xl text-gray-300">
78+
<Typography variant="lead" className="max-w-2xl">
9579
Showcasing innovative web solutions that transform ideas into exceptional digital experiences
9680
</Typography>
9781
</Stack>
@@ -110,7 +94,7 @@ export default function OurProjectsSection({ className }: OurProjectsSectionProp
11094

11195
function ProjectCard({ project }: { project: Project }) {
11296
return (
113-
<div className="group relative overflow-hidden rounded-xl bg-[#1e1245] border border-purple-900/30 shadow-xl transition-all duration-300 hover:shadow-2xl hover:shadow-purple-900/20 hover:-translate-y-1">
97+
<div className="group relative overflow-hidden rounded-xl bg-card border border-border shadow-md transition-all duration-300 hover:shadow-xl hover:-translate-y-1">
11498
{/* Image Container */}
11599
<div className="relative aspect-[16/10] overflow-hidden">
116100
<Image
@@ -121,11 +105,11 @@ function ProjectCard({ project }: { project: Project }) {
121105
sizes="(max-width: 768px) 100vw, 50vw"
122106
/>
123107
{/* Gradient Overlay */}
124-
<div className="absolute inset-0 bg-gradient-to-t from-[#1e1245] via-[#1e1245]/40 to-transparent" />
108+
<div className="absolute inset-0 bg-gradient-to-t from-card via-card/40 to-transparent" />
125109

126110
{/* Category Badge */}
127111
<div className="absolute top-4 left-4">
128-
<span className="inline-flex items-center rounded-full bg-purple-600/80 backdrop-blur-sm px-3 py-1 text-xs font-medium text-white">
112+
<span className="inline-flex items-center rounded-full bg-primary/90 backdrop-blur-sm px-3 py-1 text-xs font-medium text-primary-foreground">
129113
{project.category}
130114
</span>
131115
</div>
@@ -140,16 +124,16 @@ function ProjectCard({ project }: { project: Project }) {
140124

141125
{/* Content */}
142126
<div className="p-6">
143-
<h3 className="text-xl font-bold text-white mb-2 group-hover:text-purple-300 transition-colors">
127+
<h3 className="text-xl font-bold text-foreground mb-2 group-hover:text-primary transition-colors">
144128
{project.title}
145129
</h3>
146-
<p className="text-gray-400 text-sm leading-relaxed line-clamp-3">
130+
<p className="text-muted-foreground text-sm leading-relaxed line-clamp-3">
147131
{project.description}
148132
</p>
149133
</div>
150134

151135
{/* Hover Border Effect */}
152-
<div className="absolute inset-0 rounded-xl border-2 border-transparent group-hover:border-purple-500/50 transition-colors pointer-events-none" />
136+
<div className="absolute inset-0 rounded-xl border-2 border-transparent group-hover:border-primary/30 transition-colors pointer-events-none" />
153137
</div>
154138
)
155139
}

0 commit comments

Comments
 (0)