diff --git a/app/sign-in/page.tsx b/app/sign-in/page.tsx
index bb63e65..00891e7 100644
--- a/app/sign-in/page.tsx
+++ b/app/sign-in/page.tsx
@@ -1,13 +1,9 @@
-import { FooterText } from '@/components/footer'
import { LoginButton } from '@/components/login-button'
export default function SignInPage() {
return (
-
-
-
-
-
+
+
)
}
diff --git a/components/header.tsx b/components/header.tsx
index a8ff321..469fc60 100644
--- a/components/header.tsx
+++ b/components/header.tsx
@@ -41,7 +41,12 @@ export async function Header() {
{session?.user ? (
) : (
-
+
)}
diff --git a/components/login-button.tsx b/components/login-button.tsx
index 3fb7be0..54207f7 100644
--- a/components/login-button.tsx
+++ b/components/login-button.tsx
@@ -5,18 +5,24 @@ import { signIn } from 'next-auth/react'
import { cn } from '@/lib/utils'
import { Button, type ButtonProps } from '@/components/ui/button'
-import { IconSpinner } from '@/components/ui/icons'
+import { IconGitHub, IconSpinner } from '@/components/ui/icons'
interface LoginButtonProps extends ButtonProps {
+ showGithubIcon?: boolean
text?: string
}
-export function LoginButton({ className, ...props }: LoginButtonProps) {
+export function LoginButton({
+ text = 'Login with GitHub',
+ showGithubIcon = true,
+ className,
+ ...props
+}: LoginButtonProps) {
const [isLoading, setIsLoading] = React.useState(false)
return (
)
}