-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.rhtml
168 lines (151 loc) · 7.6 KB
/
index.rhtml
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
<!DOCTYPE html>
<!-- Naive homepage -->
<html lang="zh-CN" dir="ltr">
<head>
<title>GeekApk 应用社区</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="theme-color" content="#009788">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta property="og:title" content="GeekApk 应用社区">
<meta name="description" content="自由的应用市场">
<meta property="og:description" content="Cool as CoolApk, Free as AUR">
<link rel="canonical" href="https://geekapk.org/">
<meta property="og:url" content="https://geekapk.org/">
<meta property="og:site_name" content="GeekApk Project">
<meta property="og:image" content="https://geekapk.org/favicon.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mdui/0.4.0/css/mdui.min.css">
<link rel="icon" href="https://geekapk.org/favicon.png" />
<link rel="shortcut icon" href="https://geekapk.org/favicon.png">
<script src="https://cdnjs.cloudflare.com/ajax/libs/mdui/0.4.0/js/mdui.min.js"></script>
<script src="https://d3js.org/d3.v3.min.js"></script>
<script src="https://cdn.bootcss.com/jquery/3.1.1/jquery.min.js"></script>
<style>
body {
background-color: #009788;
color: white;
padding: 2%;
font-weight: 900;
}
.github-corner {
border-bottom: 0;
position: fixed;
right: 0;
text-decoration: none;
top: 0;
z-index: 1
}
.github-corner svg {
color: #fff;
fill: #42b983;
fill: var(--theme-color, #42b983);
height: 80px;
width: 80px
}
.rotateanim:active {
-webkit-animation: a .56s ease-in-out;
animation: a .56s ease-in-out
}
.github-corner:hover .octo-arm {
-webkit-animation: a .56s ease-in-out;
animation: a .56s ease-in-out
}
@-webkit-keyframes a {
0%,
to {
-webkit-transform: rotate(0);
transform: rotate(0)
}
20%,
60% {
-webkit-transform: rotate(-25deg);
transform: rotate(-25deg)
}
40%,
80% {
-webkit-transform: rotate(10deg);
transform: rotate(10deg)
}
}
@keyframes a {
0%,
to {
-webkit-transform: rotate(0);
transform: rotate(0)
}
20%,
60% {
-webkit-transform: rotate(-25deg);
transform: rotate(-25deg)
}
40%,
80% {
-webkit-transform: rotate(10deg);
transform: rotate(10deg)
}
}
</style>
<script src="https://geekapk.org/js/geekstyle.js"></script>
<!-- delaunay copied from https://crystal-lang.org/ -->
<script src="https://geekapk.org/js/delaunay.js"></script>
</head>
<body scroll="no" style="overflow-x:hidden;overflow-y:hidden">
<a href="https://github.com/geekapk" class="github-corner header-section" aria-label="View organize on Github">
<svg viewBox="0 0 250 250" aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor" class="octo-body"></path>
</svg>
</a>
<nav class="mdui-toolbar mdui-color-theme">
<a id="robot" class="rotateanim mdui-btn mdui-icon-left">
<i class="mdui-icon material-icons">android</i>
<a class="mdui-hidden-xs">GEEKAPK</a>
</a>
<div class="mdui-toolbar-spacer"></div>
<a href="https://wiki.geekapk.org" class="mdui-btn mdui-color-white mdui-shadow-0 mdui-text-color-teal mdui-btn-raised mdui-ripple mdui-hidden-xs">
<i class="mdui-icon material-icons">book</i>Wiki</button>
<a href="https://geekapk.org/web" class="mdui-btn mdui-btn-raised mdui-shadow-0 mdui-ripple mdui-hidden-xs">
<i class="mdui-icon material-icons">web</i>Web</a>
<a href="https://geekapk.org/dev" class="mdui-btn mdui-btn-raised mdui-shadow-0 mdui-ripple">
<i class="mdui-icon material-icons">developer_mode</i>Docs</a>
<a href="https://news.geekapk.org" class="mdui-btn mdui-btn-raised mdui-shadow-0 mdui-ripple mdui-hidden-xs">
<i class="mdui-icon material-icons">assistant_photo</i>News</a>
<a href="https://status.geekapk.org" class="mdui-btn mdui-btn-raised mdui-shadow-0 mdui-ripple">
<i class="mdui-icon material-icons">check</i>Status</a>
<a href="https://geekapk.org/about" class="mdui-btn mdui-btn-raised mdui-shadow-0 mdui-ripple mdui-hidden-xs">
<i class="mdui-icon material-icons">local_florist</i>About</a>
</nav>
<h1 align="center" class="mdui-typo-display-4 mdui-hidden-xs">GeekApk</h1>
<h1 align="center" class="mdui-typo-display-2">纯净的应用社区</h1>
<div align="center">
<a href="https://geekapk.org/about" class="mdui-btn mdui-btn-raised mdui-color-white mdui-ripple mdui-ripple-green">我们的故事</a>
<a href="https://wiki.geekapk.org" class="mdui-btn mdui-btn-raised mdui-color-white mdui-ripple mdui-ripple-yellow">应用 Wiki</a>
<a href="https://geekapk.org/web" class="mdui-btn mdui-btn-raised mdui-color-white mdui-text-color-teal">加入社区</a>
</div>
<button class="mdui-fab mdui-color-white mdui-fab-fixed mdui-ripple" mdui-dialog="{target: '#dialog-clients'}" mdui-tooltip="{content: '获取客户端'}"><i class="mdui-icon material-icons">get_app</i></button>
<div class="mdui-dialog" id="dialog-clients">
<div class="mdui-dialog-title">积极维护中的 GeekApk 客户端</div>
<div class="mdui-dialog-content">GeekApk 是一个开放、自由的应用市场。她的后端只提供 API,爱好者们使用 GeekApk 的开放 API 为她编写易于使用的客户端程序</div>
<div class="mdui-dialog-actions mdui-dialog-actions-stacked">
<button class="mdui-btn mdui-ripple">Gee (Java Android client)</button>
<button class="mdui-btn mdui-ripple">Gaee (Ruby API library and cli client)</button>
</div>
</div>
<div id="delaunay"></div>
<script>
var robot = document.getElementById('robot');
robot.onclick = function () {
draw();
console.log("Delaunay drawed.")
}
robot.ondragend = function () {
canvas.remove();
console.log("Bye-bye! ;-)");
robot.onclick = null
robot.ondragend = null
}
</script>
</body>