File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import OauthButton from '@/components/signup/OauthButton';
66import { OAUTH } from '@/constants/oauth' ;
77import { SEND_COMPLETE_SUBTEXT } from '@/constants/send/message' ;
88import { sendLetterState } from '@/recoil/letterStore' ;
9+ import { float , letterFloat } from '@/styles/animation' ;
910import { theme } from '@/styles/theme' ;
1011import { OAuthType } from '@/types/login' ;
1112import Image from 'next/image' ;
@@ -171,6 +172,7 @@ const ImageWrapper = styled.div`
171172 display: flex;
172173 align-items: center;
173174 justify-content: center;
175+ animation: ${ letterFloat } 2s ease-in-out infinite;
174176
175177 @media (max-height: 680px) {
176178 width: 400px;
Original file line number Diff line number Diff line change @@ -22,4 +22,16 @@ export const float = keyframes`
2222 100% {
2323 transform: translate(-50%, 0);
2424 }
25+ ` ;
26+
27+ export const letterFloat = keyframes `
28+ 0% {
29+ transform: translate(-50%, -48%);
30+ }
31+ 50% {
32+ transform: translate(-50%, -52%);
33+ }
34+ 100% {
35+ transform: translate(-50%, -48%);
36+ }
2537` ;
You canβt perform that action at this time.
0 commit comments