import React, { ReactNode } from 'react'; import Head from 'next/head'; import Header from './Header'; import Footer from './Footer'; interface LayoutProps { children: ReactNode; title?: string; description?: string; } const Layout: React.FC = ({ children, title = 'Confessions of Grace', description = 'A blog dedicated to exploring the doctrines of grace and Reformed theology.' }) => { return ( <> {title}
{children}
); }; export default Layout;