import cn from 'classnames'; import { FC } from 'react'; import Linkify from 'react-linkify'; import { Logo } from '../../ui/Logo/Logo'; import { SocialLinks } from '../../ui/SocialLinks/SocialLinks'; import { SocialLink } from '../../../interfaces/social-link.model'; import styles from './ContentHeader.module.scss'; export type ContentHeaderProps = { name: string; summary: string; tags: string[]; links: SocialLink[]; logo: string; }; export const ContentHeader: FC = ({ name, summary, logo, tags, links }) => (

{name}

{summary}

{tags.length > 0 && tags.map(tag => #{tag} )}
);