> ## 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

> Web interface for managing devices, applications, modules, and workspaces

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">
      Manage everything <span className="text-[#4b8ae2]">from the web.</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> is the web management interface for the <a href="https://bricks.tools" className="text-[#4b8ae2] hover:text-[#3f7dd4] no-underline font-medium">BRICKS</a> platform. Manage your devices, applications, modules, media, and workspaces — all from your browser.
    </p>

    <div className="flex flex-wrap gap-3">
      <a href="/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">
        Get started
      </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">
        Open 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">Features</h2>

    <div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4">
      <FeatureCard icon="👥" title="Workspace management" description="Create workspaces, manage members and roles, generate API tokens and passcodes." href="/controller/workspaces" />

      <FeatureCard icon="📱" title="Device management" description="Bind devices, monitor online status, take screenshots, dispatch actions, and organize groups." href="/controller/devices" />

      <FeatureCard icon="📦" title="Application management" description="Create applications, manage versions, configure viewports, bind devices, and share releases." href="/controller/applications" />

      <FeatureCard icon="🧩" title="Module management" description="Create reusable modules and share them across applications in your workspace." href="/controller/modules" />

      <FeatureCard icon="🖼️" title="Media management" description="Upload, organize, and serve media files with tagging, AI analysis, and image processing." href="/controller/media" />

      <FeatureCard icon="🗄️" title="Data Bank" description="Store and manage structured data that your applications can read and write at runtime." href="/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">Quick start</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="Create a workspace" description="Sign in and set up a workspace to organize your devices, apps, and team members." href="/controller/workspaces" linkText="Workspace management" />

      <StepItem number="2" title="Bind a device" description="Install BRICKS Foundation on a device, then enter its passcode to bind it to your workspace." href="/controller/devices" linkText="Device management" />

      <StepItem number="3" title="Create an application" description="Create a new application or generate a bricks-ctor project from an existing one." href="/controller/applications" linkText="Application management" />

      <StepItem number="4" title="Deploy to devices" description="Assign the application to your devices or device groups and it starts running automatically." href="/controller/applications" linkText="Application management" />
    </div>
  </div>
</div>
