45 lines
1.5 KiB
JavaScript
45 lines
1.5 KiB
JavaScript
import { h } from 'jsx-node'
|
|
|
|
export default ({ articleUrl, protocol, hostname, websocketsPort, INITIAL_STATE, js, css, cssFile }) => {
|
|
return (
|
|
'<!doctype html>' +
|
|
(
|
|
<html>
|
|
<head>
|
|
<title>Journey</title>
|
|
<meta charset='UTF-8' />
|
|
<meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' />
|
|
<link type='text/css' rel='stylesheet' href={`/css/main` + (css ? css.suffix : '') + '.css'} />
|
|
</head>
|
|
|
|
<body>
|
|
<div class='container'>
|
|
<div data-location='home' class='location l01'>
|
|
<div data-location='home' class='item'>
|
|
<span>Home</span>
|
|
</div>
|
|
</div>
|
|
<div data-location='office' class='location l02'>
|
|
<div data-location='office' class='item'>
|
|
<span>Office</span>
|
|
</div>
|
|
</div>
|
|
<div data-location='brother' class='location l03'>
|
|
<div data-location='brother' class='item'>
|
|
<span>Brother</span>
|
|
</div>
|
|
</div>
|
|
<div data-location='therapist' class='location l04'>
|
|
<div data-location='therapist' class='item'>
|
|
<span>The Rapist</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id='results' />
|
|
<script src={'/js/app' + (js ? js.suffix : '') + '.js'} />
|
|
</body>
|
|
</html>
|
|
)
|
|
)
|
|
}
|