This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
outline/server/pages/components/Layout.js

27 lines
493 B
JavaScript

// @flow
import React from 'react';
import { Helmet } from 'react-helmet';
type Props = {
children?: React$Element<*>,
};
export default function Layout({ children }: Props) {
return (
<html lang="en">
<head>
<Helmet>
<title>Atlas</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
</Helmet>
{'{{HEAD}}'}
{'{{CSS}}'}
</head>
<body>
{children}
</body>
</html>
);
}