diff --git a/components/signIn.tsx b/components/signIn.tsx
index fa8903d9..14b04c8d 100644
--- a/components/signIn.tsx
+++ b/components/signIn.tsx
@@ -1,6 +1,6 @@
import { signIn } from 'next-auth/react';
import { GoogleOutlined, GithubOutlined, MailOutlined } from '@ant-design/icons';
-import { Button, Space, Card, Image, Typography, Form, Input } from 'antd';
+import { Button, Space, Image, Form, Input } from 'antd';
import styles from '../styles/Signin.module.css';
const { Item } = Form;
@@ -11,70 +11,72 @@ const DEV_DEPLOY =
export default function SignIn() {
return (
-
- {/* signIn()}>Sign in */}
-
-
-
-
- VandyHacks X
-
- }
- className={styles.ButtonStyle}
- onClick={() => signIn('google')}>
- Sign in with Google
-
- }
- className={styles.ButtonStyle}
- onClick={() => signIn('github')}>
- Sign in with GitHub
-
- {DEV_DEPLOY && ( // email sign in only in dev
-
);
}
diff --git a/pages/api/auth/[...nextauth].ts b/pages/api/auth/[...nextauth].ts
index b339dd75..7f1196a0 100644
--- a/pages/api/auth/[...nextauth].ts
+++ b/pages/api/auth/[...nextauth].ts
@@ -95,7 +95,7 @@ export default async function auth(req: any, res: any) {
theme: {
colorScheme: 'dark',
- logo: '/vhlogo-white.svg',
+ logo: '/vh-logo.png',
},
});
}
diff --git a/styles/Signin.module.css b/styles/Signin.module.css
index f476d8e0..0aed5442 100644
--- a/styles/Signin.module.css
+++ b/styles/Signin.module.css
@@ -16,6 +16,9 @@
justify-content: center;
align-items: center;
background-color: #00000099;
+ flex-direction: column;
+ max-height: 90%;
+ gap: 1rem;
}
.Logo {
@@ -28,6 +31,7 @@
font-size: 2.5rem;
font-weight: 550;
margin-bottom: 1rem;
+ color: white;
}
.ButtonStyle {
@@ -41,6 +45,18 @@
border-color: gray;
}
+.SignInOptions {
+ overflow-y: auto;
+ padding: 1rem;
+}
+
+.Divider {
+ height: 1px;
+ width: 50px;
+ background: white;
+ margin: 25px 0;
+}
+
/* add media query for mobile screen */
@media (max-width: 768px) {
.Logo {