fix: support subpath entry and use CN font mirror
This commit is contained in:
11
index.html
11
index.html
@@ -8,10 +8,15 @@
|
||||
name="description"
|
||||
content="Spectra Lab — 一个以光谱、玻璃与动效为核心的沉浸式前端概念 Web App。"
|
||||
/>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<script>
|
||||
if (location.pathname === '/spectra-lab') {
|
||||
location.replace('/spectra-lab/' + location.search + location.hash);
|
||||
}
|
||||
</script>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.cn" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.cn" crossorigin />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700;800&display=swap"
|
||||
href="https://fonts.googleapis.cn/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700;800&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<link rel="stylesheet" href="styles.css" />
|
||||
|
||||
Reference in New Issue
Block a user