import Head from 'next/head'; import Image from 'next/image'; import Link from 'next/link'; import { t, m } from '../i18n'; export function Header(props) { const { faqPage } = props; const lang = 'en'; // req.query.lang || 'en' function __(message) { return t(message, lang); } return ( <> {__(m.title)}
{__(m.title)}
{!faqPage ? ( FAQ ) : ( Go Home )}
); }