From 56681084a50ac7d656027fceaf90f97f1d3cf839 Mon Sep 17 00:00:00 2001 From: Derek Nola Date: Mon, 17 Nov 2025 11:41:32 -0800 Subject: [PATCH] Simplify and correctly scale K3s Adopter section Fix dark mode backgrounds Signed-off-by: Derek Nola --- src/components/Card/CardImage/index.tsx | 18 ++++++- src/pages/community.md | 69 ++++++++++++------------- 2 files changed, 50 insertions(+), 37 deletions(-) diff --git a/src/components/Card/CardImage/index.tsx b/src/components/Card/CardImage/index.tsx index 3419fdf..284f015 100644 --- a/src/components/Card/CardImage/index.tsx +++ b/src/components/Card/CardImage/index.tsx @@ -7,6 +7,7 @@ interface CardImageProps { cardImageUrl: string; alt: string; title: string; + href?: string; } const CardImage: React.FC = ({ className, @@ -14,14 +15,27 @@ const CardImage: React.FC = ({ cardImageUrl, alt, title, + href, }) => { const generatedCardImageUrl = useBaseUrl(cardImageUrl); - return ( + + const imageElement = ( {alt} ); + + // If href is provided, wrap the image in an anchor tag + return href ? ( + + {imageElement} + + ) : ( + imageElement + ); }; export default CardImage; \ No newline at end of file diff --git a/src/pages/community.md b/src/pages/community.md index 8881e61..e009b5f 100644 --- a/src/pages/community.md +++ b/src/pages/community.md @@ -65,65 +65,64 @@ You can follow the work we plan to do using the [K3s Roadmap](https://github.com - - - - Website - + + - - - - Website - + + - - - - Website - + +
- - - - Website - + + - - - - Website - + + - - - - Website - + +
- - - - Website - + +