Added page

This commit is contained in:
ポール ウェッブ 2019-01-25 12:07:53 -06:00
parent dba6102ed7
commit 7055bf2560
2 changed files with 30 additions and 0 deletions

View file

@ -35,6 +35,7 @@ function main() {
app.route("/", page(require("./views/home"))); app.route("/", page(require("./views/home")));
app.route("/api/*", page(require("./views/api"))); app.route("/api/*", page(require("./views/api")));
app.route("/dev-program", page(require("./views/dev")));
app.route("/spec", page(require("./views/spec"))); app.route("/spec", page(require("./views/spec")));
app.route("/*", page(require("./views/redirect"))); app.route("/*", page(require("./views/redirect")));

29
app/views/dev.js Normal file
View file

@ -0,0 +1,29 @@
"use strict";
// I M P O R T
import html from "choo/html";
// E X P O R T
export default () => html`
<article class="page" itemtype="http://schema.org/BlogPosting">
<header class="page__header">
<div class="page__header-wrap">
<div class="inner-wrap">
<h1 class="page__header__title" itemprop="name headline">Dev Program</h1>
</div>
</div>
</header>
<section class="page__content" itemprop="articleBody">
<div class="inner-wrap">
<p>...</p>
</div>
</section>
</article>
`;