"use client";

import { Sparkles } from "lucide-react";

import { ToolTile } from "@/components/dashboard/tool-tile";
import { Badge } from "@/components/ui/badge";
import { initialTools } from "@/lib/tools-registry";

export function ToolsGrid() {
  return (
    <section className="space-y-4">
      <Badge className="border-sky-300/30 bg-sky-400/15 text-sky-100">
        <Sparkles className="animate-twinkle size-3.5" />
        Creative Suite
      </Badge>
      <div className="grid gap-4 sm:grid-cols-2 xl:grid-cols-4">
        {initialTools.map((tool) => (
          <ToolTile key={tool.slug} tool={tool} />
        ))}
      </div>
    </section>
  );
}
