Skip to content

Commit d0a8a6d

Browse files
authored
Update index.md
1 parent 9bf49fb commit d0a8a6d

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

index.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ layout: default
3131
<h2 class="text-4xl font-bold text-center mb-8 bg-gradient-to-r from-primary to-accent text-transparent bg-clip-text">Projects</h2>
3232
<div class="space-y-8">
3333
{% for project in site.data.projects %}
34-
<div class="card flex-col md:flex-row bg-base-100 shadow-xl">
35-
<figure class="w-full md:w-1/3 p-4"><img src="{{ project.image | relative_url }}" alt="{{ project.title }}" class="rounded-lg object-cover h-full w-full"></figure>
34+
<div class="card flex-col md:flex-row bg-base-100 shadow-xl overflow-hidden md:items-start">
35+
<figure class="w-full md:w-1/3 h-48 md:h-full"><img src="{{ project.image | relative_url }}" alt="{{ project.title }}" class="object-cover h-full w-full"></figure>
3636
<div class="card-body w-full md:w-2/3">
3737
<h3 class="card-title">{{ project.title }}</h3>
3838
<p class="text-sm">{{ project.date }}</p>
@@ -52,8 +52,10 @@ layout: default
5252
<h3 class="text-3xl font-bold mb-6 text-center">{{ experience_type.type }}</h3>
5353
<div class="space-y-8">
5454
{% for job in experience_type.jobs %}
55-
<div class="card flex-col md:flex-row bg-base-100 shadow-xl">
56-
<figure class="w-full md:w-1/4 p-4"><img src="{{ job.image | relative_url }}" alt="{{ job.company }}" class="object-contain h-32 md:h-full"></figure>
55+
<div class="card flex-col md:flex-row bg-base-100 shadow-xl overflow-hidden md:items-start">
56+
<figure class="w-full md:w-1/4 h-48 md:h-full flex items-center justify-center p-4 bg-gray-100">
57+
<img src="{{ job.image | relative_url }}" alt="{{ job.company }}" class="object-contain max-h-full">
58+
</figure>
5759
<div class="card-body w-full md:w-3/4">
5860
<h4 class="card-title">{{ job.title }} at {{ job.company }}</h4>
5961
<p class="text-sm text-gray-500">{{ job.location }} | {{ job.dates }}</p>

0 commit comments

Comments
 (0)