diff --git a/web/components/buttons/sign-up-button.tsx b/web/components/buttons/sign-up-button.tsx index 67eee9e3..b8ed7fcc 100644 --- a/web/components/buttons/sign-up-button.tsx +++ b/web/components/buttons/sign-up-button.tsx @@ -1,12 +1,15 @@ import clsx from 'clsx' -import { firebaseLogin } from 'web/lib/firebase/users' -import { Button } from './button' -import { Col } from '../layout/col' -import { Row } from 'web/components/layout/row' +import {firebaseLogin} from 'web/lib/firebase/users' +import {Button} from './button' +import {Col} from '../layout/col' +import {Row} from 'web/components/layout/row' + +import {ButtonHTMLAttributes} from "react" +import {FcGoogle} from "react-icons/fc" export const SidebarSignUpButton = (props: { className?: string }) => { - const { className } = props + const {className} = props return ( @@ -43,3 +46,29 @@ export const GoogleSignInButton = (props: { onClick: () => any }) => { ) } + +type GoogleButtonProps = { + onClick: () => void + isLoading?: boolean +} & ButtonHTMLAttributes + +export function GoogleButton({onClick, isLoading = false, ...props}: GoogleButtonProps) { + return ( + + ) +} + diff --git a/web/pages/_document.tsx b/web/pages/_document.tsx index 8d90e9d4..55afc42b 100644 --- a/web/pages/_document.tsx +++ b/web/pages/_document.tsx @@ -9,7 +9,7 @@ export default function Document() {