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 - + +