diff --git a/apps/website/src/app/components/invoice/page.tsx b/apps/website/src/app/components/invoice/page.tsx index d8913d5dbf..1a1cea4254 100644 --- a/apps/website/src/app/components/invoice/page.tsx +++ b/apps/website/src/app/components/invoice/page.tsx @@ -1,4 +1,6 @@ import type { Metadata } from "next"; +import Image from "next/image"; +import invoice from "public/images/update/invoice-pdf/pdf-invoice.jpg"; export const metadata: Metadata = { title: "React PDF Invoice Template | Midday", @@ -8,6 +10,7 @@ export const metadata: Metadata = { export default function Page() { return (
+ Invoice
@@ -18,7 +21,7 @@ export default function Page() {
-
+

Components

@@ -50,28 +53,38 @@ export default function Page() { A collection of open-source components based on Midday features.

+ +
+ +
- {components.map(({ name, description, image, href, ready }) => ( - - -
-

{name}

- {!ready && ( - - Coming soon - - )} -
-

{description}

+ {components.map( + ({ name, description, image, href, ready, className }) => ( + + +
+

{name}

+ {!ready && ( + + Coming soon + + )} +
+

{description}

-
- {name} -
-
- - ))} +
+ {name} +
+
+ + ), + )}
);