diff --git a/src/pages/ConfirmEmail/index.tsx b/src/pages/ConfirmEmail/index.tsx index ee24e35..ea8e2c1 100644 --- a/src/pages/ConfirmEmail/index.tsx +++ b/src/pages/ConfirmEmail/index.tsx @@ -1,6 +1,8 @@ import React, { useState, useEffect, useMemo, useRef } from 'react'; import { Link, useParams } from 'react-router-dom'; +import { ConfirmEmailPage, ContentsBox, Filter, SlothVideo } from './style'; + import { confirmEmail } from '../../container/users'; interface typingEffectProps { @@ -62,6 +64,19 @@ const TypingEffect = ({ check, callback }: typingEffectProps) => { ); }; +const BackgroundGif = () => ( + + + + +); + const ConfirmEmail = () => { const [btnVisible, setBtnVisible] = useState(false); const [emailVerified, setEmailVerified] = useState(false); @@ -82,19 +97,8 @@ const ConfirmEmail = () => { return ( <> -
-
+ + { @@ -115,40 +119,12 @@ const ConfirmEmail = () => { ) : ( <> )} -
- -
-
+ + + + + + ); }; diff --git a/src/pages/ConfirmEmail/style.ts b/src/pages/ConfirmEmail/style.ts new file mode 100644 index 0000000..8c170f5 --- /dev/null +++ b/src/pages/ConfirmEmail/style.ts @@ -0,0 +1,42 @@ +import styled from 'styled-components'; + +export const ConfirmEmailPage = styled.div` + width: 100vw; + height: 100vh; + + overflow: hidden; +`; + +export const ContentsBox = styled.div` + position: absolute; + + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + + width: 100vw; + height: 100vh; + + z-index: 1000; +`; + +export const Filter = styled.div<{ opacity: number }>` + position: absolute; + top: 0; + left: 0; + + width: 100vw; + height: 100vh; + + background-color: ${(props) => `rgba(0, 0, 0, ${props.opacity})`}; + + z-index: 100; +`; + +export const SlothVideo = styled.video` + position: relative; + top: -18%; + + height: calc(100vh + 36%); +`;