import type { FC } from 'react'; import { Meta, type MetaData, ResponsiveImage, type ResponsiveImageProps, } from '../../molecules'; import styles from './overview.module.scss'; export type OverviewMeta = Pick< MetaData, | 'creation' | 'license' | 'popularity' | 'repositories' | 'technologies' | 'update' >; export type OverviewProps = { /** * Set additional classnames to the overview wrapper. */ className?: string; /** * The overview cover. */ cover?: Pick; /** * The overview meta. */ meta: OverviewMeta; }; /** * Overview component * * Render an overview. */ export const Overview: FC = ({ className = '', cover, meta, }) => { const { technologies, ...remainingMeta } = meta; const metaModifier = technologies ? styles['meta--has-techno'] : ''; return (
{cover ? : null}
); };