Skip to content

Commit

Permalink
Remove GlobalHeader from home page
Browse files Browse the repository at this point in the history
  • Loading branch information
qti3e committed May 21, 2018
1 parent 60d1d7b commit 2d5018d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,13 @@
*/
import { readFileSync } from "fs";
import { h } from "preact";
import { GlobalHeader } from "./header";

// tslint:disable-next-line:variable-name
export const Home = props => {
let md = readFileSync(__dirname + "/../../README.md", "utf8");
md = "<p>" + md.replace(/\n\n/g, "\n\n<p>");
return (
<div class="index">
<GlobalHeader />
<div class="intro flex-row">
<div class="flex-cell">
<div dangerouslySetInnerHTML={{ __html: md }} />
Expand Down

0 comments on commit 2d5018d

Please sign in to comment.