import Image from 'next/image'; import Link from 'next/link'; import { ReactElement } from 'react'; import { t } from '@lingui/macro'; import photo from '@assets/images/armand-philippot.jpg'; import { config } from '@config/website'; import styles from './Branding.module.scss'; import Head from 'next/head'; import { Person, WithContext } from 'schema-dts'; import Logo from './Logo/Logo'; type BrandingReturn = ({ isHome }: { isHome: boolean }) => ReactElement; const Branding: BrandingReturn = ({ isHome = false }) => { const TitleTag = isHome ? 'h1' : 'p'; const schemaJsonLd: WithContext = { '@context': 'https://schema.org', '@type': 'Person', '@id': `${config.url}/#branding`, name: config.name, url: config.url, jobTitle: config.baseline, image: photo.src, subjectOf: { '@id': `${config.url}` }, }; return ( <>
{t({
{config.name}

{config.baseline}

); }; export default Branding;