import styles from './TeamCard.module.css'; import Image from 'next/image'; import Link from 'next/link'; import { Star } from 'phosphor-react'; import classNames from 'classnames'; /** * A reusable component to credit someone. * * @param {string} name - The name of the contributor. * @param {string} caption - A caption that more or less describes the user's contributions. * @param {string} pic - A link to the avatar image. * @param {string} link - A link to the user page for this user (e.g. github/gitlab/gitbucket/gitrekt profile, fedi account, personal website/blog, ...) * @param {boolean} compact - Whether the card should be compact (e.g. Special thanks section) or regular sized (e.g. The team section). * @param {boolean} special - Shows a yellow border and a star sticker at the top of the card * * @example * * */ export default function TeamCard(ctx) { const { name, caption, pic, link, compact, special, className } = ctx; return (

{name}

{caption}

{special && } ); }