diff --git a/docs/app/examples/layout.tsx b/docs/app/examples/layout.tsx index e82b8a4039..78d76af785 100644 --- a/docs/app/examples/layout.tsx +++ b/docs/app/examples/layout.tsx @@ -22,7 +22,7 @@ export default function Layout({ children }: { children: ReactNode }) { page.name = ( - {exampleData.title} + {exampleData.title} {exampleData.isPro && } ); diff --git a/docs/components/CTAButton.tsx b/docs/components/CTAButton.tsx index 47f951e033..e0078770e1 100644 --- a/docs/components/CTAButton.tsx +++ b/docs/components/CTAButton.tsx @@ -4,13 +4,14 @@ import { ReactNode } from "react"; export default function CTAButton(props: { href: string; hoverGlow?: boolean; - size?: "small" | "large"; + size?: "default" | "small"; + variant?: "default" | "colored"; children: ReactNode; }) { return (
diff --git a/docs/components/Example.tsx b/docs/components/Example.tsx index 0e706ea82f..4b6108b0aa 100644 --- a/docs/components/Example.tsx +++ b/docs/components/Example.tsx @@ -118,7 +118,7 @@ function ExampleProPrompt() { BlockNote Pro

- + Get BlockNote Pro
diff --git a/docs/components/ExampleCards.tsx b/docs/components/ExampleCards.tsx index 2967ba1ef5..1a8187ccaa 100644 --- a/docs/components/ExampleCards.tsx +++ b/docs/components/ExampleCards.tsx @@ -3,6 +3,7 @@ import { Heading } from "fumadocs-ui/components/heading"; import { exampleGroupsData } from "./example/generated/exampleGroupsData.gen"; import { Fragment } from "react"; +import { ProBadge } from "./ProBadge"; export default function ExampleCards() { return ( @@ -14,10 +15,11 @@ export default function ExampleCards() { {exampleGroupData.examplesData.map((exampleData) => ( ) : undefined } - title={exampleData.title} + title={ + + {exampleData.title} + {exampleData.isPro && } + + } description={ exampleData.author ? `by ${exampleData.author}` : undefined } diff --git a/docs/components/ProBadge.tsx b/docs/components/ProBadge.tsx index 6524d336c0..72cfc78dcc 100644 --- a/docs/components/ProBadge.tsx +++ b/docs/components/ProBadge.tsx @@ -1,6 +1,6 @@ export function ProBadge() { return ( - + Pro );