Skip to content

Commit

Permalink
Fix badge url issue (cncf#608)
Browse files Browse the repository at this point in the history
Closes cncf#603

Signed-off-by: Cintia Sanchez Garcia <[email protected]>
  • Loading branch information
cynthia-sg authored and ES-zxy committed May 8, 2024
1 parent 5667609 commit 0b8f6ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/webapp/src/layout/common/itemModal/BadgeModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const BadgeModal = (props: Props) => {
const openStatus = () => props.openStatus;
const origin = window.location.origin;
const foundation = FOUNDATION;
const badgeImage = `https://img.shields.io/badge/${foundation}%20Landscape-5699C6`;
const badgeImage = `https://img.shields.io/badge/${formatShieldsBadgeContent(foundation)}%20Landscape-5699C6`;
const markdownLink = () => `[![${foundation} Landscape](${badgeImage})](${origin}${BASE_PATH}/?item=${itemId()})`;
const asciiLink = () => `${origin}${BASE_PATH}/?item=${itemId()}[image:${badgeImage}[${foundation} LANDSCAPE]]`;

Expand Down

0 comments on commit 0b8f6ea

Please sign in to comment.