You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
531 B
React
25 lines
531 B
React
5 years ago
|
"use strict";
|
||
|
|
||
|
const React = require("react");
|
||
|
|
||
|
module.exports = function Layout({ children }) {
|
||
|
return (
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charSet="UTF-8"/>
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||
|
<meta httpEquiv="X-UA-Compatible" content="ie=edge"/>
|
||
|
<link rel="stylesheet" href="/style.css"/>
|
||
|
<title>Matrix Room List Viewer</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div className="container">
|
||
|
<h1>Matrix Room List Viewer</h1>
|
||
|
<hr/>
|
||
|
{children}
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|
||
|
);
|
||
|
};
|