1c837766cd
Add backend-driven assembly and simulation experiences, MAKE branding, mobile rendering budgets and desktop-only CAD/PCB routes. Improve logo loading progress, document image recovery and URDF request handling; include dev packaging and regression coverage.
91 lines
6.7 KiB
HTML
91 lines
6.7 KiB
HTML
<!doctype html>
|
|
<html lang="zh-CN" class="is-loading">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<base href="/">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover, interactive-widget=resizes-content">
|
|
<script src="/js/desktop-tools.js"></script>
|
|
<meta name="theme-color" content="#07080a">
|
|
<title>社区 · make</title>
|
|
<link rel="icon" href="/favicon.ico" sizes="any">
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
|
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
|
<link rel="manifest" href="/site.webmanifest">
|
|
<link rel="stylesheet" href="css/fonts.css">
|
|
<!-- 鼠标停在站内链接上时,在后台把那个页面整个准备好,点下去直接切换 -->
|
|
<script type="speculationrules">{"prerender":[{"where":{"and":[{"href_matches":"/*"},{"not":{"href_matches":"/api/*"}}]},"eagerness":"moderate"}],"prefetch":[{"where":{"and":[{"href_matches":"/*"},{"not":{"href_matches":"/api/*"}}]},"eagerness":"moderate"}]}</script>
|
|
<link rel="stylesheet" href="css/style.css">
|
|
<script>
|
|
// 刷新或从外部进入时显示启动页;站内跳转(来源是本站且不是刷新)直接进页面
|
|
try {
|
|
var nav = performance.getEntriesByType('navigation')[0];
|
|
var internal = document.referrer && new URL(document.referrer).origin === location.origin;
|
|
if (internal && (!nav || nav.type !== 'reload')) document.documentElement.className = 'no-splash';
|
|
} catch (e) {}
|
|
</script>
|
|
<script type="importmap">
|
|
{
|
|
"imports": {
|
|
"three": "/vendor/three/build/three.module.min.js",
|
|
"three/addons/": "/vendor/three/examples/jsm/",
|
|
"three/examples/jsm/": "/vendor/three/examples/jsm/",
|
|
"urdf-loader": "/vendor/urdf-loader/src/URDFLoader.js",
|
|
"urdf-loader/src/": "/vendor/urdf-loader/src/",
|
|
"marked": "/vendor/marked/lib/marked.esm.js",
|
|
"dompurify": "/vendor/dompurify/dist/purify.es.js",
|
|
"xacro-parser": "/vendor/xacro/xacro-parser.js"
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<script src="js/shell.js"></script>
|
|
<div class="splash" id="splash" aria-hidden="true">
|
|
<div class="splash-inner">
|
|
<div class="splash-mark">
|
|
<img class="splash-logo splash-logo-base" fetchpriority="high" src="/assets/brand/make-web-768.png" srcset="/assets/brand/make-web-256.png 256w, /assets/brand/make-web-384.png 384w, /assets/brand/make-web-512.png 512w, /assets/brand/make-web-768.png 768w" sizes="240px" width="240" height="90" alt="">
|
|
<img class="splash-logo splash-logo-fill" fetchpriority="high" src="/assets/brand/make-web-768.png" srcset="/assets/brand/make-web-256.png 256w, /assets/brand/make-web-384.png 384w, /assets/brand/make-web-512.png 512w, /assets/brand/make-web-768.png 768w" sizes="240px" width="240" height="90" alt="">
|
|
</div>
|
|
</div>
|
|
<div class="splash-foot"><span>OPEN ROBOTICS COMMUNITY</span><span class="splash-pct">000</span></div>
|
|
</div>
|
|
<header class="container page-hero">
|
|
<span class="eyebrow"><i></i>社区</span>
|
|
<h1>看看大家<br>都在做什么机器人</h1>
|
|
<p>每个项目都能在线预览 3D 模型、阅读文档、查看讨论,再 Fork 一份改成你自己的版本。</p>
|
|
<label class="searchbox">
|
|
<svg class="ic" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7"><circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/></svg>
|
|
<input id="search" type="search" placeholder="搜索项目、创客、话题…" autocomplete="off">
|
|
<kbd>/</kbd>
|
|
</label>
|
|
</header>
|
|
|
|
<div class="filterbar">
|
|
<div class="container">
|
|
<div class="pills" id="type-pills"></div>
|
|
<div class="right">
|
|
<div class="pills" id="mine-pills"></div>
|
|
<span class="divider-v"></span>
|
|
<select class="select" id="sort" aria-label="排序">
|
|
<option value="stars">最多收藏</option>
|
|
<option value="updated">最近更新</option>
|
|
<option value="forks">最多 Fork</option>
|
|
<option value="talk">讨论最多</option>
|
|
</select>
|
|
<div class="seg" id="layout">
|
|
<button data-layout="grid" aria-label="网格"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="4" y="4" width="7" height="7" rx="1"/><rect x="13" y="4" width="7" height="7" rx="1"/><rect x="4" y="13" width="7" height="7" rx="1"/><rect x="13" y="13" width="7" height="7" rx="1"/></svg></button>
|
|
<button data-layout="list" aria-label="列表"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M4 6h16M4 12h16M4 18h16"/></svg></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<main class="container">
|
|
<div class="result-count" id="count"></div>
|
|
<div class="pgrid" id="results"><div class="pcard grid skel" aria-hidden="true"><div class="pcard-media"><span class="pcard-loader" aria-hidden="true"></span></div><div class="pcard-body"><i class="sk" style="width:28%"></i><i class="sk sk-title" style="width:62%"></i><i class="sk" style="width:92%"></i><i class="sk" style="width:70%"></i></div></div><div class="pcard grid skel" aria-hidden="true"><div class="pcard-media"><span class="pcard-loader" aria-hidden="true"></span></div><div class="pcard-body"><i class="sk" style="width:28%"></i><i class="sk sk-title" style="width:62%"></i><i class="sk" style="width:92%"></i><i class="sk" style="width:70%"></i></div></div><div class="pcard grid skel" aria-hidden="true"><div class="pcard-media"><span class="pcard-loader" aria-hidden="true"></span></div><div class="pcard-body"><i class="sk" style="width:28%"></i><i class="sk sk-title" style="width:62%"></i><i class="sk" style="width:92%"></i><i class="sk" style="width:70%"></i></div></div><div class="pcard grid skel" aria-hidden="true"><div class="pcard-media"><span class="pcard-loader" aria-hidden="true"></span></div><div class="pcard-body"><i class="sk" style="width:28%"></i><i class="sk sk-title" style="width:62%"></i><i class="sk" style="width:92%"></i><i class="sk" style="width:70%"></i></div></div><div class="pcard grid skel" aria-hidden="true"><div class="pcard-media"><span class="pcard-loader" aria-hidden="true"></span></div><div class="pcard-body"><i class="sk" style="width:28%"></i><i class="sk sk-title" style="width:62%"></i><i class="sk" style="width:92%"></i><i class="sk" style="width:70%"></i></div></div><div class="pcard grid skel" aria-hidden="true"><div class="pcard-media"><span class="pcard-loader" aria-hidden="true"></span></div><div class="pcard-body"><i class="sk" style="width:28%"></i><i class="sk sk-title" style="width:62%"></i><i class="sk" style="width:92%"></i><i class="sk" style="width:70%"></i></div></div></div>
|
|
</main>
|
|
|
|
<script type="module" src="js/explore.js"></script>
|
|
</body>
|
|
</html>
|