diff --git a/assets/images/copilot-landing/debugging_invalid_json.png b/assets/images/copilot-landing/debugging_invalid_json.png new file mode 100644 index 000000000000..0883112cbb15 Binary files /dev/null and b/assets/images/copilot-landing/debugging_invalid_json.png differ diff --git a/assets/images/copilot-landing/generating_unit_tests.png b/assets/images/copilot-landing/generating_unit_tests.png new file mode 100644 index 000000000000..3ad2adafa74c Binary files /dev/null and b/assets/images/copilot-landing/generating_unit_tests.png differ diff --git a/assets/images/copilot-landing/improving_code_readability.png b/assets/images/copilot-landing/improving_code_readability.png new file mode 100644 index 000000000000..37e4b01f5f1f Binary files /dev/null and b/assets/images/copilot-landing/improving_code_readability.png differ diff --git a/src/landings/components/CategoryLanding.tsx b/src/landings/components/CategoryLanding.tsx index 21522a196d65..f004f3b844e0 100644 --- a/src/landings/components/CategoryLanding.tsx +++ b/src/landings/components/CategoryLanding.tsx @@ -85,10 +85,37 @@ export const CategoryLanding = () => { {intro && {intro}}

Spotlight

-
- - - +
+
+ +
+
+ +
+
+ +
@@ -110,7 +137,7 @@ export const CategoryLanding = () => {
  • - image ? ( -
    - ) : null - //
  • - ) +function setImage(image: string, alt: string) { + return image ? ( + {alt} + ) : null } const spotlightClasses = 'd-flex flex-column align-items-center' export const CookBookArticleCard = ({ - title = defaultProps.title, - icon = defaultProps.icon as IconType, - tags = defaultProps.tags, - description = defaultProps.description, + title, + icon, + tags, + description, image = '', url, spotlight = false, @@ -86,7 +76,7 @@ export const CookBookArticleCard = ({ style={{ minHeight: 200 }} className={spotlight ? spotlightClasses : 'd-flex pb-3 border-bottom'} > - {spotlight ? setImage(image) : null} + {spotlight ? setImage(image, title) : null} {spotlight ? null : IconComponent && ( @@ -104,7 +94,7 @@ export const CookBookArticleCard = ({ {tags.map((tag, index) => ( //fix this to have unique keys + ))}