diff --git a/src/components/Card.astro b/src/components/Card.astro index 38797ea..e592a8b 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -20,7 +20,7 @@ const { index, title, year, description, imgSrc, imgType, href } = Astro.props ---
{ imgSrc && ( @@ -30,7 +30,7 @@ const { index, title, year, description, imgSrc, imgType, href } = Astro.props alt={title} src={imgSrc} class:list={[ - 'object-cover object-center aspect-[21/9] w-full transition group-hover:scale-105', + 'object-cover object-center aspect-[21/9] w-full transition group-hover:scale-105 motion-reduce:group-hover:transform-none', { pixelated: imgType === 'pixelated' }, ]} width={720} diff --git a/src/components/social-icons/index.astro b/src/components/social-icons/index.astro index cb4dacd..e7f949f 100644 --- a/src/components/social-icons/index.astro +++ b/src/components/social-icons/index.astro @@ -32,6 +32,6 @@ const sizeClass = size === 8 ? 'size-8' : 'size-6' {kind} diff --git a/src/components/solidjs/MobileNav.tsx b/src/components/solidjs/MobileNav.tsx index 150d6c4..6b64622 100644 --- a/src/components/solidjs/MobileNav.tsx +++ b/src/components/solidjs/MobileNav.tsx @@ -43,7 +43,7 @@ export default function MobileNav(props: {