沉浸式太空天文观测站网站
沉浸式太空天文观测站网站:Stellar Vista 是一个沉浸式太空天文观测站网站,采用 React + Tailwind CSS + Framer Motion 构建,通过 EdgeOne Pages 部署,并使用 Edge Function 提供实时天文数据。整站采用深空主
完整提示词
# Stellar Vista — 网站生成 Prompt(Final v1)
> **用途**:把下面代码块中的 Prompt 整段复制,喂给执行型 AI(Claude / Cursor / WorkBuddy 等),一次性产出 React 网站 + Edge Functions,并部署到 EdgeOne Pages。
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
STEP 0 — INSTALL THE EDGEONE PAGES SKILL FIRST
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Before writing any code, install the official EdgeOne Pages skill so you have
the authoritative reference for Edge Functions, routing, and deployment:
npx skills add edgeone-pages/edgeone-pages-skills
Consult the skill's references (especially `edgeone-pages-dev/references/
edge-functions.md` and `edgeone-pages-deploy`) whenever you write function
code or run deploy commands.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
STEP 1 — GOAL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Build "Stellar Vista — Your Window to the Cosmos", a single-page immersive
space observatory website. The site must feel like looking through a high-end
observatory's glass dome into deep space.
### What it IS:
- A visually stunning space observatory with glass-morphism UI
- An interactive solar system with animated orbiting planets
- A tonight's sky section with star map and astronomical events
- A data dashboard with moon phases, meteor showers, solar activity charts
- A deep space gallery showcasing nebulae, galaxies, black holes
### What it MUST NOT be:
- A generic dark-themed dashboard with no personality
- A flat, static page with no motion or interactivity
- A Three.js-heavy app that can't deploy on EdgeOne Pages
- A site using heavy chart libraries (recharts, chart.js) — use inline SVG instead
- A site with absolute asset paths — all paths must be relative (`./`)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
STEP 2 — BRAND RULES & COLOR SYSTEM
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Brand: Stellar Vista
Tagline: "Your Window to the Cosmos"
Color palette (use as CSS custom properties in `:root`):分类与标签
AI 图片