-
Notifications
You must be signed in to change notification settings - Fork 17
/
index.hbs
270 lines (250 loc) · 11.6 KB
/
index.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<!--<![endif]-->
<head>
<meta charset="utf-8">
<title>{{item}}</title>
<meta name="description" content="A Javascript Library For Building Composable And Declarative Charts | React-d3">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" sizes="57x57" href="/favicon/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/favicon/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/favicon/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/favicon/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/favicon/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/favicon/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/favicon/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/favicon/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/favicon/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/favicon/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png">
<link rel="manifest" href="/favicon/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/favicon/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<!-- Google fonts - which you want to use - (rest you can just remove) -->
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic,700,700italic,800,800italic' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Raleway:100,200,300,400,500,600,700,800,900' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic' rel='stylesheet' type='text/css'>
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/font-awesome.min.css">
<link rel="stylesheet" href="/css/animate.css">
<link rel="stylesheet" href="/css/prettyPhoto.css">
<link rel="stylesheet" href="/css/owl.carousel.css">
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/responsive.css">
<link rel="stylesheet" href="/css/github-markdown.css">
<link rel="stylesheet" href="/css/prism.css">
<style>
.markdown-body {
min-width: 200px;
max-width: 850px;
margin: 0 auto;
padding: 30px;
}
.legend {
height: 30px !important;
}
#area-stack .x.axis text{
transform: rotate(45deg);
text-anchor: start !important;
}
</style>
<script src="js/vendor/modernizr-2.6.2.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.2/react.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script>
<script src="https://cdn.jsdelivr.net/react/0.14.0/react-dom.js"></script>
</head>
<body id="top">
<header>
<!-- NAVIGATION -->
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!-- LOGO -->
<a class="navbar-brand page-scroll" href="#page-top">
<img src="{{logo}}" alt="" style="width:130px">
</a>
<!-- END LOGO -->
</div>
<!-- TOGGLE NAV -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-left">
<li class="hidden">
<a href="#page-top"></a>
</li>
<li>
<a href="/get_start">Get Started</a>
</li>
<li>
<a href="/docs">Docs</a>
</li>
<li>
<a href="/components">Gallery</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://map.reactd3.org">React-d3-map</a>
</li>
<li>
<a href="http://github.com/react-d3">Github</a>
</li>
</ul>
</div>
<!-- TOGGLE NAV -->
</div>
<!-- /.container -->
</nav>
<!-- END NAVIGATION -->
</header>
<!-- HOME -->
<div id="home-area">
<div class="overlay">
<div class="container">
<div class="row">
<!-- HOME CONTENT -->
{{#ifCond description '||' slogan }}
<div class="home-content wow fadeInLeft" data-wow-duration="1s" data-wow-delay="0s">
{{#if slogan}}
<h1>{{slogan}}</h1>
{{/if}}
{{#if description}}
<p>{{description}}</p>
{{/if}}
</div>
{{/ifCond}}
<!-- END HOME CONTENT -->
<!-- HOME FEATURE IMAGE -->
{{#if banner-img}}
<div class="col-md-10 col-sm-10 col-xs-12">
<div class="home-feature pull-right center-block wow bounceIn" data-wow-duration="1s" data-wow-delay="1s">
<a href="/get_start">
<button type="button" class="btn btn-danger btn-lg">Get Started</button>
</a>
</div>
</div>
{{/if}}
<!-- END HOME FEATURE IMAGE -->
</div>
</div>
</div>
</div>
<!-- END HOME -->
<!-- SERVICES -->
{{#if product}}
{{#each product.data}}
<a name="{{@index}}"></a>
<section id="services" class="section text-center">
<div class="container">
<h2 class="section-title wow fadeIn">{{name}}</h2>
<div class="row text-left wow fadeInRight" data-wow-duration="1s" data-wow-delay=".3s">
{{#if feature}}
{{#each feature}}
<div class="col-md-4 col-sm-6">
<div class="single-service text-left wow fadeInRight" data-wow-duration="1s" data-wow-delay=".3s">
<div class="row" style="margin-bottom:20px">
<div class="col-md-12">
<div class="service-content">
{{#if name}}
<h3>{{{name}}}</h3>
{{/if}}
{{#if description}}
<p>{{{description}}}</p>
{{/if}}
</div>
</div>
</div>
</div>
</div>
{{/each}}
{{/if}}
{{#if demo}}
{{#each demo}}
<div class="home-md">
<div class="single-service text-left wow fadeInRight" data-wow-duration="1s" data-wow-delay=".3s">
{{#if md}}
<section data-markdown="{{md}}" >
</section>
{{/if}}
</div>
</div>
{{/each}}
{{/if}}
{{#if md}}
<div class="markdown-body">
{{#ifCond name '==' 'Introduction'}}
<a href="https://github.com/react-d3/react-d3-core">
<button type="button" class="btn btn-success">OPEN SOURCE ON GITHUB</button>
</a>
{{else}}
<iframe src="https://ghbtns.com/github-btn.html?user=react-d3&repo={{name}}&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
{{/ifCond}}
<section data-markdown="{{md}}" >
</section>
</div>
{{/if}}
</div>
{{#if demo}}
<!--.row-->
<a href="/get_start">
<button type="button" class="btn btn-danger btn-lg">Get Started</button>
</a>
{{/if}}
</div>
<!--/.container -->
<!-- END SERVICES -->
</section>
{{/each}}
{{/if}}
<!-- FOOTER -->
<footer>
<div class="container">
<div class="row">
<!-- FOOTER MENU -->
<div class="col-md-6">
</div>
<!-- END FOOTER MENU -->
<!-- FOOTER CONTENT -->
<div class="col-md-6">
<div class="footer-content text-right">
<p>© 2015 License Apache2.0, <a href="/">React-d3</a>
</p>
</div>
</div>
<!-- END FOOTER CONTENT -->
</div>
<!-- /.row -->
</div>
<!-- ./container -->
</footer>
<!-- js files -->
<script src="/js/vendor/jquery-1.10.2.min.js"></script>
<script src="/js/plugins.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/wow.min.js"></script>
<script src="/js/prettyPhoto.js"></script>
<script src="/js/owl.carousel.min.js"></script>
<script src="/js/main.js"></script>
<script src="/js/prism.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-67901975-1', 'auto');
ga('send', 'pageview');
</script>
</body>