import React, {ReactNode} from 'react'; import {Helmet} from 'react-helmet'; import {URLFlagProvider} from '../contexts/FlagContext'; import J40Header from './J40Header'; import J40Footer from './J40Footer'; interface ILayoutProps { children: ReactNode, location: Location, title: string, } const Layout = ({children, location, title}: ILayoutProps) => { // @ts-ignore return ( <> {`${title} - Climate & Economic Justice Screening Tool`} {/* Description content should ideally be between 160 - 200 characters */} {/* Keyword content should list the top 10 words in order of relevance. The words chosen need to appear on every page. These words were chosen from the header as it appears on each page */} {/* Allows for Open Graph meta tags */} {/* DAP Tag */}
{children}
); }; export default Layout;