Working on 'static' pages
This commit is contained in:
26
server/pages/components/Layout.js
Normal file
26
server/pages/components/Layout.js
Normal file
@@ -0,0 +1,26 @@
|
||||
// @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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user