diff --git a/bun.lockb b/bun.lockb index 72636fa..f2cad85 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/src/app/components/DoublePresenterCard.tsx b/src/app/components/DoublePresenterCard.tsx new file mode 100644 index 0000000..5f0d64d --- /dev/null +++ b/src/app/components/DoublePresenterCard.tsx @@ -0,0 +1,35 @@ +import Image, { StaticImageData } from 'next/image' + +export const DoublePresenterCard = ({ + src1, + name1, + src2, + name2, + topic, +}: { + src1: StaticImageData + src2: StaticImageData + name1: string + name2: string + topic: string +}) => { + return ( +
{topic}
+{topic}
+{topic}
) diff --git a/src/app/page.tsx b/src/app/page.tsx index 3fefc68..cfe2aa3 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,12 +1,13 @@ -import { Header } from './components/Header' -import { Title } from './components/Title' -import { PresenterCard } from './components/PresenterCard' -import { Timer } from './components/Timer' -import { Footer } from './components/Footer' +import { Header } from '@/app/components/Header' +import { Title } from '@/app/components/Title' +import { PresenterCard } from '@/app/components/PresenterCard' +import { Timer } from '@/app/components/Timer' +import { Footer } from '@/app/components/Footer' import presenterOne from '@/images/example-photo-1.jpeg' import presenterTwo from '@/images/example-photo-2.jpeg' import presenterThree from '@/images/example-photo-3.jpeg' +import { DoublePresenterCard } from './components/DoublePresenterCard' export default function Home() { const date = new Date().toLocaleDateString('en-AU', { @@ -39,13 +40,23 @@ export default function Home() {