diff --git a/src/app/(auth-pages)/sign-in/page.tsx b/src/app/(auth-pages)/sign-in/page.tsx
index 6acc617..a6c4fc0 100644
--- a/src/app/(auth-pages)/sign-in/page.tsx
+++ b/src/app/(auth-pages)/sign-in/page.tsx
@@ -155,7 +155,12 @@ const Login = () => {
-
+
+
+
+ or
+
+
diff --git a/src/app/(auth-pages)/sign-up/page.tsx b/src/app/(auth-pages)/sign-up/page.tsx
index 6464cfc..e802bcc 100644
--- a/src/app/(auth-pages)/sign-up/page.tsx
+++ b/src/app/(auth-pages)/sign-up/page.tsx
@@ -21,8 +21,13 @@ import {
FormLabel,
FormMessage,
Input,
+ Separator,
} from '@/components/ui';
import { useEffect, useState } from 'react';
+import {
+ SignInWithApple,
+ SignInWithMicrosoft
+} from '@/components/default/auth';
const formSchema = z
.object({
@@ -108,7 +113,7 @@ const SignUp = () => {
+
+
+ or
+
+
+
+
);
diff --git a/src/app/page.tsx b/src/app/page.tsx
index ff98978..5caff0e 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -13,7 +13,11 @@ import {
CardTitle,
Separator,
} from '@/components/ui';
-import { SignInSignUp, SignInWithMicrosoft } from '@/components/default/auth';
+import {
+ SignInSignUp,
+ SignInWithApple,
+ SignInWithMicrosoft
+} from '@/components/default/auth';
const HomePage = async () => {
const response = await getUser();
@@ -41,7 +45,10 @@ const HomePage = async () => {
or
-
+
+
+
+
diff --git a/src/components/default/auth/SignInWithApple.tsx b/src/components/default/auth/SignInWithApple.tsx
index 752beeb..d63937a 100644
--- a/src/components/default/auth/SignInWithApple.tsx
+++ b/src/components/default/auth/SignInWithApple.tsx
@@ -5,8 +5,21 @@ import { useAuth } from '@/components/context/auth';
import { useRouter } from 'next/navigation';
import { useState } from 'react';
import Image from 'next/image';
+import { Button, type buttonVariants } from '@/components/ui';
+import { type ComponentProps } from 'react';
+import { type VariantProps } from 'class-variance-authority';
-export const SignInWithApple = () => {
+type SignInWithAppleProps = {
+ className?: ComponentProps<'div'>['className'];
+ buttonSize?: VariantProps['size'];
+ buttonVariant?: VariantProps['variant'];
+};
+
+export const SignInWithApple = ({
+ className = 'my-4',
+ buttonSize = 'default',
+ buttonVariant = 'default',
+}: SignInWithAppleProps) => {
const router = useRouter();
const { isLoading, refreshUserData } = useAuth();
const [statusMessage, setStatusMessage] = useState('');
@@ -38,8 +51,10 @@ export const SignInWithApple = () => {
};
return (
-