import PropTypes from 'prop-types' import Head from 'next/head' import Navigasyon from './navigasyon' const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || 'http://localhost:3000' const apiUrl = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:1337' export default function HeadLayout({ children, imageUrl, imageWidth, imageHeight, title, tab, slug }) { return (
#OKi | {title ? title : 'Organisation KA Internationale'} {children}
) } HeadLayout.propTypes = { children: PropTypes.node.isRequired, imageUrl: PropTypes.string, imageWidth: PropTypes.number, imageHeight: PropTypes.number, title: PropTypes.string, tab: PropTypes.number.isRequired, slug: PropTypes.string } HeadLayout.defaultProps = { imageUrl: null, imageWidth: null, imageHeight: null, title: null, slug: null }