From 790bea36b920492a0e714f9504c886c0721b91ad Mon Sep 17 00:00:00 2001 From: chark1es Date: Sat, 8 Mar 2025 14:52:03 -0800 Subject: [PATCH] attempt #5 --- src/components/projects/ProjectSection.astro | 59 +++++++++++++------- 1 file changed, 40 insertions(+), 19 deletions(-) diff --git a/src/components/projects/ProjectSection.astro b/src/components/projects/ProjectSection.astro index 86abc77..ca739f9 100644 --- a/src/components/projects/ProjectSection.astro +++ b/src/components/projects/ProjectSection.astro @@ -7,13 +7,13 @@ import { Image } from "astro:assets"; ---
{ Object.entries(annualProjects).map(([title, project], index) => ( @@ -23,24 +23,24 @@ import { Image } from "astro:assets"; alt={`${title} Project`} width={668} height={990} - class="opacity-70 w-full md:h-full h-[30vw] object-cover rounded-[1.5vw] aspect-[2/3] transition-transform duration-500 ease-in-out md:group-hover:scale-110 my-[2vw] md:my-0" + class="opacity-70 w-full h-[50vw] md:h-full object-cover rounded-[1.5vw] aspect-[2/3] transition-transform duration-500 ease-in-out md:group-hover:scale-110" />
-
-

+

+

{title}

-

+

{project.description}

-
@@ -77,12 +77,20 @@ import { Image } from "astro:assets"; opacity: 1; } } + + @media (max-width: 767px) { + .project-card { + height: auto; + margin-bottom: 5vw; + } + }