diff --git a/web/components/landing.tsx b/web/components/landing.tsx index 19ba70c..5312a37 100644 --- a/web/components/landing.tsx +++ b/web/components/landing.tsx @@ -1,3 +1,4 @@ +import Image from "next/image"; import { ArrowDown, ArrowRight, CircleDot, Search, ShieldCheck, Terminal } from "lucide-react"; import { CommandBlock, CopyCommandButton } from "@/components/copy-command"; import { GitHubMark } from "@/components/icons"; @@ -17,6 +18,7 @@ import { VERSION, } from "@/lib/content"; import { glossify } from "@/lib/glossary"; +import { heroSrc } from "@/lib/heroes"; import { DESCRIPTION, SITE_URL } from "@/lib/site"; import { type Lang, @@ -388,19 +390,36 @@ function Audits({ lang }: { lang: Lang }) { lead={tt.audLead} >
- {auditsFor(lang).map((a, i) => ( - - - -

{a.name}

-

{glossify(a.blurb, lang)}

-

{glossify(a.mapsTo, lang)}

-
-
- ))} + {auditsFor(lang).map((a, i) => { + const hero = heroSrc(a.name); + return ( + + + {hero && ( +
+ +
+ )} +
+ +

{a.name}

+

{glossify(a.blurb, lang)}

+

{glossify(a.mapsTo, lang)}

+
+
+
+ ); + })}
);