Skip to content

Commit dd3f515

Browse files
feat: Update ProjectCard and ProjectDetail components for improved styling and layout adjustments
1 parent 104c3f4 commit dd3f515

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/ProjectCard.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const ProjectCard: React.FC<ProjectCardProps> = ({
6262
<motion.div
6363
whileHover={{ y: -8 }}
6464
onClick={handleCardClick}
65-
className="group flex flex-col bg-white rounded-[2.5rem] border border-slate-100 overflow-hidden hover:border-blue-600 hover:shadow-2xl hover:shadow-blue-900/10 transition-all duration-500 cursor-pointer h-full relative"
65+
className="group flex flex-col bg-white rounded-[1rem] border border-slate-100 overflow-hidden hover:border-blue-600 hover:shadow-2xl hover:shadow-blue-900/10 transition-all duration-500 cursor-pointer h-full relative"
6666
>
6767
{/* 1. IMAGE AREA (Grayscale to Color Interaction) */}
6868
<div className="relative h-56 overflow-hidden bg-slate-100">
@@ -111,10 +111,10 @@ const ProjectCard: React.FC<ProjectCardProps> = ({
111111
</h3>
112112

113113
{/* Technical Summary Header */}
114-
<div className="flex items-center gap-2 mb-3">
114+
{/* <div className="flex items-center gap-2 mb-3">
115115
<Terminal size={14} className="text-slate-300" />
116116
<span className="text-[10px] font-mono font-bold text-slate-400 uppercase tracking-widest">Executive Abstract</span>
117-
</div>
117+
</div>*/}
118118

119119
{/* Comprehensive Description (responsive clamp for readability) */}
120120
<p className="text-slate-600 text-sm leading-relaxed line-clamp-4 md:line-clamp-6 mb-6 font-medium">

src/pages/ProjectDetail.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ const ProjectDetail: React.FC = () => {
128128
<div className="bg-slate-50 min-h-screen font-sans">
129129
{/* Breadcrumb Navigation */}
130130
<div className="bg-white border-b">
131-
<div className="max-w-[1600px] mx-auto px-4 sm:px-6 lg:px-8 py-4">
131+
<div className="max-w-[1400px] mx-auto px-4 sm:px-6 lg:px-8 py-4">
132132
<nav className="flex items-center space-x-2 text-sm text-gray-600">
133133
<button
134134
onClick={() => navigate('/')}

0 commit comments

Comments
 (0)