first commit
This commit is contained in:
20 files changed
+1474
No files matched your search
@@ -0,0 +1,20 @@
|
|||||||
|
# Copy to .env or .env.local, then restart the development server / rebuild.
|
||||||
|
# These are PUBLIC display values, also available as process ENV at runtime.
|
||||||
|
|
||||||
|
VITE_PROJECT_NAME="未完待续"
|
||||||
|
VITE_PROJECT_NAME_EN="STAY TUNED"
|
||||||
|
VITE_PROJECT_DESCRIPTION="一个新想法,正在慢慢成为现实。\n我们在认真打磨每一个细节,期待很快与你见面。"
|
||||||
|
|
||||||
|
# Empty title derives automatically from the project name.
|
||||||
|
VITE_PAGE_TITLE=""
|
||||||
|
VITE_HEADER_NOTE="为下一次相遇,认真准备中。"
|
||||||
|
|
||||||
|
# Supports {year} and {projectName}; empty copyright/footer note hides them.
|
||||||
|
VITE_COPYRIGHT="© {year} {projectName}"
|
||||||
|
VITE_FOOTER_NOTE="MADE WITH INTENTION."
|
||||||
|
|
||||||
|
# Empty registration numbers hide the corresponding item.
|
||||||
|
VITE_ICP_NUMBER=""
|
||||||
|
VITE_ICP_URL="https://beian.miit.gov.cn/"
|
||||||
|
VITE_PUBLIC_SECURITY_NUMBER=""
|
||||||
|
VITE_PUBLIC_SECURITY_URL=""
|
||||||
+27
@@ -0,0 +1,27 @@
|
|||||||
|
# Logs
|
||||||
|
logs
|
||||||
|
*.log
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
pnpm-debug.log*
|
||||||
|
lerna-debug.log*
|
||||||
|
|
||||||
|
node_modules
|
||||||
|
dist
|
||||||
|
dist-ssr
|
||||||
|
*.local
|
||||||
|
.env
|
||||||
|
.env.*
|
||||||
|
!.env.example
|
||||||
|
|
||||||
|
# Editor directories and files
|
||||||
|
.vscode/*
|
||||||
|
!.vscode/extensions.json
|
||||||
|
.idea
|
||||||
|
.DS_Store
|
||||||
|
*.suo
|
||||||
|
*.ntvs*
|
||||||
|
*.njsproj
|
||||||
|
*.sln
|
||||||
|
*.sw?
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
# Work around npm 10 Arborist crashing on Vite's optional devtools peer graph.
|
||||||
|
# This project only uses Vite and has no runtime or plugin peer dependencies.
|
||||||
|
# Upstream: https://github.com/npm/cli/issues/9787
|
||||||
|
legacy-peer-deps=true
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# 未完待续 · 敬请期待
|
||||||
|
|
||||||
|
基于 Vite 和原生 JavaScript 的项目上线预告页。暖白底色搭配橙色星球,支持手机与桌面布局、轻量动效、系统分享及复制链接。
|
||||||
|
|
||||||
|
## 本地开发
|
||||||
|
|
||||||
|
使用 Node.js 20.19+ 或 22.12+:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm install
|
||||||
|
npm run dev
|
||||||
|
```
|
||||||
|
|
||||||
|
项目的 `.npmrc` 启用了 `legacy-peer-deps`,用于绕过 npm 10 在解析 Vite 可选开发工具同伴依赖时触发的 `Cannot read properties of null (reading 'edgesOut')` 错误。直接运行上述安装命令即可。
|
||||||
|
|
||||||
|
## 构建与预览
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm run build
|
||||||
|
npm run preview
|
||||||
|
```
|
||||||
|
|
||||||
|
部署时发布 `dist` 目录。
|
||||||
|
|
||||||
|
## 调整内容
|
||||||
|
|
||||||
|
- `src/main.js`:品牌名称、页面文案、准备阶段和分享内容。
|
||||||
|
- `src/style.css`:颜色变量、星球插画、动效和响应式布局。
|
||||||
|
- `index.html`:浏览器标题、页面描述和社交分享元信息。
|
||||||
|
- `public/favicon.svg`:网站图标。
|
||||||
|
|
||||||
|
分享按钮优先调用浏览器的系统分享;不可用时复制链接。复制权限受限时展示可手动复制的链接。页面使用系统字体与 CSS/SVG 插画,无需外部图片或字体服务。
|
||||||
+20
@@ -0,0 +1,20 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="zh-CN">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<meta name="theme-color" content="#f7f7ef" />
|
||||||
|
<meta name="description" content="__SITE_DESCRIPTION__" />
|
||||||
|
<meta property="og:type" content="website" />
|
||||||
|
<meta property="og:locale" content="zh_CN" />
|
||||||
|
<meta property="og:title" content="__SITE_TITLE__" />
|
||||||
|
<meta property="og:description" content="__SITE_DESCRIPTION__" />
|
||||||
|
<title>__SITE_TITLE__</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="app"></div>
|
||||||
|
<script src="%BASE_URL%runtime-config.js"></script>
|
||||||
|
<script type="module" src="/src/main.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Generated
+798
@@ -0,0 +1,798 @@
|
|||||||
|
{
|
||||||
|
"name": "staytunedsite",
|
||||||
|
"version": "0.0.0",
|
||||||
|
"lockfileVersion": 3,
|
||||||
|
"requires": true,
|
||||||
|
"packages": {
|
||||||
|
"": {
|
||||||
|
"name": "staytunedsite",
|
||||||
|
"version": "0.0.0",
|
||||||
|
"devDependencies": {
|
||||||
|
"vite": "^8.3.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@oxc-project/types": {
|
||||||
|
"version": "0.155.0",
|
||||||
|
"resolved": "https://registry.npmmirror.com/@oxc-project/types/-/types-0.155.0.tgz",
|
||||||
|
"integrity": "sha512-SeE8JPwW1xs1tHeNycjUtUBdhorRa8o4jlvjwk49R7/Z291i+4DQa7JJIgOm/TaYQZx+QrPQbVJ/9c8dMIZN8Q==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/oxc-project"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@rolldown/binding-android-arm-eabi": {
|
||||||
|
"version": "1.2.15",
|
||||||
|
"resolved": "https://registry.npmmirror.com/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.15.tgz",
|
||||||
|
"integrity": "sha512-aLcgK9gIJ3YRvrrtfSBbRa27F5WrpiTaPulnFpsHPxpUHgFlSgnU4854MHwoRGEBhfRJDWCS2WQ7lIjskE9Olw==",
|
||||||
|
"cpu": [
|
||||||
|
"arm"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"android"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": "^20.19.0 || >=22.12.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@rolldown/binding-android-arm64": {
|
||||||
|
"version": "1.2.15",
|
||||||
|
"resolved": "https://registry.npmmirror.com/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.15.tgz",
|
||||||
|
"integrity": "sha512-xD7DdZCrbThKuxNg7ooQmvp07ys4J/pnSEMTG3/OdOWl6daC67m/Q4fL78sRHMxTH/N4fGUbYhcPM0MF5WFHkg==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"android"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": "^20.19.0 || >=22.12.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@rolldown/binding-darwin-arm64": {
|
||||||
|
"version": "1.2.15",
|
||||||
|
"resolved": "https://registry.npmmirror.com/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.15.tgz",
|
||||||
|
"integrity": "sha512-m2WuQ6r0B4OTYxyPpNLtXaMRbRDUbG8YQV2Q3KTdSSK8Th6KHCnC8jVCJt8bvYeSB5WivkkNbc85mKadaSdOxA==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"darwin"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": "^20.19.0 || >=22.12.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@rolldown/binding-darwin-x64": {
|
||||||
|
"version": "1.2.15",
|
||||||
|
"resolved": "https://registry.npmmirror.com/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.15.tgz",
|
||||||
|
"integrity": "sha512-5RtnsHM36nodM9WbMy+zip0LGS/G+y5wro5RHrpOlr4ac24+1zSi9kiV2MP1myZeZ/ifEHfulQcWjnAXzc2C2A==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"darwin"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": "^20.19.0 || >=22.12.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@rolldown/binding-freebsd-x64": {
|
||||||
|
"version": "1.2.15",
|
||||||
|
"resolved": "https://registry.npmmirror.com/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.15.tgz",
|
||||||
|
"integrity": "sha512-g3l09pyFqhu+135JKkbkwiKGQmwU5hUMUPJ4VdBADvuqR8d33L6H578rh8m7rtxbdp+VmX/+nzI7nvhSZlzpUQ==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"freebsd"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": "^20.19.0 || >=22.12.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@rolldown/binding-linux-arm-gnueabihf": {
|
||||||
|
"version": "1.2.15",
|
||||||
|
"resolved": "https://registry.npmmirror.com/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.15.tgz",
|
||||||
|
"integrity": "sha512-nIe3VugI97nGQtspPxDqA4sXMUpeiocKIP/CqpY/u/vgbT+alX+cVxu1C/oVBPKg4feNTmYovE91v4DgXvXNwQ==",
|
||||||
|
"cpu": [
|
||||||
|
"arm"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": "^20.19.0 || >=22.12.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@rolldown/binding-linux-arm64-gnu": {
|
||||||
|
"version": "1.2.15",
|
||||||
|
"resolved": "https://registry.npmmirror.com/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.15.tgz",
|
||||||
|
"integrity": "sha512-iTBjXx+B5QSvgI89lJfmqh4wTh8NabR1YZIIN3hNx4zSG0EVfVqkOvLulNpG4251pbd6/IAmZ/LefVk1Y4rPhw==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": "^20.19.0 || >=22.12.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@rolldown/binding-linux-arm64-musl": {
|
||||||
|
"version": "1.2.15",
|
||||||
|
"resolved": "https://registry.npmmirror.com/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.15.tgz",
|
||||||
|
"integrity": "sha512-uN26XOnVR7rqQupG3V9oAG2EGGatWjcJHOeDOHUFCh4TBWmP2tHTFoVN13aYbwfm0aHqJAEmcwhAu6sooIjfqQ==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": "^20.19.0 || >=22.12.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@rolldown/binding-linux-ppc64-gnu": {
|
||||||
|
"version": "1.2.15",
|
||||||
|
"resolved": "https://registry.npmmirror.com/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.15.tgz",
|
||||||
|
"integrity": "sha512-9nWkcdd+H+XhaA3fQIwpHnKIrfx/PQ6rO0pivr78Og07tXlUlctBBJoEYLPfhTmCR/QxEVdn6uPjHV5SymPhdw==",
|
||||||
|
"cpu": [
|
||||||
|
"ppc64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": "^20.19.0 || >=22.12.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@rolldown/binding-linux-s390x-gnu": {
|
||||||
|
"version": "1.2.15",
|
||||||
|
"resolved": "https://registry.npmmirror.com/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.15.tgz",
|
||||||
|
"integrity": "sha512-Ggh0ciFjLwIusLSLz7LZYEaGdxOAUJXI+Qu5JCbhPJJHEt8vP+IjRATTJheiJsdzzTYgUiHUiw3X1Ea3ZpMBdA==",
|
||||||
|
"cpu": [
|
||||||
|
"s390x"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": "^20.19.0 || >=22.12.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@rolldown/binding-linux-x64-gnu": {
|
||||||
|
"version": "1.2.15",
|
||||||
|
"resolved": "https://registry.npmmirror.com/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.15.tgz",
|
||||||
|
"integrity": "sha512-FHg60rS6DBePAYZ9X9F67x+JObFdmgn6tupA1C/a3B+CufFmTD4mX+e8M75tCiAO3foR/6xwVBI0KQiI7sn/rw==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": "^20.19.0 || >=22.12.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@rolldown/binding-linux-x64-musl": {
|
||||||
|
"version": "1.2.15",
|
||||||
|
"resolved": "https://registry.npmmirror.com/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.15.tgz",
|
||||||
|
"integrity": "sha512-/cvV/7v5VGz/moiz0XKRj2dE8DzsKyhIu1KpOvJGPjRywg3yscON889UGvAe8zfiJLHup7VLjBduoGWi3HusWQ==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": "^20.19.0 || >=22.12.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@rolldown/binding-openharmony-arm64": {
|
||||||
|
"version": "1.2.15",
|
||||||
|
"resolved": "https://registry.npmmirror.com/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.15.tgz",
|
||||||
|
"integrity": "sha512-MyzC5Hrv/sm+Z7TSGKP/j8001RO2xQm1zOpCNVL4j0cY/VhBZviludA2YFQ7i4lH6ZAXxQm0lcMdBzM+99mE7w==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"openharmony"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": "^20.19.0 || >=22.12.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@rolldown/binding-win32-arm64-msvc": {
|
||||||
|
"version": "1.2.15",
|
||||||
|
"resolved": "https://registry.npmmirror.com/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.15.tgz",
|
||||||
|
"integrity": "sha512-+PgYiS+AH5omy6L45ZLxybasauJaj3M8buoT83D+nzPmCayXlxUV9hydhciCKVyIg0B/v0BtXPDE1uGqNwCPpg==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"win32"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": "^20.19.0 || >=22.12.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@rolldown/binding-win32-x64-msvc": {
|
||||||
|
"version": "1.2.15",
|
||||||
|
"resolved": "https://registry.npmmirror.com/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.15.tgz",
|
||||||
|
"integrity": "sha512-HFZd2QNQYn1JbIi+Hpd7H+r/lkWxcfIu28nirZ6eCn2LafuvmExMlb/P96Sfx5tf7pPArw39IdhmCF8vmV+NhQ==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"win32"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": "^20.19.0 || >=22.12.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@rolldown/pluginutils": {
|
||||||
|
"version": "1.0.1",
|
||||||
|
"resolved": "https://registry.npmmirror.com/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz",
|
||||||
|
"integrity": "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
|
"node_modules/detect-libc": {
|
||||||
|
"version": "2.1.2",
|
||||||
|
"resolved": "https://registry.npmmirror.com/detect-libc/-/detect-libc-2.1.2.tgz",
|
||||||
|
"integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "Apache-2.0",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=8"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/fdir": {
|
||||||
|
"version": "6.5.0",
|
||||||
|
"resolved": "https://registry.npmmirror.com/fdir/-/fdir-6.5.0.tgz",
|
||||||
|
"integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12.0.0"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"picomatch": "^3 || ^4"
|
||||||
|
},
|
||||||
|
"peerDependenciesMeta": {
|
||||||
|
"picomatch": {
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/fsevents": {
|
||||||
|
"version": "2.3.3",
|
||||||
|
"resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.3.tgz",
|
||||||
|
"integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
|
||||||
|
"dev": true,
|
||||||
|
"hasInstallScript": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"darwin"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/lightningcss": {
|
||||||
|
"version": "1.33.0",
|
||||||
|
"resolved": "https://registry.npmmirror.com/lightningcss/-/lightningcss-1.33.0.tgz",
|
||||||
|
"integrity": "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MPL-2.0",
|
||||||
|
"dependencies": {
|
||||||
|
"detect-libc": "^2.0.3"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 12.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
},
|
||||||
|
"optionalDependencies": {
|
||||||
|
"lightningcss-android-arm64": "1.33.0",
|
||||||
|
"lightningcss-darwin-arm64": "1.33.0",
|
||||||
|
"lightningcss-darwin-x64": "1.33.0",
|
||||||
|
"lightningcss-freebsd-x64": "1.33.0",
|
||||||
|
"lightningcss-linux-arm-gnueabihf": "1.33.0",
|
||||||
|
"lightningcss-linux-arm64-gnu": "1.33.0",
|
||||||
|
"lightningcss-linux-arm64-musl": "1.33.0",
|
||||||
|
"lightningcss-linux-x64-gnu": "1.33.0",
|
||||||
|
"lightningcss-linux-x64-musl": "1.33.0",
|
||||||
|
"lightningcss-win32-arm64-msvc": "1.33.0",
|
||||||
|
"lightningcss-win32-x64-msvc": "1.33.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/lightningcss-android-arm64": {
|
||||||
|
"version": "1.33.0",
|
||||||
|
"resolved": "https://registry.npmmirror.com/lightningcss-android-arm64/-/lightningcss-android-arm64-1.33.0.tgz",
|
||||||
|
"integrity": "sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MPL-2.0",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"android"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 12.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/lightningcss-darwin-arm64": {
|
||||||
|
"version": "1.33.0",
|
||||||
|
"resolved": "https://registry.npmmirror.com/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.33.0.tgz",
|
||||||
|
"integrity": "sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MPL-2.0",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"darwin"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 12.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/lightningcss-darwin-x64": {
|
||||||
|
"version": "1.33.0",
|
||||||
|
"resolved": "https://registry.npmmirror.com/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.33.0.tgz",
|
||||||
|
"integrity": "sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MPL-2.0",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"darwin"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 12.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/lightningcss-freebsd-x64": {
|
||||||
|
"version": "1.33.0",
|
||||||
|
"resolved": "https://registry.npmmirror.com/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.33.0.tgz",
|
||||||
|
"integrity": "sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MPL-2.0",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"freebsd"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 12.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/lightningcss-linux-arm-gnueabihf": {
|
||||||
|
"version": "1.33.0",
|
||||||
|
"resolved": "https://registry.npmmirror.com/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.33.0.tgz",
|
||||||
|
"integrity": "sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==",
|
||||||
|
"cpu": [
|
||||||
|
"arm"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MPL-2.0",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 12.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/lightningcss-linux-arm64-gnu": {
|
||||||
|
"version": "1.33.0",
|
||||||
|
"resolved": "https://registry.npmmirror.com/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.33.0.tgz",
|
||||||
|
"integrity": "sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MPL-2.0",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 12.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/lightningcss-linux-arm64-musl": {
|
||||||
|
"version": "1.33.0",
|
||||||
|
"resolved": "https://registry.npmmirror.com/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.33.0.tgz",
|
||||||
|
"integrity": "sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MPL-2.0",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 12.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/lightningcss-linux-x64-gnu": {
|
||||||
|
"version": "1.33.0",
|
||||||
|
"resolved": "https://registry.npmmirror.com/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.33.0.tgz",
|
||||||
|
"integrity": "sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MPL-2.0",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 12.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/lightningcss-linux-x64-musl": {
|
||||||
|
"version": "1.33.0",
|
||||||
|
"resolved": "https://registry.npmmirror.com/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.33.0.tgz",
|
||||||
|
"integrity": "sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MPL-2.0",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 12.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/lightningcss-win32-arm64-msvc": {
|
||||||
|
"version": "1.33.0",
|
||||||
|
"resolved": "https://registry.npmmirror.com/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.33.0.tgz",
|
||||||
|
"integrity": "sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MPL-2.0",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"win32"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 12.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/lightningcss-win32-x64-msvc": {
|
||||||
|
"version": "1.33.0",
|
||||||
|
"resolved": "https://registry.npmmirror.com/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.33.0.tgz",
|
||||||
|
"integrity": "sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MPL-2.0",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"win32"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 12.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/parcel"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/nanoid": {
|
||||||
|
"version": "3.3.20",
|
||||||
|
"resolved": "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.20.tgz",
|
||||||
|
"integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==",
|
||||||
|
"dev": true,
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"type": "github",
|
||||||
|
"url": "https://github.com/sponsors/ai"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"bin": {
|
||||||
|
"nanoid": "bin/nanoid.cjs"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/picocolors": {
|
||||||
|
"version": "1.1.1",
|
||||||
|
"resolved": "https://registry.npmmirror.com/picocolors/-/picocolors-1.1.1.tgz",
|
||||||
|
"integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "ISC"
|
||||||
|
},
|
||||||
|
"node_modules/picomatch": {
|
||||||
|
"version": "4.0.7",
|
||||||
|
"resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-4.0.7.tgz",
|
||||||
|
"integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/jonschlinkert"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/postcss": {
|
||||||
|
"version": "8.5.32",
|
||||||
|
"resolved": "https://registry.npmmirror.com/postcss/-/postcss-8.5.32.tgz",
|
||||||
|
"integrity": "sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g==",
|
||||||
|
"dev": true,
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/postcss/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "tidelift",
|
||||||
|
"url": "https://tidelift.com/funding/github/npm/postcss"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "github",
|
||||||
|
"url": "https://github.com/sponsors/ai"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"nanoid": "^3.3.20",
|
||||||
|
"picocolors": "^1.1.1",
|
||||||
|
"source-map-js": "^1.2.2"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "^10 || ^12 || >=14"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/rolldown": {
|
||||||
|
"version": "1.2.15",
|
||||||
|
"resolved": "https://registry.npmmirror.com/rolldown/-/rolldown-1.2.15.tgz",
|
||||||
|
"integrity": "sha512-6odND+fel5zVw3I4Yc2e69gvguDnX0CAAGiNDZSq4ik5WUcaLrkD2GLuog0XcODbor31hZ5ayEMgVDno+KPV5g==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@oxc-project/types": "=0.155.0",
|
||||||
|
"@rolldown/pluginutils": "^1.0.0"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"rolldown": "bin/cli.mjs"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "^20.19.0 || >=22.12.0"
|
||||||
|
},
|
||||||
|
"optionalDependencies": {
|
||||||
|
"@rolldown/binding-android-arm-eabi": "1.2.15",
|
||||||
|
"@rolldown/binding-android-arm64": "1.2.15",
|
||||||
|
"@rolldown/binding-darwin-arm64": "1.2.15",
|
||||||
|
"@rolldown/binding-darwin-x64": "1.2.15",
|
||||||
|
"@rolldown/binding-freebsd-x64": "1.2.15",
|
||||||
|
"@rolldown/binding-linux-arm-gnueabihf": "1.2.15",
|
||||||
|
"@rolldown/binding-linux-arm64-gnu": "1.2.15",
|
||||||
|
"@rolldown/binding-linux-arm64-musl": "1.2.15",
|
||||||
|
"@rolldown/binding-linux-ppc64-gnu": "1.2.15",
|
||||||
|
"@rolldown/binding-linux-s390x-gnu": "1.2.15",
|
||||||
|
"@rolldown/binding-linux-x64-gnu": "1.2.15",
|
||||||
|
"@rolldown/binding-linux-x64-musl": "1.2.15",
|
||||||
|
"@rolldown/binding-openharmony-arm64": "1.2.15",
|
||||||
|
"@rolldown/binding-win32-arm64-msvc": "1.2.15",
|
||||||
|
"@rolldown/binding-win32-x64-msvc": "1.2.15"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/source-map-js": {
|
||||||
|
"version": "1.2.2",
|
||||||
|
"resolved": "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.2.2.tgz",
|
||||||
|
"integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "BSD-3-Clause",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=0.10.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/tinyglobby": {
|
||||||
|
"version": "0.2.17",
|
||||||
|
"resolved": "https://registry.npmmirror.com/tinyglobby/-/tinyglobby-0.2.17.tgz",
|
||||||
|
"integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"fdir": "^6.5.0",
|
||||||
|
"picomatch": "^4.0.4"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/SuperchupuDev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/vite": {
|
||||||
|
"version": "8.3.5",
|
||||||
|
"resolved": "https://registry.npmmirror.com/vite/-/vite-8.3.5.tgz",
|
||||||
|
"integrity": "sha512-z1YpjieJ9g0ebTmQpLBv/oq9E3F9EIlOe+7LahW8SrE3LTiG3udBRUXQOlYXP9b+IC2q2phHeVxj9xGlw34OEQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"lightningcss": "^1.33.0",
|
||||||
|
"picomatch": "^4.0.7",
|
||||||
|
"postcss": "^8.5.30",
|
||||||
|
"rolldown": "~1.2.14",
|
||||||
|
"tinyglobby": "^0.2.17"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"vite": "bin/vite.js"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "^20.19.0 || >=22.12.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/vitejs/vite?sponsor=1"
|
||||||
|
},
|
||||||
|
"optionalDependencies": {
|
||||||
|
"fsevents": "~2.3.3"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"@types/node": "^20.19.0 || >=22.12.0",
|
||||||
|
"@vitejs/devtools": "^0.7.1 || ^0.8.0",
|
||||||
|
"esbuild": "^0.27.0 || ^0.28.0",
|
||||||
|
"jiti": ">=1.21.0",
|
||||||
|
"less": "^4.0.0",
|
||||||
|
"sass": "^1.70.0",
|
||||||
|
"sass-embedded": "^1.70.0",
|
||||||
|
"stylus": ">=0.54.8",
|
||||||
|
"sugarss": "^5.0.0",
|
||||||
|
"terser": "^5.16.0",
|
||||||
|
"tsx": "^4.8.1",
|
||||||
|
"yaml": "^2.4.2"
|
||||||
|
},
|
||||||
|
"peerDependenciesMeta": {
|
||||||
|
"@types/node": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"@vitejs/devtools": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"esbuild": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"jiti": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"less": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"sass": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"sass-embedded": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"stylus": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"sugarss": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"terser": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"tsx": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"yaml": {
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"name": "staytunedsite",
|
||||||
|
"version": "0.0.0",
|
||||||
|
"private": true,
|
||||||
|
"type": "module",
|
||||||
|
"scripts": {
|
||||||
|
"dev": "vite",
|
||||||
|
"build": "vite build",
|
||||||
|
"preview": "vite preview",
|
||||||
|
"config:runtime": "node scripts/write-runtime-config.js",
|
||||||
|
"start": "npm run config:runtime && vite preview --host 0.0.0.0"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"vite": "^8.3.4"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#f7f7ef"/><path d="M32 12v40M12 32h40M18 18l28 28M18 46l28-28" stroke="#ea633b" stroke-width="7"/></svg>
|
||||||
|
After Width: | Height: | Size: 208 B |
@@ -0,0 +1,24 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<symbol id="bluesky-icon" viewBox="0 0 16 17">
|
||||||
|
<g clip-path="url(#bluesky-clip)"><path fill="#08060d" d="M7.75 7.735c-.693-1.348-2.58-3.86-4.334-5.097-1.68-1.187-2.32-.981-2.74-.79C.188 2.065.1 2.812.1 3.251s.241 3.602.398 4.13c.52 1.744 2.367 2.333 4.07 2.145-2.495.37-4.71 1.278-1.805 4.512 3.196 3.309 4.38-.71 4.987-2.746.608 2.036 1.307 5.91 4.93 2.746 2.72-2.746.747-4.143-1.747-4.512 1.702.189 3.55-.4 4.07-2.145.156-.528.397-3.691.397-4.13s-.088-1.186-.575-1.406c-.42-.19-1.06-.395-2.741.79-1.755 1.24-3.64 3.752-4.334 5.099"/></g>
|
||||||
|
<defs><clipPath id="bluesky-clip"><path fill="#fff" d="M.1.85h15.3v15.3H.1z"/></clipPath></defs>
|
||||||
|
</symbol>
|
||||||
|
<symbol id="discord-icon" viewBox="0 0 20 19">
|
||||||
|
<path fill="#08060d" d="M16.224 3.768a14.5 14.5 0 0 0-3.67-1.153c-.158.286-.343.67-.47.976a13.5 13.5 0 0 0-4.067 0c-.128-.306-.317-.69-.476-.976A14.4 14.4 0 0 0 3.868 3.77C1.546 7.28.916 10.703 1.231 14.077a14.7 14.7 0 0 0 4.5 2.306q.545-.748.965-1.587a9.5 9.5 0 0 1-1.518-.74q.191-.14.372-.293c2.927 1.369 6.107 1.369 8.999 0q.183.152.372.294-.723.437-1.52.74.418.838.963 1.588a14.6 14.6 0 0 0 4.504-2.308c.37-3.911-.63-7.302-2.644-10.309m-9.13 8.234c-.878 0-1.599-.82-1.599-1.82 0-.998.705-1.82 1.6-1.82.894 0 1.614.82 1.599 1.82.001 1-.705 1.82-1.6 1.82m5.91 0c-.878 0-1.599-.82-1.599-1.82 0-.998.705-1.82 1.6-1.82.893 0 1.614.82 1.599 1.82 0 1-.706 1.82-1.6 1.82"/>
|
||||||
|
</symbol>
|
||||||
|
<symbol id="documentation-icon" viewBox="0 0 21 20">
|
||||||
|
<path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="m15.5 13.333 1.533 1.322c.645.555.967.833.967 1.178s-.322.623-.967 1.179L15.5 18.333m-3.333-5-1.534 1.322c-.644.555-.966.833-.966 1.178s.322.623.966 1.179l1.534 1.321"/>
|
||||||
|
<path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M17.167 10.836v-4.32c0-1.41 0-2.117-.224-2.68-.359-.906-1.118-1.621-2.08-1.96-.599-.21-1.349-.21-2.848-.21-2.623 0-3.935 0-4.983.369-1.684.591-3.013 1.842-3.641 3.428C3 6.449 3 7.684 3 10.154v2.122c0 2.558 0 3.838.706 4.726q.306.383.713.671c.76.536 1.79.64 3.581.66"/>
|
||||||
|
<path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M3 10a2.78 2.78 0 0 1 2.778-2.778c.555 0 1.209.097 1.748-.047.48-.129.854-.503.982-.982.145-.54.048-1.194.048-1.749a2.78 2.78 0 0 1 2.777-2.777"/>
|
||||||
|
</symbol>
|
||||||
|
<symbol id="github-icon" viewBox="0 0 19 19">
|
||||||
|
<path fill="#08060d" fill-rule="evenodd" d="M9.356 1.85C5.05 1.85 1.57 5.356 1.57 9.694a7.84 7.84 0 0 0 5.324 7.44c.387.079.528-.168.528-.376 0-.182-.013-.805-.013-1.454-2.165.467-2.616-.935-2.616-.935-.349-.91-.864-1.143-.864-1.143-.71-.48.051-.48.051-.48.787.051 1.2.805 1.2.805.695 1.194 1.817.857 2.268.649.064-.507.27-.857.49-1.052-1.728-.182-3.545-.857-3.545-3.87 0-.857.31-1.558.8-2.104-.078-.195-.349-1 .077-2.078 0 0 .657-.208 2.14.805a7.5 7.5 0 0 1 1.946-.26c.657 0 1.328.092 1.946.26 1.483-1.013 2.14-.805 2.14-.805.426 1.078.155 1.883.078 2.078.502.546.799 1.247.799 2.104 0 3.013-1.818 3.675-3.558 3.87.284.247.528.714.528 1.454 0 1.052-.012 1.896-.012 2.156 0 .208.142.455.528.377a7.84 7.84 0 0 0 5.324-7.441c.013-4.338-3.48-7.844-7.773-7.844" clip-rule="evenodd"/>
|
||||||
|
</symbol>
|
||||||
|
<symbol id="social-icon" viewBox="0 0 20 20">
|
||||||
|
<path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M12.5 6.667a4.167 4.167 0 1 0-8.334 0 4.167 4.167 0 0 0 8.334 0"/>
|
||||||
|
<path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M2.5 16.667a5.833 5.833 0 0 1 8.75-5.053m3.837.474.513 1.035c.07.144.257.282.414.309l.93.155c.596.1.736.536.307.965l-.723.73a.64.64 0 0 0-.152.531l.207.903c.164.715-.213.991-.84.618l-.872-.52a.63.63 0 0 0-.577 0l-.872.52c-.624.373-1.003.094-.84-.618l.207-.903a.64.64 0 0 0-.152-.532l-.723-.729c-.426-.43-.289-.864.306-.964l.93-.156a.64.64 0 0 0 .412-.31l.513-1.034c.28-.562.735-.562 1.012 0"/>
|
||||||
|
</symbol>
|
||||||
|
<symbol id="x-icon" viewBox="0 0 19 19">
|
||||||
|
<path fill="#08060d" fill-rule="evenodd" d="M1.893 1.98c.052.072 1.245 1.769 2.653 3.77l2.892 4.114c.183.261.333.48.333.486s-.068.089-.152.183l-.522.593-.765.867-3.597 4.087c-.375.426-.734.834-.798.905a1 1 0 0 0-.118.148c0 .01.236.017.664.017h.663l.729-.83c.4-.457.796-.906.879-.999a692 692 0 0 0 1.794-2.038c.034-.037.301-.34.594-.675l.551-.624.345-.392a7 7 0 0 1 .34-.374c.006 0 .93 1.306 2.052 2.903l2.084 2.965.045.063h2.275c1.87 0 2.273-.003 2.266-.021-.008-.02-1.098-1.572-3.894-5.547-2.013-2.862-2.28-3.246-2.273-3.266.008-.019.282-.332 2.085-2.38l2-2.274 1.567-1.782c.022-.028-.016-.03-.65-.03h-.674l-.3.342a871 871 0 0 1-1.782 2.025c-.067.075-.405.458-.75.852a100 100 0 0 1-.803.91c-.148.172-.299.344-.99 1.127-.304.343-.32.358-.345.327-.015-.019-.904-1.282-1.976-2.808L6.365 1.85H1.8zm1.782.91 8.078 11.294c.772 1.08 1.413 1.973 1.425 1.984.016.017.241.02 1.05.017l1.03-.004-2.694-3.766L7.796 5.75 5.722 2.852l-1.039-.004-1.039-.004z" clip-rule="evenodd"/>
|
||||||
|
</symbol>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 4.9 KiB |
@@ -0,0 +1,2 @@
|
|||||||
|
// Deployment may replace this file with `npm run config:runtime`.
|
||||||
|
window.__SITE_CONFIG__ = {};
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
import { access, writeFile } from 'node:fs/promises'
|
||||||
|
import { fileURLToPath } from 'node:url'
|
||||||
|
import { pickPublicEnv } from '../src/site-config.js'
|
||||||
|
|
||||||
|
const outputDirectory = new URL('../dist/', import.meta.url)
|
||||||
|
|
||||||
|
try {
|
||||||
|
await access(new URL('index.html', outputDirectory))
|
||||||
|
} catch {
|
||||||
|
console.error('未找到 dist/index.html,请先执行 npm run build。')
|
||||||
|
process.exit(1)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Only explicitly supported display variables are written to the public file.
|
||||||
|
const config = JSON.stringify(pickPublicEnv(process.env), null, 2)
|
||||||
|
.replace(/</g, '\\u003c')
|
||||||
|
.replace(/\u2028/g, '\\u2028')
|
||||||
|
.replace(/\u2029/g, '\\u2029')
|
||||||
|
const outputFile = new URL('runtime-config.js', outputDirectory)
|
||||||
|
await writeFile(outputFile, `window.__SITE_CONFIG__ = ${config};\n`, 'utf8')
|
||||||
|
console.log(`运行时展示配置已写入 ${fileURLToPath(outputFile)}`)
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" width="32" height="32" viewBox="0 0 256 256"><path fill="#F7DF1E" d="M0 0h256v256H0V0Z"/><path d="m67.312 213.932l19.59-11.856c3.78 6.701 7.218 12.371 15.465 12.371c7.905 0 12.89-3.092 12.89-15.12v-81.798h24.057v82.138c0 24.917-14.606 36.259-35.916 36.259c-19.245 0-30.416-9.967-36.087-21.996m85.07-2.576l19.588-11.341c5.157 8.421 11.859 14.607 23.715 14.607c9.969 0 16.325-4.984 16.325-11.858c0-8.248-6.53-11.17-17.528-15.98l-6.013-2.58c-17.357-7.387-28.87-16.667-28.87-36.257c0-18.044 13.747-31.792 35.228-31.792c15.294 0 26.292 5.328 34.196 19.247l-18.732 12.03c-4.125-7.389-8.591-10.31-15.465-10.31c-7.046 0-11.514 4.468-11.514 10.31c0 7.217 4.468 10.14 14.778 14.608l6.014 2.577c20.45 8.765 31.963 17.7 31.963 37.804c0 21.654-17.012 33.51-39.867 33.51c-22.339 0-36.774-10.654-43.819-24.574"/></svg>
|
||||||
|
After Width: | Height: | Size: 863 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="77" height="47" fill="none" aria-labelledby="vite-logo-title" viewBox="0 0 77 47"><title id="vite-logo-title">Vite</title><style>.parenthesis{fill:#000}@media (prefers-color-scheme:dark){.parenthesis{fill:#fff}}</style><path fill="#9135ff" d="M40.151 45.71c-.663.844-2.02.374-2.02-.699V34.708a2.26 2.26 0 0 0-2.262-2.262H24.493c-.92 0-1.457-1.04-.92-1.788l7.479-10.471c1.07-1.498 0-3.578-1.842-3.578H15.443c-.92 0-1.456-1.04-.92-1.788l9.696-13.576c.213-.297.556-.474.92-.474h28.894c.92 0 1.456 1.04.92 1.788l-7.48 10.472c-1.07 1.497 0 3.578 1.842 3.578h11.376c.944 0 1.474 1.087.89 1.83L40.153 45.712z"/><mask id="a" width="48" height="47" x="14" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#000" d="M40.047 45.71c-.663.843-2.02.374-2.02-.699V34.708a2.26 2.26 0 0 0-2.262-2.262H24.389c-.92 0-1.457-1.04-.92-1.788l7.479-10.472c1.07-1.497 0-3.578-1.842-3.578H15.34c-.92 0-1.456-1.04-.92-1.788l9.696-13.575c.213-.297.556-.474.92-.474H53.93c.92 0 1.456 1.04.92 1.788L47.37 13.03c-1.07 1.498 0 3.578 1.842 3.578h11.376c.944 0 1.474 1.088.89 1.831L40.049 45.712z"/></mask><g mask="url(#a)"><g filter="url(#b)"><ellipse cx="5.508" cy="14.704" fill="#eee6ff" rx="5.508" ry="14.704" transform="rotate(269.814 20.96 11.29)scale(-1 1)"/></g><g filter="url(#c)"><ellipse cx="10.399" cy="29.851" fill="#eee6ff" rx="10.399" ry="29.851" transform="rotate(89.814 -16.902 -8.275)scale(1 -1)"/></g><g filter="url(#d)"><ellipse cx="5.508" cy="30.487" fill="#8900ff" rx="5.508" ry="30.487" transform="rotate(89.814 -19.197 -7.127)scale(1 -1)"/></g><g filter="url(#e)"><ellipse cx="5.508" cy="30.599" fill="#8900ff" rx="5.508" ry="30.599" transform="rotate(89.814 -25.928 4.177)scale(1 -1)"/></g><g filter="url(#f)"><ellipse cx="5.508" cy="30.599" fill="#8900ff" rx="5.508" ry="30.599" transform="rotate(89.814 -25.738 5.52)scale(1 -1)"/></g><g filter="url(#g)"><ellipse cx="14.072" cy="22.078" fill="#eee6ff" rx="14.072" ry="22.078" transform="rotate(93.35 31.245 55.578)scale(-1 1)"/></g><g filter="url(#h)"><ellipse cx="3.47" cy="21.501" fill="#8900ff" rx="3.47" ry="21.501" transform="rotate(89.009 35.419 55.202)scale(-1 1)"/></g><g filter="url(#i)"><ellipse cx="3.47" cy="21.501" fill="#8900ff" rx="3.47" ry="21.501" transform="rotate(89.009 35.419 55.202)scale(-1 1)"/></g><g filter="url(#j)"><ellipse cx="14.592" cy="9.743" fill="#8900ff" rx="4.407" ry="29.108" transform="rotate(39.51 14.592 9.743)"/></g><g filter="url(#k)"><ellipse cx="61.728" cy="-5.321" fill="#8900ff" rx="4.407" ry="29.108" transform="rotate(37.892 61.728 -5.32)"/></g><g filter="url(#l)"><ellipse cx="55.618" cy="7.104" fill="#00c2ff" rx="5.971" ry="9.665" transform="rotate(37.892 55.618 7.104)"/></g><g filter="url(#m)"><ellipse cx="12.326" cy="39.103" fill="#8900ff" rx="4.407" ry="29.108" transform="rotate(37.892 12.326 39.103)"/></g><g filter="url(#n)"><ellipse cx="12.326" cy="39.103" fill="#8900ff" rx="4.407" ry="29.108" transform="rotate(37.892 12.326 39.103)"/></g><g filter="url(#o)"><ellipse cx="49.857" cy="30.678" fill="#8900ff" rx="4.407" ry="29.108" transform="rotate(37.892 49.857 30.678)"/></g><g filter="url(#p)"><ellipse cx="52.623" cy="33.171" fill="#00c2ff" rx="5.971" ry="15.297" transform="rotate(37.892 52.623 33.17)"/></g></g><path d="M6.919 0c-9.198 13.166-9.252 33.575 0 46.789h6.215c-9.25-13.214-9.196-33.623 0-46.789zm62.424 0h-6.215c9.198 13.166 9.252 33.575 0 46.789h6.215c9.25-13.214 9.196-33.623 0-46.789" class="parenthesis"/><defs><filter id="b" width="60.045" height="41.654" x="-5.564" y="16.92" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="7.659"/></filter><filter id="c" width="90.34" height="51.437" x="-40.407" y="-6.762" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="7.659"/></filter><filter id="d" width="79.355" height="29.4" x="-35.435" y="2.801" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="e" width="79.579" height="29.4" x="-30.84" y="20.8" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="f" width="79.579" height="29.4" x="-29.307" y="21.949" color-interpolation-filters="sRGB" filterUnits="usLine truncated
|
||||||
|
After Width: | Height: | Size: 8.5 KiB |
@@ -0,0 +1,9 @@
|
|||||||
|
export function setupCounter(element) {
|
||||||
|
let counter = 0
|
||||||
|
const setCounter = (count) => {
|
||||||
|
counter = count
|
||||||
|
element.innerHTML = `Count is ${counter}`
|
||||||
|
}
|
||||||
|
element.addEventListener('click', () => setCounter(counter + 1))
|
||||||
|
setCounter(0)
|
||||||
|
}
|
||||||
+190
@@ -0,0 +1,190 @@
|
|||||||
|
import './style.css'
|
||||||
|
import { escapeHtml, resolveSiteConfig } from './site-config.js'
|
||||||
|
|
||||||
|
const site = resolveSiteConfig(import.meta.env, window.__SITE_CONFIG__)
|
||||||
|
|
||||||
|
document.title = site.title
|
||||||
|
for (const [selector, content] of [
|
||||||
|
['meta[name="description"]', site.metaDescription],
|
||||||
|
['meta[property="og:title"]', site.title],
|
||||||
|
['meta[property="og:description"]', site.metaDescription],
|
||||||
|
]) {
|
||||||
|
document.querySelector(selector).content = content
|
||||||
|
}
|
||||||
|
|
||||||
|
function registrationItem(number, url) {
|
||||||
|
if (!number) return ''
|
||||||
|
return url
|
||||||
|
? `<a href="${escapeHtml(url)}" target="_blank" rel="noopener noreferrer">${escapeHtml(number)}</a>`
|
||||||
|
: `<span>${escapeHtml(number)}</span>`
|
||||||
|
}
|
||||||
|
|
||||||
|
const registrationItems = registrationItem(site.icpNumber, site.icpUrl)
|
||||||
|
+ registrationItem(site.publicSecurityNumber, site.publicSecurityUrl)
|
||||||
|
|
||||||
|
const arrow = '<svg viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>'
|
||||||
|
const spark = '<svg viewBox="0 0 40 40" fill="none" aria-hidden="true"><path d="M20 2v36M2 20h36M7.3 7.3l25.4 25.4M7.3 32.7 32.7 7.3" stroke="currentColor" stroke-width="6"/></svg>'
|
||||||
|
|
||||||
|
document.querySelector('#app').innerHTML = `
|
||||||
|
<a class="skip-link" href="#main">跳至主要内容</a>
|
||||||
|
<div class="page-shell">
|
||||||
|
<header class="site-header">
|
||||||
|
<a class="brand" href="#" aria-label="${escapeHtml(site.projectName)},首页" title="${escapeHtml(site.projectName)}">
|
||||||
|
<span class="brand-symbol">${spark}</span>
|
||||||
|
<span class="brand-name">${escapeHtml(site.projectName)}${site.projectNameEn ? `<span>${escapeHtml(site.projectNameEn)}</span>` : ''}</span>
|
||||||
|
</a>
|
||||||
|
<span class="header-note">${escapeHtml(site.headerNote)}</span>
|
||||||
|
<div class="availability"><span class="status-dot"></span>即将上线 · 敬请期待</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main id="main">
|
||||||
|
<section class="hero" aria-labelledby="hero-title">
|
||||||
|
<div class="hero-copy">
|
||||||
|
<p class="eyebrow"><span></span> A LITTLE PATIENCE. A LOT TO LOOK FORWARD TO.</p>
|
||||||
|
<h1 id="hero-title">美好的事,<br>即将<span class="headline-accent">发生<svg viewBox="0 0 240 17" fill="none" aria-hidden="true"><path d="M3 11C60 0 154-1 237 8M24 15c53-6 121-9 186-5" stroke="currentColor" stroke-width="3" stroke-linecap="round"/></svg></span>。</h1>
|
||||||
|
<p class="hero-description">${escapeHtml(site.description).replace(/\r?\n/g, '<br>')}</p>
|
||||||
|
<div class="hero-actions">
|
||||||
|
<button class="share-button" id="share-button" type="button"><span>分享这份期待</span>${arrow}</button>
|
||||||
|
<a class="progress-link" href="#progress">看看我们在做什么<span aria-hidden="true">↘</span></a>
|
||||||
|
</div>
|
||||||
|
<div class="hero-footnote"><span class="tiny-star">✳</span><span>好东西,值得等一等。</span></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<figure class="artwork" aria-label="一颗被椭圆轨道环绕的橙色星球,象征正在酝酿的新想法">
|
||||||
|
<div class="artwork-coordinate coordinate-top" aria-hidden="true">IDEAS IN ORBIT</div>
|
||||||
|
<div class="orbital-system" aria-hidden="true">
|
||||||
|
<div class="orbit orbit-back"></div>
|
||||||
|
<div class="planet">
|
||||||
|
<div class="planet-lines"></div>
|
||||||
|
<div class="planet-grain"></div>
|
||||||
|
</div>
|
||||||
|
<div class="orbit orbit-front"></div>
|
||||||
|
<div class="satellite-track"><span class="satellite"></span></div>
|
||||||
|
<span class="artwork-spark spark-one">${spark}</span>
|
||||||
|
<span class="artwork-spark spark-two">+</span>
|
||||||
|
<span class="artwork-dot dot-one"></span>
|
||||||
|
<span class="artwork-dot dot-two"></span>
|
||||||
|
</div>
|
||||||
|
<figcaption><span class="figure-number">FIG. 001</span><span>让想象,慢慢成形。</span><span class="figure-plus" aria-hidden="true">+</span></figcaption>
|
||||||
|
</figure>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="progress-section" id="progress" aria-labelledby="progress-title">
|
||||||
|
<div class="progress-intro"><span class="section-index">01 / WHAT'S NEXT</span><h2 id="progress-title">每一步,都离见面更近。</h2></div>
|
||||||
|
<ol class="milestones">
|
||||||
|
<li class="milestone milestone-complete"><span class="milestone-icon" aria-hidden="true"><svg viewBox="0 0 20 20" fill="none"><path d="m5 10 3.3 3.3L15 6.7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg></span><div><h3>从一个想法开始</h3><p>让灵感有了方向</p></div><span class="milestone-tag">已启程</span></li>
|
||||||
|
<li class="milestone milestone-current"><span class="milestone-icon" aria-hidden="true"><span></span></span><div><h3>把细节变成惊喜</h3><p>用心打磨,渐入佳境</p></div><span class="milestone-tag"><span class="status-dot"></span>进行中</span></li>
|
||||||
|
<li class="milestone milestone-next"><span class="milestone-icon" aria-hidden="true">${arrow}</span><div><h3>然后,与你相遇</h3><p>敬请期待正式上线</p></div><span class="milestone-tag">即将到来</span></li>
|
||||||
|
</ol>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<footer class="site-footer">
|
||||||
|
<div class="footer-info">
|
||||||
|
<span class="footer-copyright">${escapeHtml(site.copyright)}${site.copyright && site.footerNote ? '<span class="footer-divider">/</span>' : ''}${escapeHtml(site.footerNote)}</span>
|
||||||
|
${registrationItems ? `<div class="footer-registration" aria-label="网站备案信息">${registrationItems}</div>` : ''}
|
||||||
|
</div>
|
||||||
|
<span class="footer-message">保持好奇。<span class="footer-spark">${spark}</span>我们很快见。</span>
|
||||||
|
<div class="local-clock"><span class="status-dot"></span><span>北京时间</span><time id="clock" aria-label="当前北京时间"></time></div>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
<div class="toast" id="toast" role="status" aria-live="polite" aria-atomic="true"></div>
|
||||||
|
<dialog class="share-dialog" id="share-dialog" aria-labelledby="share-title">
|
||||||
|
<button class="dialog-close" id="dialog-close" type="button" aria-label="关闭分享窗口">×</button>
|
||||||
|
<span class="dialog-spark">${spark}</span>
|
||||||
|
<h2 id="share-title">把期待,传递出去。</h2>
|
||||||
|
<p>复制下方链接,分享给同样保持好奇的人。</p>
|
||||||
|
<label for="share-url">页面链接</label>
|
||||||
|
<input id="share-url" type="url" readonly>
|
||||||
|
<button class="share-button" id="dialog-copy" type="button"><span>复制链接</span>${arrow}</button>
|
||||||
|
<p class="dialog-hint" id="dialog-hint" role="status" aria-live="polite"></p>
|
||||||
|
</dialog>
|
||||||
|
`
|
||||||
|
|
||||||
|
const clock = document.querySelector('#clock')
|
||||||
|
const timeFormatter = new Intl.DateTimeFormat('en-GB', {
|
||||||
|
timeZone: 'Asia/Shanghai',
|
||||||
|
hour: '2-digit',
|
||||||
|
minute: '2-digit',
|
||||||
|
second: '2-digit',
|
||||||
|
hour12: false,
|
||||||
|
})
|
||||||
|
|
||||||
|
function updateClock() {
|
||||||
|
const now = new Date()
|
||||||
|
clock.textContent = timeFormatter.format(now)
|
||||||
|
clock.dateTime = now.toISOString()
|
||||||
|
}
|
||||||
|
|
||||||
|
updateClock()
|
||||||
|
setInterval(updateClock, 1000)
|
||||||
|
|
||||||
|
let toastTimeout
|
||||||
|
function showToast(message) {
|
||||||
|
const toast = document.querySelector('#toast')
|
||||||
|
clearTimeout(toastTimeout)
|
||||||
|
toast.textContent = message
|
||||||
|
toast.classList.add('is-visible')
|
||||||
|
toastTimeout = setTimeout(() => toast.classList.remove('is-visible'), 3500)
|
||||||
|
}
|
||||||
|
|
||||||
|
const shareDialog = document.querySelector('#share-dialog')
|
||||||
|
const shareInput = document.querySelector('#share-url')
|
||||||
|
const shareUrl = new URL(window.location.href)
|
||||||
|
shareUrl.hash = ''
|
||||||
|
shareInput.value = shareUrl.href
|
||||||
|
|
||||||
|
async function copyLink() {
|
||||||
|
if (!navigator.clipboard?.writeText) return false
|
||||||
|
try {
|
||||||
|
await navigator.clipboard.writeText(shareUrl.href)
|
||||||
|
return true
|
||||||
|
} catch {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
document.querySelector('#share-button').addEventListener('click', async () => {
|
||||||
|
if (navigator.share) {
|
||||||
|
try {
|
||||||
|
await navigator.share({
|
||||||
|
title: site.title,
|
||||||
|
text: site.metaDescription,
|
||||||
|
url: shareUrl.href,
|
||||||
|
})
|
||||||
|
return
|
||||||
|
} catch (error) {
|
||||||
|
if (error.name === 'AbortError') return
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (await copyLink()) {
|
||||||
|
showToast('链接已复制,把这份期待分享出去吧。')
|
||||||
|
} else {
|
||||||
|
document.querySelector('#dialog-hint').textContent = ''
|
||||||
|
shareDialog.showModal()
|
||||||
|
shareInput.focus()
|
||||||
|
shareInput.select()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
document.querySelector('#dialog-copy').addEventListener('click', async () => {
|
||||||
|
if (await copyLink()) {
|
||||||
|
shareDialog.close()
|
||||||
|
showToast('链接已复制,把这份期待分享出去吧。')
|
||||||
|
} else {
|
||||||
|
shareInput.focus()
|
||||||
|
shareInput.select()
|
||||||
|
const shortcut = /Mac|iPhone|iPad/.test(navigator.userAgent) ? '⌘ C' : 'Ctrl + C'
|
||||||
|
document.querySelector('#dialog-hint').textContent = `链接已选中,请按 ${shortcut} 或长按链接复制。`
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
document.querySelector('#dialog-close').addEventListener('click', () => shareDialog.close())
|
||||||
|
shareDialog.addEventListener('click', (event) => {
|
||||||
|
if (event.target !== shareDialog) return
|
||||||
|
const rect = shareDialog.getBoundingClientRect()
|
||||||
|
if (event.clientX < rect.left || event.clientX > rect.right || event.clientY < rect.top || event.clientY > rect.bottom) {
|
||||||
|
shareDialog.close()
|
||||||
|
}
|
||||||
|
})
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
export const publicEnvKeys = Object.freeze([
|
||||||
|
'VITE_PROJECT_NAME',
|
||||||
|
'VITE_PROJECT_NAME_EN',
|
||||||
|
'VITE_PROJECT_DESCRIPTION',
|
||||||
|
'VITE_PAGE_TITLE',
|
||||||
|
'VITE_HEADER_NOTE',
|
||||||
|
'VITE_COPYRIGHT',
|
||||||
|
'VITE_FOOTER_NOTE',
|
||||||
|
'VITE_ICP_NUMBER',
|
||||||
|
'VITE_ICP_URL',
|
||||||
|
'VITE_PUBLIC_SECURITY_NUMBER',
|
||||||
|
'VITE_PUBLIC_SECURITY_URL',
|
||||||
|
])
|
||||||
|
|
||||||
|
export function pickPublicEnv(env = {}) {
|
||||||
|
return Object.fromEntries(publicEnvKeys
|
||||||
|
.filter(key => Object.hasOwn(env, key) && typeof env[key] === 'string')
|
||||||
|
.map(key => [key, env[key]]))
|
||||||
|
}
|
||||||
|
|
||||||
|
export function escapeHtml(value) {
|
||||||
|
return String(value).replace(/[&<>"']/g, character => ({
|
||||||
|
'&': '&', '<': '<', '>': '>', '"': '"', "'": ''',
|
||||||
|
})[character])
|
||||||
|
}
|
||||||
|
|
||||||
|
function httpUrl(value) {
|
||||||
|
try {
|
||||||
|
const url = new URL(value)
|
||||||
|
return ['http:', 'https:'].includes(url.protocol) ? url.href : ''
|
||||||
|
} catch {
|
||||||
|
return ''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export function resolveSiteConfig(buildEnv = {}, runtimeEnv = {}, year = new Date().getFullYear()) {
|
||||||
|
const env = { ...pickPublicEnv(buildEnv), ...pickPublicEnv(runtimeEnv) }
|
||||||
|
const projectName = env.VITE_PROJECT_NAME?.trim() || '未完待续'
|
||||||
|
const description = env.VITE_PROJECT_DESCRIPTION?.trim()
|
||||||
|
|| '一个新想法,正在慢慢成为现实。\n我们在认真打磨每一个细节,期待很快与你见面。'
|
||||||
|
|
||||||
|
return {
|
||||||
|
projectName,
|
||||||
|
projectNameEn: env.VITE_PROJECT_NAME_EN ?? 'STAY TUNED',
|
||||||
|
description,
|
||||||
|
metaDescription: description.replace(/\s+/g, ' '),
|
||||||
|
title: env.VITE_PAGE_TITLE?.trim() || `${projectName} · 美好的事,即将发生`,
|
||||||
|
headerNote: env.VITE_HEADER_NOTE ?? '为下一次相遇,认真准备中。',
|
||||||
|
copyright: (env.VITE_COPYRIGHT ?? '© {year} {projectName}')
|
||||||
|
.replace(/\{(year|projectName)\}/g, (_, key) => key === 'year' ? String(year) : projectName),
|
||||||
|
footerNote: env.VITE_FOOTER_NOTE ?? 'MADE WITH INTENTION.',
|
||||||
|
icpNumber: env.VITE_ICP_NUMBER?.trim() || '',
|
||||||
|
icpUrl: httpUrl(env.VITE_ICP_URL ?? 'https://beian.miit.gov.cn/'),
|
||||||
|
publicSecurityNumber: env.VITE_PUBLIC_SECURITY_NUMBER?.trim() || '',
|
||||||
|
publicSecurityUrl: httpUrl(env.VITE_PUBLIC_SECURITY_URL ?? ''),
|
||||||
|
}
|
||||||
|
}
|
||||||
+224
@@ -0,0 +1,224 @@
|
|||||||
|
:root {
|
||||||
|
font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
|
||||||
|
color: #292a25;
|
||||||
|
background: #f7f7ef;
|
||||||
|
font-synthesis: none;
|
||||||
|
text-rendering: optimizeLegibility;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
--paper: #f7f7ef;
|
||||||
|
--ink: #292a25;
|
||||||
|
--muted: #74776b;
|
||||||
|
--orange: #ea633b;
|
||||||
|
--line: #ddded3;
|
||||||
|
}
|
||||||
|
|
||||||
|
* { box-sizing: border-box; }
|
||||||
|
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
|
||||||
|
body { margin: 0; min-width: 320px; }
|
||||||
|
body::before {
|
||||||
|
content: '';
|
||||||
|
position: fixed;
|
||||||
|
inset: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
z-index: 5;
|
||||||
|
opacity: .035;
|
||||||
|
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' opacity='.5' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
|
||||||
|
}
|
||||||
|
button, input { font: inherit; }
|
||||||
|
button, a { -webkit-tap-highlight-color: transparent; }
|
||||||
|
button { cursor: pointer; }
|
||||||
|
a { color: inherit; text-decoration: none; }
|
||||||
|
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--orange); outline-offset: 6px; }
|
||||||
|
::selection { background: #edaa83; color: #292a25; }
|
||||||
|
.page-shell { max-width: 1600px; min-height: 100svh; padding: 0 6.1%; margin: 0 auto; }
|
||||||
|
.skip-link { position: fixed; top: 12px; left: 12px; padding: 12px 20px; background: var(--ink); color: white; transform: translateY(-150%); z-index: 10; }
|
||||||
|
.skip-link:focus { transform: translateY(0); }
|
||||||
|
|
||||||
|
.site-header { height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
|
||||||
|
.brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
|
||||||
|
.brand-symbol { width: 41px; height: 41px; flex-shrink: 0; color: var(--orange); transition: transform .6s; }
|
||||||
|
.brand:hover .brand-symbol { transform: rotate(90deg); }
|
||||||
|
.brand-symbol svg, .artwork-spark svg, .footer-spark svg, .dialog-spark svg { width: 100%; height: 100%; }
|
||||||
|
.brand-name { font-size: 23px; line-height: 1.45; font-weight: 800; letter-spacing: 3px; max-width: 260px; overflow-wrap: anywhere; }
|
||||||
|
.brand-name > span { display: block; font-size: 8px; font-weight: 500; letter-spacing: 2.9px; overflow-wrap: anywhere; }
|
||||||
|
.header-note { margin-left: auto; margin-right: 53px; font-size: 11px; letter-spacing: 1.3px; color: var(--muted); }
|
||||||
|
.availability { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 30px; padding: 9px 14px; font-size: 11px; white-space: nowrap; }
|
||||||
|
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #7d8f66; flex-shrink: 0; }
|
||||||
|
.availability .status-dot { box-shadow: 0 0 0 3px #7d8f6610; animation: pulse 3s ease-in-out infinite; }
|
||||||
|
|
||||||
|
.hero { min-height: 632px; display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: 25px; padding: 56px 0 46px; }
|
||||||
|
.hero-copy { padding: 13px 0 0; position: relative; z-index: 2; }
|
||||||
|
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 30px; color: #77796e; font-size: 9px; font-family: 'Helvetica Neue', Arial, sans-serif; font-weight: 500; letter-spacing: 1.45px; }
|
||||||
|
.eyebrow > span { width: 21px; height: 1px; background: var(--orange); flex-shrink: 0; }
|
||||||
|
h1 { font-size: clamp(52px, 5.55vw, 86px); line-height: 1.42; font-weight: 800; letter-spacing: -4px; margin: 0 0 28px -4px; }
|
||||||
|
.headline-accent { color: var(--orange); position: relative; display: inline-block; }
|
||||||
|
.headline-accent > svg { position: absolute; bottom: -5px; left: -4%; width: 108%; height: 14px; }
|
||||||
|
.hero-description { font-size: 13px; line-height: 2.05; letter-spacing: .6px; color: #707467; margin: 0 0 32px; }
|
||||||
|
.hero-actions { display: flex; align-items: center; gap: 25px; }
|
||||||
|
.share-button { min-height: 49px; padding: 0 21px; border: 1px solid var(--ink); background: var(--ink); color: #fffef4; font-size: 12px; letter-spacing: .7px; display: inline-flex; align-items: center; justify-content: space-between; gap: 29px; transition: background .2s, transform .2s, border-color .2s; }
|
||||||
|
.share-button svg { width: 20px; height: 20px; transition: transform .2s; }
|
||||||
|
.share-button:hover { background: #43463b; border-color: #43463b; transform: translateY(-2px); }
|
||||||
|
.share-button:hover svg { transform: translateX(3px); }
|
||||||
|
.share-button:active { transform: translateY(0); }
|
||||||
|
.progress-link { display: flex; align-items: center; gap: 13px; font-size: 11px; color: #6a6d62; padding: 10px 0; }
|
||||||
|
.progress-link span { font-size: 19px; line-height: 1; transition: transform .2s; }
|
||||||
|
.progress-link:hover span { transform: translate(2px, 2px); }
|
||||||
|
.hero-footnote { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 10px; letter-spacing: .7px; margin-top: 25px; }
|
||||||
|
.tiny-star { color: #898d79; font-size: 15px; }
|
||||||
|
|
||||||
|
.artwork { position: relative; margin: 0; aspect-ratio: 1.03; width: 100%; isolation: isolate; }
|
||||||
|
.artwork::before { content: ''; position: absolute; inset: 5% -2%; background: radial-gradient(ellipse, #e9e5d6a1, transparent 67%); z-index: -1; }
|
||||||
|
.artwork-coordinate { position: absolute; font: 9px 'Helvetica Neue', Arial, sans-serif; letter-spacing: 2px; color: var(--muted); }
|
||||||
|
.coordinate-top { right: 3%; top: 2%; writing-mode: vertical-rl; }
|
||||||
|
.orbital-system { width: 100%; height: 100%; position: absolute; inset: 0; animation: arrive 1.3s both; }
|
||||||
|
.planet { position: absolute; width: 65%; aspect-ratio: 1; left: 17.5%; top: 17%; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 30% 22%, #fba36c 0, #ed8951 23%, #eb7646 43%, #d85c33 67%, #b94626 83%, #9c3c25 100%); box-shadow: inset -13px -17px 30px #73291035, inset 9px 6px 22px #ffe1a636, 27px 39px 45px -32px #8f48204d; transform: rotate(-24deg); }
|
||||||
|
.planet::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 28% 17%, #ffe8ac35, transparent 47%, #8a32192e 100%); }
|
||||||
|
.planet-lines { position: absolute; inset: -10%; opacity: .29; background: repeating-linear-gradient(0deg, transparent 0, transparent 5px, #873a281d 5.5px, #81352155 6px, transparent 7px); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
|
||||||
|
.planet-grain { position: absolute; inset: 0; opacity: .24; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%236f2e13' filter='url(%23g)' d='M0 0h200v200H0z'/%3E%3C/svg%3E"); }
|
||||||
|
.orbit { position: absolute; width: 101%; height: 38%; left: -.5%; top: 31%; border: 1px solid #696f5c; border-radius: 50%; transform: rotate(-32deg); }
|
||||||
|
.orbit-back { z-index: -1; }
|
||||||
|
.orbit-front { clip-path: inset(50% -10% -10% -10%); }
|
||||||
|
.satellite-track { position: absolute; width: 101%; height: 38%; left: -.5%; top: 31%; transform: rotate(-32deg); }
|
||||||
|
.satellite { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 32% 25%, #636a54, #2d382a 70%); box-shadow: 1px 3px 6px #40472f25; top: 70%; left: 5%; animation: satellite-float 6s ease-in-out infinite; }
|
||||||
|
.artwork-spark { position: absolute; display: block; color: #757d5e; }
|
||||||
|
.spark-one { width: 37px; height: 37px; top: 15%; left: 12%; animation: spark-turn 30s linear infinite; }
|
||||||
|
.spark-two { top: 70%; right: 7%; font: 33px Georgia, serif; font-weight: 400; color: #a0a48d; }
|
||||||
|
.artwork-dot { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #aaa991; }
|
||||||
|
.dot-one { top: 18%; right: 21%; }
|
||||||
|
.dot-two { top: 81%; left: 25%; width: 3px; height: 3px; }
|
||||||
|
figcaption { position: absolute; bottom: 0; left: 14%; right: 5%; display: flex; align-items: center; gap: 16px; font-size: 10px; letter-spacing: 1px; color: var(--muted); }
|
||||||
|
.figure-number { font: 9px 'Helvetica Neue', Arial, sans-serif; letter-spacing: 1px; padding-right: 16px; border-right: 1px solid #cdcec0; }
|
||||||
|
.figure-plus { margin-left: auto; font-size: 19px; color: #a3a694; }
|
||||||
|
|
||||||
|
.progress-section { border-top: 1px solid var(--line); padding: 29px 0 37px; display: grid; grid-template-columns: 1fr 2.7fr; gap: 40px; }
|
||||||
|
.section-index { display: block; font: 9px 'Helvetica Neue', Arial, sans-serif; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 13px; }
|
||||||
|
.progress-intro h2 { font-size: 14px; font-weight: 500; letter-spacing: .4px; margin: 0; }
|
||||||
|
.milestones { list-style: none; margin: 0; padding: 4px 0 0; display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 25px; }
|
||||||
|
.milestone { display: flex; align-items: flex-start; gap: 11px; position: relative; }
|
||||||
|
.milestone-icon { width: 25px; height: 25px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid #c6cbb9; border-radius: 50%; color: #788568; }
|
||||||
|
.milestone-icon svg { width: 17px; height: 17px; }
|
||||||
|
.milestone h3 { font-size: 12px; font-weight: 500; margin: 2px 0 8px; letter-spacing: .4px; }
|
||||||
|
.milestone p { color: var(--muted); font-size: 10px; margin: 0; letter-spacing: .4px; }
|
||||||
|
.milestone-tag { display: inline-flex; align-items: center; gap: 5px; position: absolute; top: 57px; left: 36px; font-size: 9px; color: #6d775d; }
|
||||||
|
.milestone-current .milestone-icon { border-color: #e8a58a; background: #f6e7db; }
|
||||||
|
.milestone-current .milestone-icon > span { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px #ea633b15; }
|
||||||
|
.milestone-current h3, .milestone-current .milestone-tag { color: #ac4c2a; }
|
||||||
|
.milestone-current .status-dot { width: 4px; height: 4px; background: var(--orange); animation: pulse 3s ease-in-out infinite; }
|
||||||
|
.milestone-next .milestone-icon { border-color: #d5d6cb; color: #a3a599; }
|
||||||
|
.milestone-next h3 { color: var(--muted); }
|
||||||
|
.milestone-next .milestone-tag { color: var(--muted); }
|
||||||
|
|
||||||
|
.site-footer { margin-top: 23px; border-top: 1px solid var(--line); min-height: 87px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font: 9px 'Helvetica Neue', 'PingFang SC', sans-serif; letter-spacing: .5px; color: var(--muted); }
|
||||||
|
.footer-divider { margin: 0 8px; color: #b9bbaf; }
|
||||||
|
.footer-info { max-width: 52%; padding-block: 15px; line-height: 1.8; overflow-wrap: anywhere; }
|
||||||
|
.footer-registration { display: flex; flex-wrap: wrap; gap: 4px 15px; margin-top: 5px; }
|
||||||
|
.footer-registration a { text-underline-offset: 3px; }
|
||||||
|
.footer-registration a:hover { color: var(--ink); text-decoration: underline; }
|
||||||
|
.footer-message { display: flex; align-items: center; gap: 11px; font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; letter-spacing: 1px; }
|
||||||
|
.footer-spark { display: flex; width: 15px; height: 15px; color: #9ba187; }
|
||||||
|
.local-clock { display: flex; align-items: center; gap: 7px; }
|
||||||
|
.local-clock .status-dot { width: 4px; height: 4px; }
|
||||||
|
.local-clock time { font-variant-numeric: tabular-nums; min-width: 51px; }
|
||||||
|
|
||||||
|
.toast { position: fixed; z-index: 10; bottom: 30px; left: 50%; transform: translate(-50%, 15px); max-width: calc(100% - 32px); width: max-content; border-radius: 4px; padding: 15px 22px; color: var(--paper); background: var(--ink); box-shadow: 0 6px 30px #292a2520; font-size: 13px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
|
||||||
|
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
|
||||||
|
.share-dialog { border: 1px solid var(--line); padding: 38px; width: min(450px, calc(100% - 32px)); color: var(--ink); background: var(--paper); box-shadow: 0 20px 100px #292a2529; }
|
||||||
|
.share-dialog::backdrop { background: #292a2560; backdrop-filter: blur(5px); }
|
||||||
|
.dialog-close { position: absolute; right: 12px; top: 9px; width: 35px; height: 35px; background: transparent; border: 0; color: #77796e; font-size: 28px; }
|
||||||
|
.dialog-spark { display: block; width: 35px; height: 35px; color: var(--orange); margin-bottom: 25px; }
|
||||||
|
.share-dialog h2 { font-size: 23px; margin: 0 0 12px; }
|
||||||
|
.share-dialog p { font-size: 12px; color: #85857b; line-height: 1.8; }
|
||||||
|
.share-dialog label { display: block; font-size: 11px; margin: 25px 0 8px; }
|
||||||
|
.share-dialog input { width: 100%; padding: 12px; border: 1px solid #d6d8cb; border-radius: 0; font-size: 12px; background: #fffdf8; color: #5c6152; margin-bottom: 16px; }
|
||||||
|
.share-dialog .share-button { width: 100%; }
|
||||||
|
.share-dialog .dialog-hint { margin-bottom: 0; }
|
||||||
|
|
||||||
|
@keyframes pulse { 50% { opacity: .4; } }
|
||||||
|
@keyframes satellite-float { 50% { transform: translate(6px, -4px); } }
|
||||||
|
@keyframes spark-turn { to { transform: rotate(360deg); } }
|
||||||
|
@keyframes arrive { from { opacity: 0; transform: translateY(14px) rotate(-4deg); } to { opacity: 1; transform: translateY(0) rotate(0); } }
|
||||||
|
|
||||||
|
@media (min-width: 1500px) {
|
||||||
|
.hero { min-height: 710px; }
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-height: 960px) and (min-width: 1000px) {
|
||||||
|
.page-shell { display: flex; flex-direction: column; }
|
||||||
|
main { flex: 1; display: flex; flex-direction: column; justify-content: center; }
|
||||||
|
.hero { flex: 1; max-height: 900px; }
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1100px) {
|
||||||
|
.page-shell { padding: 0 5%; }
|
||||||
|
.header-note { margin-right: 15px; }
|
||||||
|
.hero { min-height: 590px; gap: 0; }
|
||||||
|
h1 { font-size: 62px; }
|
||||||
|
.eyebrow { font-size: 8px; letter-spacing: 1px; }
|
||||||
|
.hero-actions { gap: 20px; }
|
||||||
|
.share-button { padding-inline: 17px; gap: 20px; }
|
||||||
|
.progress-section { grid-template-columns: 1fr; gap: 23px; padding-bottom: 45px; }
|
||||||
|
.progress-intro { display: flex; align-items: center; gap: 25px; }
|
||||||
|
.section-index { margin-bottom: 0; }
|
||||||
|
.milestones { gap: 30px; }
|
||||||
|
.milestone { padding-left: 0; }
|
||||||
|
.milestone-tag { position: static; margin-left: auto; padding-top: 5px; }
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 760px) {
|
||||||
|
.page-shell { padding: 0 7%; }
|
||||||
|
.site-header { height: 95px; }
|
||||||
|
.brand-symbol { width: 32px; height: 32px; }
|
||||||
|
.brand-name { font-size: 19px; letter-spacing: 2px; }
|
||||||
|
.brand-name > span { font-size: 7px; letter-spacing: 2px; }
|
||||||
|
.header-note { display: none; }
|
||||||
|
.brand-name { max-width: 160px; font-size: 19px; }
|
||||||
|
.availability { font-size: 10px; padding: 8px 10px; gap: 7px; }
|
||||||
|
.hero { grid-template-columns: 1fr; padding: 51px 0 34px; gap: 18px; }
|
||||||
|
.hero-copy { padding: 0; }
|
||||||
|
.eyebrow { font-size: 8px; letter-spacing: 1px; margin-bottom: 22px; }
|
||||||
|
h1 { font-size: clamp(50px, 9.7vw, 70px); line-height: 1.43; letter-spacing: -2.5px; margin-bottom: 25px; }
|
||||||
|
.hero-description { font-size: 12px; letter-spacing: .25px; margin-bottom: 27px; }
|
||||||
|
.hero-actions { gap: 23px; }
|
||||||
|
.progress-link { font-size: 10px; gap: 7px; }
|
||||||
|
.share-button { min-height: 47px; font-size: 11px; padding-inline: 18px; gap: 22px; }
|
||||||
|
.hero-footnote { font-size: 9px; margin-top: 19px; }
|
||||||
|
.artwork { width: min(100%, 440px); justify-self: center; margin-top: -3px; }
|
||||||
|
.coordinate-top { top: 5%; right: 0; font-size: 8px; }
|
||||||
|
figcaption { font-size: 9px; bottom: 0; left: 9%; }
|
||||||
|
.progress-section { padding: 25px 0 28px; gap: 23px; }
|
||||||
|
.progress-intro { display: block; }
|
||||||
|
.section-index { font-size: 8px; margin-bottom: 10px; }
|
||||||
|
.progress-intro h2 { font-size: 14px; }
|
||||||
|
.milestones { grid-template-columns: 1fr; gap: 24px; }
|
||||||
|
.milestone { gap: 13px; align-items: center; }
|
||||||
|
.milestone-icon { width: 27px; height: 27px; }
|
||||||
|
.milestone h3 { font-size: 12px; margin: 0 0 5px; }
|
||||||
|
.milestone p { font-size: 10px; }
|
||||||
|
.milestone-tag { padding-top: 0; font-size: 9px; }
|
||||||
|
.site-footer { margin-top: 0; padding: 22px 0; min-height: 90px; flex-wrap: wrap; row-gap: 19px; font-size: 8px; }
|
||||||
|
.footer-info { flex: 1 1 100%; max-width: 100%; padding: 0; }
|
||||||
|
.footer-registration { font-size: 10px; gap: 6px 12px; }
|
||||||
|
.footer-message { order: 3; width: 100%; font-size: 9px; justify-content: center; }
|
||||||
|
.local-clock { gap: 5px; font-size: 8px; }
|
||||||
|
.local-clock time { min-width: 43px; }
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 370px) {
|
||||||
|
.page-shell { padding-inline: 6%; }
|
||||||
|
.brand { gap: 9px; }
|
||||||
|
.brand-name { font-size: 17px; }
|
||||||
|
.availability { font-size: 9px; }
|
||||||
|
.eyebrow { font-size: 7px; letter-spacing: .8px; gap: 7px; }
|
||||||
|
h1 { font-size: 49px; }
|
||||||
|
.hero-actions { gap: 14px; }
|
||||||
|
.share-button { padding-inline: 14px; gap: 15px; }
|
||||||
|
.hero-description { font-size: 11px; }
|
||||||
|
.site-footer { column-gap: 8px; }
|
||||||
|
.footer-divider { margin-inline: 3px; }
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
html { scroll-behavior: auto; }
|
||||||
|
*, *::before, *::after { animation: none !important; transition: none !important; }
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="WEB_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||||
|
<exclude-output />
|
||||||
|
<content url="file://$MODULE_DIR$" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
import { defineConfig, loadEnv } from 'vite'
|
||||||
|
import { escapeHtml, resolveSiteConfig } from './src/site-config.js'
|
||||||
|
|
||||||
|
export default defineConfig(({ mode }) => {
|
||||||
|
const config = resolveSiteConfig(loadEnv(mode, process.cwd(), 'VITE_'))
|
||||||
|
|
||||||
|
return {
|
||||||
|
plugins: [{
|
||||||
|
name: 'site-metadata',
|
||||||
|
transformIndexHtml: {
|
||||||
|
order: 'pre',
|
||||||
|
handler(html) {
|
||||||
|
return html.replace(/__SITE_(TITLE|DESCRIPTION)__/g, (_, key) =>
|
||||||
|
escapeHtml(key === 'TITLE' ? config.title : config.metaDescription))
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}],
|
||||||
|
}
|
||||||
|
})
|
||||||
Reference in new issue
Block a user