diff --git a/src/components/landing-page/ProblemCard.tsx b/src/components/landing-page/ProblemCard.tsx index ec6a53b..e280c07 100644 --- a/src/components/landing-page/ProblemCard.tsx +++ b/src/components/landing-page/ProblemCard.tsx @@ -4,8 +4,7 @@ import NextLink from "next/link"; interface ProblemCardProps { href: string; new: boolean; - qubits: number; - speedup: "polynomial" | "superpolynomial"; + tags: string[]; problemName: string; description: string; } @@ -16,7 +15,7 @@ export const ProblemCard = (props: ProblemCardProps) => { {props.new && ( - + New )} @@ -27,7 +26,17 @@ export const ProblemCard = (props: ProblemCardProps) => { fontSize="xs" textTransform="uppercase" > - {props.qubits} qubits • {props.speedup} speedup + {props.tags.map((tag) => ( + + {tag} + + ))} diff --git a/src/components/landing-page/ProblemChooser.tsx b/src/components/landing-page/ProblemChooser.tsx index b0f835f..bd1bde4 100644 --- a/src/components/landing-page/ProblemChooser.tsx +++ b/src/components/landing-page/ProblemChooser.tsx @@ -6,9 +6,8 @@ export const ProblemChooser = (props: GridProps) => ( @@ -17,8 +16,7 @@ export const ProblemChooser = (props: GridProps) => ( @@ -27,8 +25,7 @@ export const ProblemChooser = (props: GridProps) => (