diff --git a/public/discordLogo.svg b/public/discordLogo.svg new file mode 100644 index 0000000..dd4df89 --- /dev/null +++ b/public/discordLogo.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/public/telegramLogo.svg b/public/telegramLogo.svg new file mode 100644 index 0000000..1613705 --- /dev/null +++ b/public/telegramLogo.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/pages/auth/signin.module.css b/src/pages/auth/signin.module.css index 3de6be9..e42850e 100644 --- a/src/pages/auth/signin.module.css +++ b/src/pages/auth/signin.module.css @@ -30,7 +30,7 @@ justify-content: center; gap: 12px; padding: 12px 24px; - border-radius: 14px; + border-radius: 1000px; font-size: 16px; font-weight: 600; color: white; @@ -46,10 +46,3 @@ transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } - -.telegramContainer { - height: 48px; - width: 100%; - display: flex; - justify-content: center; -} \ No newline at end of file diff --git a/src/pages/auth/signin.tsx b/src/pages/auth/signin.tsx index c184d72..625dece 100644 --- a/src/pages/auth/signin.tsx +++ b/src/pages/auth/signin.tsx @@ -2,7 +2,8 @@ import { signIn } from "next-auth/react"; import Image from "next/image"; import styles from "./signin.module.css"; import { useEffect } from "react"; -import discordLogo from "../../../public/discord.svg"; +import discordLogo from "../../../public/discordLogo.svg"; +import telegramLogo from "../../../public/telegramLogo.svg" export default function SignIn() { const handleDiscordSignIn = () => { @@ -48,14 +49,24 @@ export default function SignIn() {
+ id="telegram-login-container" + className={styles.discordButton} + style={{ + backgroundColor: '#54a9eb', + color: 'white', + display: 'flex', + alignItems: 'center', + justifyContent: 'center', + padding: '14px 48px', + borderRadius: '1000px', + }} + > +
);