> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bricks.tools/llms.txt
> Use this file to discover all available pages before exploring further.

# BRICKS Controller

> 管理裝置、應用程式、模組與工作區的網頁介面

export const FeatureCard = ({ icon, title, description, href }) => (
  <a href={href} className="group block rounded-2xl border border-gray-200 dark:border-white/10 bg-white dark:bg-white/5 p-6 no-underline hover:border-[#4b8ae2]/40 hover:shadow-lg hover:shadow-[#4b8ae2]/5 transition-all duration-200">
    <div className="flex items-center gap-3 mb-3">
      <span className="text-2xl">{icon}</span>
      <h3 className="text-base font-semibold text-gray-900 dark:text-white m-0">{title}</h3>
    </div>
    <p className="text-sm text-gray-500 dark:text-gray-400 m-0 leading-relaxed">{description}</p>
  </a>
);

export const StepItem = ({ number, title, description, href, linkText }) => (
  <div className="flex gap-4">
    <div className="flex-shrink-0 w-8 h-8 rounded-full bg-[#4b8ae2] flex items-center justify-center">
      <span className="text-sm font-bold text-white">{number}</span>
    </div>
    <div className="pb-8">
      <h4 className="text-sm font-semibold text-gray-900 dark:text-white m-0">{title}</h4>
      <p className="text-sm text-gray-500 dark:text-gray-400 mt-1 mb-1">{description}</p>
      {href && <a href={href} className="text-sm font-medium text-[#4b8ae2] hover:text-[#3f7dd4] no-underline">{linkText} →</a>}
    </div>
  </div>
);

<div className="max-w-5xl mx-auto px-6 py-16">
  <div className="mb-16">
    <div className="flex items-center gap-4 mb-6">
      <div>
        <h1 className="text-4xl sm:text-5xl font-bold text-gray-900 dark:text-white tracking-tight m-0">
          BRICKS Controller
        </h1>
      </div>
    </div>

    <p className="text-xl text-gray-600 dark:text-gray-300 font-medium mb-2">
      一切管理 <span className="text-[#4b8ae2]">盡在瀏覽器中。</span>
    </p>

    <p className="text-lg text-gray-500 dark:text-gray-400 max-w-2xl mb-8 leading-relaxed">
      <a href="https://control.bricks.tools" className="text-[#4b8ae2] hover:text-[#3f7dd4] no-underline font-medium">BRICKS Controller</a> 是 <a href="https://bricks.tools" className="text-[#4b8ae2] hover:text-[#3f7dd4] no-underline font-medium">BRICKS</a> 平台的網頁管理介面。可於瀏覽器中管理裝置、應用程式、模組、媒體與工作區。
    </p>

    <div className="flex flex-wrap gap-3">
      <a href="/zh-Hant/controller/workspaces" className="inline-flex items-center px-5 py-2.5 rounded-lg bg-[#4b8ae2] hover:bg-[#3f7dd4] text-white text-sm font-medium no-underline transition-colors">
        開始使用
      </a>

      <a href="https://control.bricks.tools" className="inline-flex items-center px-5 py-2.5 rounded-lg border border-gray-300 dark:border-white/15 text-gray-700 dark:text-gray-300 text-sm font-medium no-underline hover:bg-gray-50 dark:hover:bg-white/5 transition-colors">
        開啟 BRICKS Controller
      </a>
    </div>
  </div>

  <div className="mb-16">
    <h2 className="text-xs font-semibold uppercase tracking-widest text-gray-400 dark:text-gray-500 mb-6">功能特色</h2>

    <div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4">
      <FeatureCard icon="👥" title="工作區管理" description="建立工作區、管理成員與角色、產生 API token 與通行碼。" href="/zh-Hant/controller/workspaces" />

      <FeatureCard icon="📱" title="裝置管理" description="綁定裝置、監控連線狀態、擷取螢幕截圖、派送動作、建立群組。" href="/zh-Hant/controller/devices" />

      <FeatureCard icon="📦" title="應用程式管理" description="建立應用程式、管理版本、設定檢視區、綁定裝置、分享發行版本。" href="/zh-Hant/controller/applications" />

      <FeatureCard icon="🧩" title="模組管理" description="建立可重複使用的模組，並在工作區的應用程式之間共用。" href="/zh-Hant/controller/modules" />

      <FeatureCard icon="🖼️" title="媒體管理" description="上傳、整理並提供媒體檔案，支援標籤、AI 分析與影像處理。" href="/zh-Hant/controller/media" />

      <FeatureCard icon="🗄️" title="Data Bank" description="儲存並管理應用程式可於執行時讀寫的結構化資料。" href="/zh-Hant/controller/data-bank" />
    </div>
  </div>

  <div className="mb-16">
    <h2 className="text-xs font-semibold uppercase tracking-widest text-gray-400 dark:text-gray-500 mb-6">快速開始</h2>

    <div className="rounded-2xl border border-gray-200 dark:border-white/10 bg-white dark:bg-white/5 p-8">
      <StepItem number="1" title="建立工作區" description="登入後設定工作區，以管理裝置、應用程式與團隊成員。" href="/zh-Hant/controller/workspaces" linkText="工作區管理" />

      <StepItem number="2" title="綁定裝置" description="在裝置上安裝 BRICKS Foundation，輸入通行碼以綁定至工作區。" href="/zh-Hant/controller/devices" linkText="裝置管理" />

      <StepItem number="3" title="建立應用程式" description="建立新應用程式，或從現有應用程式產生 bricks-ctor。" href="/zh-Hant/controller/applications" linkText="應用程式管理" />

      <StepItem number="4" title="部署至裝置" description="將應用程式指派給裝置或裝置群組，即會自動開始執行。" href="/zh-Hant/controller/applications" linkText="應用程式管理" />
    </div>
  </div>
</div>
