-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a double presenter card for joint presentations
- Loading branch information
Showing
4 changed files
with
53 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ( | ||
<div className="m-4 max-w-5xl overflow-hidden rounded-xl border-2 border-zinc-900/5 bg-white shadow-lg ring-4 ring-zinc-900/5 dark:ring-zinc-500/50"> | ||
<div className="flex justify-between"> | ||
<Image className="" src={src1} alt={name1} width={300} priority /> | ||
<Image className="" src={src2} alt={name2} width={300} priority /> | ||
</div> | ||
<div className="px-2 py-4"> | ||
<div className="mb-2 flex justify-between border-b-4 border-cyan-500 dark:border-fuchsia-600"> | ||
<div className="text-black-900 w-1/2 text-nowrap p-2 text-center text-xl font-bold"> | ||
{name1} | ||
</div> | ||
<div className="text-black-900 w-1/2 text-nowrap p-2 text-center text-xl font-bold"> | ||
{name2} | ||
</div> | ||
</div> | ||
<p className="p-2 text-center text-xl text-gray-700">{topic}</p> | ||
</div> | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters