shellphone.app/app/core/layouts/base-layout.tsx
2021-08-03 21:03:10 +08:00

23 lines
372 B
TypeScript

import { ReactNode } from "react";
import { Head } from "blitz";
type LayoutProps = {
title?: string;
children: ReactNode;
};
const BaseLayout = ({ title, children }: LayoutProps) => {
return (
<>
<Head>
<title>{title || "shellphone.app"}</title>
<link rel="icon" href="/favicon.ico" />
</Head>
{children}
</>
);
};
export default BaseLayout;