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.
Files
outline/server/pages/components/Layout.js
2017-11-09 00:20:22 -08:00

32 lines
635 B
JavaScript

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