Skip to content

Commit

Permalink
style: change image height + improve accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
CJ13th committed Feb 15, 2024
1 parent bf2ac92 commit da5524e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/project-carousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function createCarousel(repoMap: Map<string, {project: string; repoUrl: string,
>
<div className="flex items-center space-x-2 justify-evenly">
<MyImage
className="rounded-md min-w-[30px] shrink-0 bg-foreground"
className="rounded-md min-w-[45px] min-h-[45px] shrink-0 bg-foreground"
src={repo.repoIcon}
alt={`${repo.project} logo`}
radius="sm"
Expand Down Expand Up @@ -78,7 +78,7 @@ export default async function ({}: IProjectCarouselProps) {


return (
//group group-hover:[animation-play-state:paused] add to enable animation
//group group-hover:[animation-play-state:paused] add to enable pausing animation
<div className="flex flex-col py-4">
<div className="text-center uppercase tracking-wide font-semibold">
Fueling the future of open source software
Expand All @@ -87,7 +87,7 @@ export default async function ({}: IProjectCarouselProps) {
<div className="flex items-center justify-center md:justify-start gap-x-8 animate-infinite-scroll group-hover:[animation-play-state:paused] px-2">
{projectRowLogos}
</div>
<div className="flex items-center justify-center md:justify-start gap-x-8 animate-infinite-scroll group-hover:[animation-play-state:paused] px-2">
<div className="flex items-center justify-center md:justify-start gap-x-8 animate-infinite-scroll group-hover:[animation-play-state:paused] px-2" aria-hidden="true">
{dupeRowLogos}
</div>
</div>
Expand Down

0 comments on commit da5524e

Please sign in to comment.