You can not 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
616 B

2 years ago
2 years ago
  1. "use strict";
  2. const React = require("react");
  3. module.exports = function Layout({ children }) {
  4. return (
  5. <html lang="en">
  6. <head>
  7. <meta charSet="UTF-8"/>
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  9. <meta httpEquiv="X-UA-Compatible" content="ie=edge"/>
  10. <link rel="stylesheet" href="/style.css"/>
  11. <title>Matrix Room List Viewer</title>
  12. </head>
  13. <body>
  14. <div className="container">
  15. <h1>Matrix Room List Viewer</h1>
  16. <a href="https://git.cryto.net/joepie91/matrix-room-list-viewer">Source code</a>
  17. <hr/>
  18. {children}
  19. </div>
  20. </body>
  21. </html>
  22. );
  23. };