diff --git a/components/widgets/bookmark/Widget.tsx b/components/widgets/bookmark/Widget.tsx index fe9775f..8cb8602 100644 --- a/components/widgets/bookmark/Widget.tsx +++ b/components/widgets/bookmark/Widget.tsx @@ -6,6 +6,37 @@ import { BrandIcon } from "@/components/widgets/BrandIcon"; type BookmarkWidget = Extract; export function BookmarkWidget({ widget }: { widget: BookmarkWidget }) { + if (widget.links && widget.links.length > 0) { + return ( +
+
+ + {widget.name} +
+ {widget.description && {widget.description}} +
+ {widget.links.map((link) => ( + + + {link.name} + + + ))} +
+
+ ); + } + return (