diff --git a/src/app/colors.css b/src/app/colors.css index 95ec008b24..e955c4c2dd 100644 --- a/src/app/colors.css +++ b/src/app/colors.css @@ -1,5 +1,6 @@ :root, .light { + --color-pri-lightest: 319 100% 96%; --color-pri-lighter: 319 100% 90%; --color-pri-light: 318 100% 80%; --color-pri-base: 319 100% 44.1%; diff --git a/src/components/cards.tsx b/src/components/cards.tsx index a04b9c5884..75f35b46dc 100644 --- a/src/components/cards.tsx +++ b/src/components/cards.tsx @@ -1,45 +1,88 @@ -import { ReactElement } from "react" -import { Card } from "./card" import { clsx } from "clsx" -import NextLink from "next/link" +import ArrowDownIcon from "@/app/conf/_design-system/pixelarticons/arrow-down.svg?svgr" +import { learnPages } from "./learn-aggregator/learn-pages" export function Cards({ items, + numbered, }: { items: { - icon: ReactElement + icon?: + | (({ className }: { className?: string }) => React.ReactNode) + | React.ReactNode title: string description?: string link: string }[] + numbered?: string }) { return ( -
- {items.map(({ icon: Icon, title, link, description }) => { - const isExternal = link.startsWith("https://") +
+ ) } diff --git a/src/components/footer/index.tsx b/src/components/footer/index.tsx index b23a0a6814..bc61380eb9 100644 --- a/src/components/footer/index.tsx +++ b/src/components/footer/index.tsx @@ -115,7 +115,7 @@ export function Footer() {