Skip to content

Commit f476bd8

Browse files
authored
Feature/resume adjustments (#51)
* better spacing for education * fix(ProjectsSection): highlight whole Card When you hover over a card with a carousel, the entire card highlights properly, but when you hover over a card without the carousel, the highlight effect doesn’t fully cover the entire card area, leaving some parts unhighlighted.
1 parent 7e0ef62 commit f476bd8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/components/ProjectsSection.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ const isCV = isCVMode()
147147
{
148148
featuredProjects.map((project) => (
149149
<Card class="group overflow-hidden hover-scale transition-all duration-300 animate-fade-in">
150-
<div class="bg-primary/0 group-hover:bg-primary/10 transition-colors duration-300">
150+
<div class="w-full h-full bg-primary/0 group-hover:bg-primary/10 transition-colors duration-300">
151151
{project.images.length > 0 && !isCV && (
152152
<div>
153153
<Carousel

src/components/ResumeSection.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,19 +124,19 @@ const isCV = isCVMode()
124124
<CardContent class="whitespace-pre-line">
125125
{
126126
education.map((edu) => (
127-
<div class="space-y-2">
127+
<div class="space-y-2 mb-8 last:mb-0">
128128
<h4 class="font-semibold">
129129
{edu.studyType}
130130
</h4>
131131
<p class="text-primary font-medium">
132132
{edu.institution}
133133
</p>
134-
<Badge variant="secondary" class="text-xs">
135-
{edu.startDate} - {edu.endDate}
136-
</Badge>
137134
<p class="text-sm text-muted-foreground mt-2">
138135
{edu.area}
139136
</p>
137+
<Badge variant="secondary" class="text-xs">
138+
{edu.startDate} - {edu.endDate}
139+
</Badge>
140140
</div>
141141
))
142142
}

0 commit comments

Comments
 (0)