示例工程 53-project-brief

53-project-brief/app/index.html

html · 4.3 KB

运行:Aster Studio · 项目简报

点击「运行示例」后,左侧显示源码、右侧显示运行结果;console 输出会实时回传。

<!doctype html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>Aster Studio · 项目简报</title>
    <link rel="stylesheet" href="tokens.css" />
    <link rel="stylesheet" href="style.css" />
  </head>
  <body>
    <div class="app">
      <header class="site-header">
        <span class="brand">ASTER STUDIO</span>
        <nav aria-label="页面导航">
          <a href="#goals">目标</a>
          <a href="#tokens">设计 token</a>
          <a href="#wireframe">线框</a>
          <a href="#acceptance">验收</a>
        </nav>
      </header>

      <main class="page">
        <p class="eyebrow">PROJECT BRIEF / 01</p>
        <h1>Aster Studio 官网改版</h1>
        <p class="lead">
          一个五页的产品工作室站点:先定目标、受众与 token,再谈布局与动效。
        </p>

        <section class="panel" id="goals">
          <h2>1. 目标与受众</h2>
          <div class="brief-grid">
            <article class="brief-card">
              <span class="tag">GOAL</span>
              <h3>让潜在客户在 30 秒内理解我们做什么</h3>
              <p>首屏一句话 + 三个能力 + 一个案例入口。</p>
            </article>
            <article class="brief-card">
              <span class="tag">AUDIENCE</span>
              <h3>有预算的产品负责人</h3>
              <p>关注交付速度、设计质量与后期维护。</p>
            </article>
            <article class="brief-card">
              <span class="tag">CONSTRAINT</span>
              <h3>纯静态、无后端</h3>
              <p>所有页面构建期生成,表单走第三方或 mailto。</p>
            </article>
          </div>
        </section>

        <section class="panel" id="tokens">
          <h2>2. 设计 token</h2>
          <p>颜色、字号、间距先定好,后面的组件只引用变量。</p>

          <div class="token-row">
            <div class="swatch swatch-ink"><span>--ink</span></div>
            <div class="swatch swatch-brand"><span>--brand</span></div>
            <div class="swatch swatch-accent"><span>--accent</span></div>
            <div class="swatch swatch-paper"><span>--paper</span></div>
          </div>

          <div class="scale">
            <div class="scale-item"><span class="scale-label">--text-sm</span><span class="scale-sm">0.875rem</span></div>
            <div class="scale-item"><span class="scale-label">--text-base</span><span class="scale-base">1rem</span></div>
            <div class="scale-item"><span class="scale-label">--text-xl</span><span class="scale-xl">1.5rem</span></div>
            <div class="scale-item"><span class="scale-label">--text-3xl</span><span class="scale-3xl">2.25rem</span></div>
          </div>

          <div class="space-row">
            <span class="space space-1">4</span>
            <span class="space space-2">8</span>
            <span class="space space-3">12</span>
            <span class="space space-4">16</span>
            <span class="space space-6">24</span>
            <span class="space space-8">32</span>
          </div>
        </section>

        <section class="panel" id="wireframe">
          <h2>3. 首页线框</h2>
          <p>四个区块,先保证信息顺序,再谈视觉。</p>

          <div class="wireframe">
            <div class="wf-block wf-hero">Hero · 一句话 + CTA</div>
            <div class="wf-block">能力 1</div>
            <div class="wf-block">能力 2</div>
            <div class="wf-block">能力 3</div>
            <div class="wf-block wf-wide">案例 / 客户 logo</div>
            <div class="wf-block wf-wide">联系 CTA</div>
          </div>
        </section>

        <section class="panel" id="acceptance">
          <h2>4. 验收标准</h2>
          <ul class="notes">
            <li>320px 无横向滚动,主流程可完成。</li>
            <li>所有颜色、字号、间距来自 token。</li>
            <li>键盘可走完导航与表单。</li>
            <li>首屏 CSS ≤ 60KB gzip,LCP ≤ 2.5s。</li>
            <li>支持最近两个版本的 Chrome / Firefox / Safari。</li>
          </ul>
        </section>
      </main>

      <footer class="site-footer">
        <p>Aster Studio · 项目简报</p>
        <p>2026</p>
      </footer>
    </div>
  </body>
</html>