diff --git a/aeye/app/page.tsx b/aeye/app/page.tsx index 2042ea1..4f6f5b3 100644 --- a/aeye/app/page.tsx +++ b/aeye/app/page.tsx @@ -1,8 +1,83 @@ "use client"; - +import { Typography, SvgIcon, Button } from "@mui/material"; +import { styled } from "@mui/system"; import { useEffect } from "react"; -import Image from "next/image"; -import { Paper, Stack, Typography } from "@mui/material"; + +const RootContainer = styled("div")({ + display: "flex", + flexDirection: "column", + alignItems: "center", + justifyContent: "center", + minHeight: "100vh", +}); + +const ButtonContainer = styled("div")({ + display: "flex", + gap: "16px", +}); + +const CustomTypography = styled(Typography)({ + fontWeight: "bold", + fontStyle: "italic", + color: "#fff", + textAlign: "center", + textShadow: "2px 2px 4px rgba(0, 0, 0, 0.5)", // Adding shadow for more notability + fontSize: "8rem", +}); + +function GoogleIcon() { + return ( + + + + + + + + + ); +} + +function KakaoIcon() { + return ( + + + + + + + + ); +} function GoogleLoginButton() { const handleLoginWithGoogle = async () => { @@ -12,13 +87,16 @@ function GoogleLoginButton() { }; return ( - kakao-login-button + startIcon={} + color="primary" + size="small" + > + Sign in with Google + ); } @@ -30,74 +108,34 @@ function KakaoLoginButton() { }; return ( - kakao-login-button - ); -} - -function LoginCard() { - return ( -
} + color="primary" + size="small" > - - - AEYE - - - - -
+ Sign in with Kakao + ); } export default function Landing() { useEffect(() => { - document.body.style.margin = "0"; - document.body.style.padding = "0"; - document.body.style.overflow = "hidden"; - document.body.style.height = "100vh"; - document.body.style.background = "linear-gradient(135deg, #65d586 0%, #e0e0e0 100%)"; - document.body.style.backgroundSize = "200% 200%"; - document.body.style.animation = "waving 20s ease infinite"; - - const keyframes = `@keyframes waving { - 0% { background-position: 0% 50%; opacity: 0.8; } - 50% { background-position: 100% 50%; opacity: 1; } - 100% { background-position: 0% 50%; opacity: 0.8; } - }`; - - const styleSheet = document.styleSheets[0]; - styleSheet.insertRule(keyframes, styleSheet.cssRules.length); - - return () => { - // Clean up the style changes when the component unmounts - document.body.style.removeProperty("margin"); - document.body.style.removeProperty("padding"); - document.body.style.removeProperty("overflow"); - document.body.style.removeProperty("height"); - document.body.style.removeProperty("background"); - document.body.style.removeProperty("background-size"); - document.body.style.removeProperty("animation"); - styleSheet.deleteRule(styleSheet.cssRules.length - 1); - }; }, []); - return ( - - - + + AEYE + + the smart survaillence system + + + + + + ); } diff --git a/aeye/public/signin-assets/kakao_login_medium_narrow.png b/aeye/public/signin-assets/kakao_login_medium_narrow.png deleted file mode 100644 index 09bb358..0000000 Binary files a/aeye/public/signin-assets/kakao_login_medium_narrow.png and /dev/null differ diff --git a/aeye/public/signin-assets/web_light_rd_ctn@1x.png b/aeye/public/signin-assets/web_light_rd_ctn@1x.png deleted file mode 100644 index c10845a..0000000 Binary files a/aeye/public/signin-assets/web_light_rd_ctn@1x.png and /dev/null differ