Make sign in with apple button look acceptable

This commit is contained in:
2024-08-07 21:48:11 -05:00
parent d1ae239228
commit e987e0c40b
10 changed files with 103 additions and 5 deletions

View File

@ -0,0 +1,21 @@
import { signIn } from "~/auth"
export default function Sign_In_Apple() {
return (
<form
action={async () => {
"use server"
await signIn("apple")
}}
>
<div className="flex flex-row bg-primary py-3 px-10 rounded-xl text-lg font-semibold
mt-10 text-background my-auto">
<div
className="apple-logo my-auto"
style={{ backgroundImage: 'var(--apple-logo)' }}
/>
<button type="submit">Sign in with Apple</button>
</div>
</form>
)
}