Make default_value be in JSON not logjson format (faster and more convenient)
[ndcode_site.git] / index.html.jst
1 return async env => {
2   let icon_jst = await env.site.get_min_svg('/_svg/icon_jst.svg')
3   let navbar = await _require('/navbar.jst')
4   let icon_pitree = await env.site.get_min_svg('/_svg/icon_pitree.svg')
5  
6   await navbar(
7     env,
8     async _out => {},
9     async _out => {
10       h1 {'NDCODE projects'}
11
12       p {'We have developed these projects because we wanted to do things differently — and make our vision come to life. At times our vision is quite radical and creative, at other times we just fall back on good engineering and making it as simple as possible.'}
13
14       p {'Given that we do things differently, we have generally had to build up each idea into a complete framework that provides a comprehensive solution to a family of problems. Please do contribute to help make each framework more comprehensive over time.'}
15
16       p {'Go on, take a look inside!'}
17
18       ul.nav.nav-stacked {
19         li {
20           a {
21             table.icon-and-text {
22               tr {
23                 td {
24                   _out.push(icon_pitree)
25                 }
26                 td {
27                   span.text-h1 {
28                     span.text-serif {'π'}
29                     'tree'
30                   }
31                   br {}
32                   span.text-h3 {'the source code analysis and transformation framework'}
33                 }
34               }
35             }
36           }
37         }
38         li {
39           a {
40             table.icon-and-text {
41               tr {
42                 td {
43                   _out.push(icon_jst)
44                 }
45                 td {
46                   span.text-h1{'JST'}
47                   br {}
48                   span.text-h3{'the web development framework with JavaScript Templates'}
49                 }
50               }
51             }
52           }
53         }
54       }
55     }
56   )
57 }