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; title: string; summary: string; tags: string[]; links: SocialLink[]; logo: string; }; export const ContentHeader: FC = ({ name, title, summary, logo, tags, links, }) => (

{name}

{title || summary}

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