-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
305 lines (262 loc) · 10.1 KB
/
Copy pathindex.html
File metadata and controls
305 lines (262 loc) · 10.1 KB
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
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Humanoid Intelligence</title>
<!-- Favicon -->
<link rel="icon" type="image/x-icon" href="assets/hi_logo.ico">
<!-- Resolve the language before first paint so there is no English flash -->
<script>
(function () {
var STORAGE_KEY = 'hi-lang';
function normalize(value) {
return value && value.toLowerCase().indexOf('zh') === 0 ? 'zh' : 'en';
}
function stored() {
try {
return localStorage.getItem(STORAGE_KEY);
} catch (e) {
return null; // private mode / storage disabled
}
}
// Precedence: explicit ?lang= > remembered choice > browser locale
var requested = /[?&]lang=([^&]+)/.exec(location.search);
var lang = requested
? normalize(decodeURIComponent(requested[1]))
: normalize(stored() || navigator.language);
window.__hiLang = { key: STORAGE_KEY, initial: lang, explicit: !!requested, normalize: normalize };
document.documentElement.lang = lang;
})();
</script>
<!-- Import Google Fonts to match the screenshot's font style -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Playfair+Display:wght@600&display=swap" rel="stylesheet">
<style>
/* Reset basic styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #000000; /* Solid black background */
color: #ffffff; /* Pure white text */
font-family: 'Inter', sans-serif; /* Default sans-serif font */
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative; /* Used for positioning the footer */
}
/* Main container */
.container {
text-align: center;
padding: 20px;
}
/* Main title */
h1 {
font-family: 'Playfair Display', serif; /* Serif font for the title */
font-size: 32px;
font-weight: 600;
letter-spacing: 0.5px;
margin-bottom: 30px;
}
/* Description text container */
.description {
font-size: 14px;
font-weight: 400;
line-height: 1.8;
letter-spacing: 0.2px;
color: #ffffff;
margin-bottom: 40px;
}
.desc-line {
display: block;
}
/* --- Global link styles (kept consistent) --- */
a {
color: #ffffff; /* Default white */
text-decoration: none; /* No underline by default */
transition: border-bottom 0.2s ease; /* Smooth transition */
border-bottom: 1px solid transparent; /* Reserve space for hover underline */
}
a:hover {
border-bottom: 1px solid #ffffff; /* White underline on hover */
}
/* ------------------------------------------ */
/* Contact info grid container */
.contact-grid {
display: inline-grid;
grid-template-columns: auto auto; /* Two columns, auto width */
column-gap: 35px; /* Horizontal spacing between columns */
row-gap: 12px; /* Vertical spacing between rows */
text-align: left; /* Left align text to match the start of columns */
font-size: 14px;
}
/* Label column */
.label {
font-weight: 700; /* Bold */
}
/* Content column (email or link) */
.content {
font-weight: 400;
}
/* --- Language switch --- */
.lang-switch {
position: fixed;
top: 24px;
right: 28px;
font-size: 12px;
letter-spacing: 0.5px;
color: #666666;
}
.lang-switch a {
color: #666666;
border-bottom: 1px solid transparent;
transition: color 0.2s ease;
}
.lang-switch a:hover {
color: #ffffff;
border-bottom-color: transparent;
}
.lang-switch a[aria-current="true"] {
color: #ffffff;
}
.lang-switch .sep {
margin: 0 6px;
}
/* Show only the active language; English is the no-JS default */
html[lang="zh"] [data-lang="en"],
html:not([lang="zh"]) [data-lang="zh"] {
display: none;
}
/* The description wrapper holds block-level .desc-line children */
.description > [data-lang] {
display: block;
}
/* Chinese typography: CJK glyphs fall back to system fonts,
so adjust the stacks and spacing to keep the rhythm even */
html[lang="zh"] body {
font-family: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}
html[lang="zh"] h1 {
font-family: 'Playfair Display', 'Songti SC', 'STSong', 'SimSun', serif;
letter-spacing: 1.5px;
}
html[lang="zh"] .description {
letter-spacing: 0;
line-height: 1.9;
}
/* ----------------------- */
/* Footer copyright information */
.footer {
position: absolute;
bottom: 30px;
font-size: 10px;
color: #666666; /* Dark gray */
font-weight: 400;
}
/* Adaptation for small screens */
@media (max-width: 600px) {
h1 {
font-size: 24px;
margin-bottom: 20px;
}
.description {
font-size: 13px;
line-height: 1.6;
margin-bottom: 30px;
}
.contact-grid {
column-gap: 20px;
font-size: 13px;
}
.lang-switch {
top: 16px;
right: 16px;
}
}
</style>
</head>
<body>
<!-- Language switch: real links so ?lang= URLs stay shareable -->
<nav class="lang-switch">
<a href="?lang=en" data-set-lang="en">EN</a><span class="sep">/</span><a href="?lang=zh" data-set-lang="zh">中文</a>
</nav>
<div class="container">
<!-- Title -->
<h1>
<span data-lang="en">Hi, Humanoid Intelligence!</span>
<span data-lang="zh">Hi, 人形智能!</span>
</h1>
<!-- Description text split into two lines -->
<div class="description">
<span data-lang="en">
<span class="desc-line">We develop and scale cognitive-science inspired humanoid foundation models and agents</span>
<span class="desc-line">jointly supported by <a href="https://openmoss.ai" target="_blank">OpenMOSS</a> & <a href="https://www.sii.edu.cn" target="_blank">SII</a> & <a href="https://www.fudan.edu.cn/en" target="_blank">Fudan</a></span>
</span>
<span data-lang="zh">
<span class="desc-line">我们研发并规模化受认知科学启发的人形机器人基础模型与智能体</span>
<span class="desc-line">由 <a href="https://openmoss.ai" target="_blank">OpenMOSS</a> & <a href="https://www.sii.edu.cn" target="_blank">上海创智学院</a> & <a href="https://www.fudan.edu.cn" target="_blank">复旦大学</a> 联合支持</span>
</span>
</div>
<!-- Contact Information -->
<div class="contact-grid">
<div class="label">GitHub</div>
<div class="content">
<a href="https://github.com/humanoidintelligence" target="_blank">humanoidintelligence</a>
</div>
<div class="label"><span data-lang="en">Contact</span><span data-lang="zh">联系方式</span></div>
<div class="content">pengli.ds@gmail.com</div>
</div>
</div>
<!-- Footer -->
<div class="footer">
<span data-lang="en">© 2026 Hi-Tech. All rights reserved.</span>
<span data-lang="zh">© 2026 机智科技 保留所有权利。</span>
</div>
<script>
(function () {
var TITLES = {
en: 'Humanoid Intelligence',
zh: '人形智能'
};
var boot = window.__hiLang;
function remember(lang) {
try {
localStorage.setItem(boot.key, lang);
} catch (e) { /* ignore */ }
}
function apply(lang, syncUrl) {
document.documentElement.lang = lang;
document.title = TITLES[lang];
var links = document.querySelectorAll('[data-set-lang]');
for (var i = 0; i < links.length; i++) {
links[i].setAttribute('aria-current', String(links[i].getAttribute('data-set-lang') === lang));
}
if (syncUrl && window.history && history.replaceState) {
history.replaceState(null, '', lang === 'zh' ? '?lang=zh' : location.pathname);
}
}
if (boot.explicit) {
remember(boot.initial);
}
apply(boot.initial, false);
document.addEventListener('click', function (event) {
var target = event.target;
var link = target && target.nodeType === 1 ? target.closest('[data-set-lang]') : null;
if (!link) {
return;
}
event.preventDefault();
var lang = link.getAttribute('data-set-lang');
remember(lang);
apply(lang, true);
});
})();
</script>
</body>
</html>