|
1 | 1 | <!DOCTYPE html> |
2 | | -<html lang="en"> |
| 2 | +<html lang="zh-CN"> |
3 | 3 |
|
4 | 4 | <head> |
5 | 5 | <meta charset="UTF-8"> |
6 | 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
7 | | - <link rel="icon" type="images/svg" href="./assets/images/logo.svg"> |
| 7 | + <link rel="icon" href="./assets/images/logo.svg" type="image/svg+xml"> |
8 | 8 | <title>赴九天 问苍穹|中国载人航天</title> |
| 9 | + |
| 10 | + <!-- SEO --> |
| 11 | + <meta name="description" content="赴九天,问苍穹 — 中国载人航天互动展示与纪年,包含星轨纪年、天阶十二辰、问天阁与寰宇速报等专题。"> |
| 12 | + <meta name="keywords" content="中国, 载人航天, 航天, 互动, 展示, CMS, three.js"> |
| 13 | + <link rel="canonical" href="https://cms.mcell.top/"> |
| 14 | + <meta name="theme-color" content="#000000"> |
| 15 | + |
| 16 | + <!-- Open Graph --> |
| 17 | + <meta property="og:site_name" content="赴九天 问苍穹|中国载人航天"> |
| 18 | + <meta property="og:title" content="赴九天 问苍穹|中国载人航天"> |
| 19 | + <meta property="og:description" content="中国载人航天互动展示,包含重要里程碑、专题解析与多媒体内容。"> |
| 20 | + <meta property="og:type" content="website"> |
| 21 | + <meta property="og:url" content="https://cms.mcell.top/"> |
| 22 | + <meta property="og:image" content="https://cms.mcell.top/assets/images/logo.svg"> |
| 23 | + |
| 24 | + <!-- Twitter Card --> |
| 25 | + <meta name="twitter:card" content="summary_large_image"> |
| 26 | + <meta name="twitter:title" content="赴九天 问苍穹|中国载人航天"> |
| 27 | + <meta name="twitter:description" content="中国载人航天互动展示,包含重要里程碑、专题解析与多媒体内容。"> |
| 28 | + <meta name="twitter:image" content="https://cms.mcell.top/assets/images/logo.svg"> |
| 29 | + |
9 | 30 | <link rel="stylesheet" href="./styles/reset.css"> |
10 | 31 | <link rel="stylesheet" href="./styles/header.css"> |
11 | 32 | <link rel="stylesheet" href="./styles/index/index.css"> |
@@ -133,7 +154,7 @@ <h2 class="subtitle">Cosmic Inquiry Lab</h2> |
133 | 154 | </radialGradient> |
134 | 155 | </defs> |
135 | 156 | <path id="curve" |
136 | | - d="M1788.94 1.79519C1788.94 1.79519 1593.58 54.4529 1348.08 236.453C1137.1 392.861 984.58 546.452 1016.94 821.795C1049.31 1097.14 1523.62 1075.54 1593.58 1381.45C1653.39 1642.97 1593.59 1794.45 1356.57 2012.95C1097.65 2251.64 786.063 2328 587.582 2397.95C389.102 2467.91 -397.9 2892.95 257.1 3517.45C912.1 4141.95 257.1 4422.51 146.1 4702.45C35.1006 4982.4 705.499 5321 581 5221.01" |
| 157 | + d="M1788.94 1.79519C1788.94 1.79519 1593.58 54.4529 1348.08 236.453C1137.1 392.861 984.58 546.452 1016.94 821.795C1049.31 1097.14 1523.62 1075.54 1593.58 1381.45C1653.39 1642.97 1[...]" |
137 | 158 | fill="none" stroke="rgba(255, 255, 255, 0.5)" stroke-width="0.8" /> |
138 | 159 | <ellipse id="slider" cx="0" cy="0" rx="25" ry="3" fill="url(#sliderGradient)" filter="url(#glow)" /> |
139 | 160 | </svg> |
@@ -164,7 +185,7 @@ <h2 class="subtitle">Cosmic Inquiry Lab</h2> |
164 | 185 | const prevPoint = curve.getPointAtLength(Math.max(offset - 0.1, 0)) |
165 | 186 | const angle = Math.atan2(point.y - prevPoint.y, point.x - prevPoint.x) * 180 / Math.PI |
166 | 187 |
|
167 | | - slider.setAttribute('transform', `translate(${point.x}, ${point.y}) rotate(${angle})`) |
| 188 | + slider.setAttribute('transform', `translate(${point.x}, ${point.y}) rotate(${angle}`) |
168 | 189 | } |
169 | 190 |
|
170 | 191 | window.addEventListener('scroll', updateSlider) |
|
0 commit comments