Skip to content

Commit

Permalink
💄 added voorbeeld van card component
Browse files Browse the repository at this point in the history
  • Loading branch information
scar055 committed Nov 8, 2023
1 parent 46eb865 commit da8ae4e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion packages/next-templates/src/app/card-component/card/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client';

import { Heading2, Paragraph } from '@utrecht/component-library-react';
import { Heading2, Page, Paragraph } from '@utrecht/component-library-react';
import clsx from 'clsx';
import Image from 'next/image';
import Link from 'next/link';
Expand Down Expand Up @@ -36,3 +36,15 @@ export const Card: FC<CardProps> = ({ description, title, image: { url = '', alt
</div>
);
};
export default function Home() {
return (
<Page>
<Card
description="test test test test test test test test"
title="test"
image={{ url: '/business_corgi.jpeg', alt: 'test' }}
link={{ href: '#' }}
/>
</Page>
);
}

0 comments on commit da8ae4e

Please sign in to comment.