import { ButtonLink } from '@nx/nx-dev/ui-common';

export function GettingStarted(): JSX.Element {
  return (
    <article
      id="getting-started"
      className="border-b border-t border-slate-200 bg-gradient-to-r from-cyan-500 to-blue-500 shadow-inner dark:border-slate-700"
    >
      <div className="mx-auto max-w-7xl px-4 py-12 sm:px-6 lg:flex lg:items-center lg:justify-between lg:px-8 lg:py-24">
        <div>
          <h2 className="text-3xl font-bold tracking-tight text-slate-900 md:text-4xl">
            <span className="block">Ready to dive in?</span>
            <span className="block text-white">
              Start your monorepo now with Nx.
            </span>
          </h2>
        </div>
        <div className="mt-8 flex lg:mt-0 lg:flex-shrink-0">
          <div className="inline-flex rounded-md">
            <ButtonLink
              href="/getting-started/intro"
              title="Start using Nx by creating a workspace"
              variant="secondary"
              size="large"
            >
              Get started now!
            </ButtonLink>
          </div>
        </div>
      </div>
    </article>
  );
}
