diff --git a/front/components/Button.tsx b/front/components/Button.tsx index 0d3a73edfb1f..14175a40beda 100644 --- a/front/components/Button.tsx +++ b/front/components/Button.tsx @@ -1,4 +1,12 @@ -import { Button } from "@dust-tt/sparkle"; +import { + Button, + DropdownMenu, + GithubLogo, + GoogleLogo, + Icon, + LoginIcon, + RocketIcon, +} from "@dust-tt/sparkle"; import { classNames } from "@app/lib/utils"; @@ -41,3 +49,94 @@ export function SignInButton({ > ); } + +export function SignInDropDownButton({ + buttonVariant = "tertiary", + buttonLabel = "Sign in", + buttonIcon = LoginIcon, + buttonClassname = "", + shouldDisplayGithub, + onClickGithub, + onClickGoogle, +}: { + buttonVariant?: "primary" | "secondary" | "tertiary"; + buttonLabel?: string; + buttonIcon?: typeof Icon; + buttonClassname?: string; + shouldDisplayGithub: boolean; + onClickGithub: () => void; + onClickGoogle: () => void; +}) { + return ( + + +