diff --git a/packages/front/public/discussion.png b/packages/front/public/discussion.png new file mode 100644 index 0000000..f109c80 Binary files /dev/null and b/packages/front/public/discussion.png differ diff --git a/packages/front/public/ellipse.svg b/packages/front/public/ellipse.svg new file mode 100644 index 0000000..e85d3f9 --- /dev/null +++ b/packages/front/public/ellipse.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/packages/front/public/icons/g-logo.png b/packages/front/public/icons/g-logo.png new file mode 100644 index 0000000..3f52a66 Binary files /dev/null and b/packages/front/public/icons/g-logo.png differ diff --git a/packages/front/public/logo_black.png b/packages/front/public/logo_black.png new file mode 100644 index 0000000..c9d0a3a Binary files /dev/null and b/packages/front/public/logo_black.png differ diff --git a/packages/front/src/pages/login.tsx b/packages/front/src/pages/login.tsx index 01e33eb..f74bcf9 100644 --- a/packages/front/src/pages/login.tsx +++ b/packages/front/src/pages/login.tsx @@ -1,8 +1,14 @@ import React, { useEffect, FC, useReducer } from "react" import { useRouter } from "next/router" +// import Image from "next/image" import authReducer from "@reducers/authReducer" import { useAuth } from "@hooks/useAuth" import { authUseCase } from "@useCase" +import { useWindowSize } from "@hooks/useWindowSize" +import dynamic from "next/dynamic" +const Image = dynamic(() => import("next/image"), { + ssr: false, +}) const Login: FC = () => { const router = useRouter() @@ -11,6 +17,7 @@ const Login: FC = () => { authReducer.initialState, ) const user = useAuth() + const { width, height } = useWindowSize() useEffect(() => { user && router.push("/dashboard") @@ -26,14 +33,69 @@ const Login: FC = () => { } return ( -
- -
+ <> +
+ +
+
+ +
+
+ +
+
+
+

+ あなたの音声を付箋に。 +

+
+ +
+
+
+ +
+ +
+ ) }