import { DragAndDropForm } from "./DragAndDropForm";
import { Title } from "./Primitives/Title";
import { SampleUrls } from "./SampleUrls";
import { UrlForm } from "./UrlForm";

export function NewDocument() {
  return (
    <div className="bg-indigo-700 text-white rounded-sm shadow-md w-96 max-w-max p-3 transition">
      <div className="flex flex-col">
        <UrlForm className="mb-2" />
        <DragAndDropForm />

        <div className="mt-4">
          <Title className="mb-2 text-slate-200">没有 JSON？试试这些示例：</Title>
          <SampleUrls />
        </div>
      </div>
    </div>
  );
}
