diff --git a/apps/docs/src/components/dashboardblocks-promo.tsx b/apps/docs/src/components/dashboardblocks-promo.tsx new file mode 100644 index 0000000..f50a677 --- /dev/null +++ b/apps/docs/src/components/dashboardblocks-promo.tsx @@ -0,0 +1,87 @@ +import { ArrowUpRightIcon } from 'lucide-react' + +import { DashboardBlocksIcon } from '@/components/icons/dashboardblocks' +import { cn } from '@/lib/utils' + +export const DASHBOARDBLOCKS_URL = + 'https://www.dashboardblocks.com/?utm_source=reactqrcode.com' + +/** + * Decorative "dashboard" illustration: a tiny wireframe with stat tiles and + * a bar chart that grows on hover. Purely visual, hidden from assistive tech. + */ +function DashboardIllustration() { + const block = + 'rounded-[3px] bg-foreground/[0.09] transition-all duration-500 ease-out group-hover/promo:bg-foreground/[0.16]' + const bar = + 'w-full origin-bottom rounded-[2px] bg-foreground/[0.12] transition-transform duration-500 ease-out group-hover/promo:bg-foreground/[0.2]' + + return ( +
+ ) +} + +export function DashboardBlocksPromo({ className }: { className?: string }) { + return ( + ++ Build dashboards faster with Dashboardblocks +
++ Ready-made dashboard blocks & templates built with shadcn/ui. +
+