-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
112 lines (91 loc) · 2.79 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>Fanx Language</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="common.css"/>
<link rel="stylesheet" type="text/css" href="index.css"/>
<script type="text/javascript">
window.onload=function(){
var isZh = false;
var lang = (navigator.appName=='Netscape'?navigator.language:navigator.userLanguage).toLowerCase();
switch(lang){
case 'zh-cn':
isZh = true;
break;
case 'zh-tw':
isZh = true;
break;
case 'zh-hk':
isZh = true;
break;
default:
isZh = false;
}
//var contentEn = document.getElementById("content-en");
//var contentZh = document.getElementById("content-zh");
if (isZh) {
window.location.href = 'index_zh.html';
}
}
</script>
</head>
<body>
<div id="header">
<div class="sitebar">
<ul>
<li>
<a href='/'>Index<index></a>
</li>
<li>
<a href='https://github.com/fanx-dev/fanx/releases'>Download</a>
</li>
<li>
<a href='https://github.com/chunquedong/fanx/blob/master/doc/Index.md'>Doc</a>
</li>
<li>
<a href='apidoc/index.html'>ApiDoc</a>
</li>
<li>
<a href='https://fantom-lang.org/community'>Community</a>
</li>
<li>
<a href='https://github.com/fanx-dev'>GitHub</a>
</li>
</ul>
</div>
<div id="title">
<h1>Fanx</h1>
<h3>A portable language with elegant libraries</h3>
<p id="btn" class="round">
<a href="https://github.com/fanx-dev/fanx/blob/master/doc/QuickStart.md">Get Started</a>
</p>
</div>
</div>
<div class="content">
<div class="features">
<div class="fs">
<h3>Portability</h3>
<p>Multi target to JVM, JavaScript, C and standalone VM</p>
</div>
<div class="fs">
<h3>Beautiful Syntax</h3>
<p>Generics type, lambda/closures, non-nullable type, async/await ...</p>
</div>
<div class="fs">
<h3>Concurrency Safe</h3>
<p>Built-in immutability and actor model, safe in compile time</p>
</div>
<div class="fs">
<h3>Cross-platform UI Framework</h3>
<p>Write once run on Android/iOS/Web browser/Desktop</p>
</div>
<div class="fs">
<h3>Server-side Framework</h3>
<p>Web framework, database ORM, template engine, async/await based IO framewrok ...</p>
</div>
</div>
</div>
</body>
</html>