

// buzzwareTech imports
import { getButtonStyling } from "@buzzwaretech/propel/button";
import { cn } from "@buzzwaretech/utils";
// components
import { ProIcon } from "@/components/common/pro-icon";

export function IssueEmbedUpgradeCard(props: any) {
  return (
    <div
      className={cn(
        "flex w-full items-center justify-between gap-5 rounded-md border-[0.5px] border-subtle bg-layer-1 px-5 py-2 shadow-raised-100 max-md:flex-wrap",
        {
          "border-2": props.selected,
        },
      )}
    >
      <div className="flex items-center gap-4">
        <ProIcon className="size-4 flex-shrink-0" />
        <p className="!text-14 text-secondary">
          Embed and access issues in pages seamlessly, upgrade to BuzzwareTech Pro now.
        </p>
      </div>
      <a
        href="https://buzzwareTech.so/pro"
        target="_blank"
        rel="noopener noreferrer"
        className={cn(getButtonStyling("primary", "base"), "no-underline")}
      >
        Upgrade
      </a>
    </div>
  );
}
