Refactor site structure to put general information (such as brief introduction to...
[ndcode_site.git] / projects / index.html.jst
1 return async env => {
2   let breadcrumbs = await _require('/_lib/breadcrumbs.jst')
3   let icon_jst = await env.site.get_min_svg('/_svg/icon_jst.svg')
4   let navbar = await _require('/_lib/navbar.jst')
5   let icon_pitree = await env.site.get_min_svg('/_svg/icon_pitree.svg')
6  
7   await navbar(
8     env,
9     // head
10     async _out => {},
11     // body
12     async _out => {
13       await breadcrumbs(env, _out)
14
15       p {
16         'The below projects are essentially frameworks that make it easier for you to build something. To make use of them, you will need to be familiar with either '
17         tt {'Python'}
18         ' or '
19         tt {'node.js'}
20         ' depending on each project’s language. The frameworks meet my needs for the present, and are intended to become more mature over time based on your feedback and/or contributions.'
21       }
22
23       p {
24         'Go on, take a look inside! '
25         i {'[Actually don\'t because it\'s still under construction]'}
26       }
27
28       ul.nav.flex-column {
29         li.nav-item {
30           a.nav-link {
31             table.icon-and-text {
32               tr {
33                 td {
34                   _out.push(icon_pitree)
35                 }
36                 td {
37                   span.h1 {
38                     span.serif {'π'}
39                     'tree'
40                   }
41                   br {}
42                   span.h3 {'the source code analysis and transformation framework'}
43                 }
44               }
45             }
46           }
47         }
48         li.nav-item {
49           a.nav-link {
50             table.icon-and-text {
51               tr {
52                 td {
53                   _out.push(icon_jst)
54                 }
55                 td {
56                   span.h1{'JST'}
57                   br {}
58                   span.h3{'the web development framework with JavaScript Templates'}
59                 }
60               }
61             }
62           }
63         }
64       }
65     },
66     // scripts
67     async _out => {}
68   )
69 }