This repository has been archived by the owner on Nov 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
index.html
178 lines (153 loc) · 4.5 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Nancy - Lightweight Web Framework for .net</title>
<link rel="icon" type="image/vnd.microsoft.icon" href="http://nancyfx.org/favicon.ico">
<link rel="nuget" type="application/rsd+xml" href="http://www.myget.org/Discovery/Feed/nancyfx" />
<link rel="nuget" type="application/rsd+xml" href="http://www.myget.org/Discovery/Feed/nancyasync" />
<style type="text/css">
* {
margin: 0;
}
html, body {
height: 100%;
}
body {
background-color: #000;
}
.wrapper {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -12px;
}
.footer, .push {
height: 12px;
width: 750px;
margin: 0 auto;
}
.footer img {
margin-right: 10px;
opacity: 0.7;
vertical-align: middle;
}
#container {
margin: 0 auto;
width: 750px;
padding-top: 32px;
overflow: hidden;
}
h1 {
display: block;
padding-top: 287px;
padding-bottom: 0;
margin: 0;
height: 0;
overflow: hidden;
float: left;
width: 256px;
background: transparent url(images/logo.png) no-repeat top left;
}
h2 {
color: #fff;
font-family: Consolas,'Andale Mono','Lucida Console','DejaVu Sans Mono',monospace;
font-size: 30px;
font-weight: normal;
}
#instructions {
margin-left: 55px;
padding-top: 10px;
clear: left;
}
.supporters {
display: inline;
margin-right: 30px;
}
.code {
color: #fff;
font-family: Consolas,'Andale Mono','Lucida Console','DejaVu Sans Mono',monospace;
padding: 1.2em 2em;
font-size: 0.9em;
}
.code .kwrd { color: #b76927; }
.code .name { color: #e0be5a; }
.code .str { color: #91c456; }
#navigation {
display: block;
color: #fff;
float: right;
margin-top: 12px;
text-align: right;
list-style-type: none;
text-decoration: none;
font-family: Consolas,'Andale Mono','Lucida Console','DejaVu Sans Mono',monospace;
font-size: 30px;
}
#navigation a {
color: #fff;
text-decoration: none;
font-size: 30px;
}
#navigation a sup {
font-size: 12px;
}
#navigation a:hover {
text-decoration: underline;
}
#footer {
font-family: Consolas,'Andale Mono','Lucida Console','DejaVu Sans Mono',monospace;
font-size: 10px;
text-align: right;
color: #353535;
width: 750px;
}
</style>
</head>
<body>
<div class="wrapper">
<div id="container">
<div id="header">
<h1>Nancy - Lightweight Web Framework for .net and mono</h1>
</div>
<ul id="navigation">
<li><a href="http://blog.nancyfx.org/" target="_blank">Blog</a>
<li><a href="https://github.com/NancyFx" target="_blank">Source Code</a></li>
<li><a href="https://github.com/NancyFx/Nancy/wiki/Documentation" target="_blank">Documentation</a></li>
<li><a href="mvm.html">MVM Program</a></li>
<li><a href="https://slack.nancyfx.org/" target="_blank">Chat</a></li>
<li><a href="http://nancyfx.org/contribs.html">Contributors</a></li>
</ul>
<div id="instructions">
<h2>Install</h2>
<pre class="code">PM> Install-Package Nancy</pre>
<h2>Write</h2>
<pre class="code">
<span class="kwrd">public</span> <span class="kwrd">class</span> <span class="name">SampleModule</span> : <span class="name">Nancy.NancyModule</span>
{
<span class="kwrd">public</span> SampleModule()
{
Get[<span class="str">"/"</span>] = _ => <span class="str">"Hello World!"</span>;
}
}</pre>
<h2>Go!</h2>
</div>
</div>
<div class="push"></div>
</div>
<div class="footer">
<div id="footer">
Supported by <img src="images/jetbrains-logo.png" title="JetBrains"/>
Copyright (c) 2010 Andreas Håkansson, Steven Robbins and contributors
</div>
</div>
<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-40877433-1', 'nancyfx.org');
ga('send', 'pageview');
</script>
</body>
</html>