File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import { readFileSync } from "fs";
17
17
import { h } from "preact" ;
18
18
import { GlobalHeader } from "./header" ;
19
19
20
- export const PropelIndex = props => {
20
+ export const Home = props => {
21
21
let md = readFileSync ( __dirname + "/../../README.md" , "utf8" ) ;
22
22
md = "<p>" + md . replace ( / \n \n / g, "\n\n<p>" ) ;
23
23
return (
Original file line number Diff line number Diff line change 16
16
// This is the propelml.org website. It is used both server-side and
17
17
// client-side for generating HTML.
18
18
import { Component , h , render } from "preact" ;
19
- import { PropelIndex } from "./components/index " ;
19
+ import { Home } from "./components/home " ;
20
20
import * as db from "./db" ;
21
21
import * as nb from "./notebook_root" ;
22
22
import * as types from "./types" ;
@@ -116,7 +116,7 @@ export const pages: Page[] = [
116
116
{
117
117
title : "Propel ML" ,
118
118
path : "index.html" ,
119
- root : PropelIndex ,
119
+ root : Home ,
120
120
route : / ^ \/ ( i n d e x .h t m l ) ? $ /
121
121
} ,
122
122
{
You can’t perform that action at this time.
0 commit comments