shellphone.app/app/core/layouts/base-layout.tsx

23 lines
371 B
TypeScript
Raw Normal View History

import { ReactNode } from "react";
import { Head } from "blitz";
2021-07-31 14:33:18 +00:00
type LayoutProps = {
title?: string;
children: ReactNode;
};
2021-07-31 14:33:18 +00:00
const BaseLayout = ({ title, children }: LayoutProps) => {
return (
<>
<Head>
<title>{title || "virtual-phone"}</title>
<link rel="icon" href="/favicon.ico" />
</Head>
{children}
</>
);
};
2021-07-31 14:33:18 +00:00
export default BaseLayout;