We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60d1d7b commit 2d5018dCopy full SHA for 2d5018d
src/components/home.tsx
@@ -14,15 +14,13 @@
14
*/
15
import { readFileSync } from "fs";
16
import { h } from "preact";
17
-import { GlobalHeader } from "./header";
18
19
// tslint:disable-next-line:variable-name
20
export const Home = props => {
21
let md = readFileSync(__dirname + "/../../README.md", "utf8");
22
md = "<p>" + md.replace(/\n\n/g, "\n\n<p>");
23
return (
24
<div class="index">
25
- <GlobalHeader />
26
<div class="intro flex-row">
27
<div class="flex-cell">
28
<div dangerouslySetInnerHTML={{ __html: md }} />
0 commit comments