-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
1,257 additions
and
1,243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
import Loading from '@/components/common/Loading' | ||
import React from 'react' | ||
import Loading from '@/components/common/loading/Loading'; | ||
import React from 'react'; | ||
|
||
const loading = () => { | ||
return ( | ||
<Loading/> | ||
) | ||
} | ||
return <Loading />; | ||
}; | ||
|
||
export default loading | ||
export default loading; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { motion } from 'framer-motion'; | ||
import styled from 'styled-components'; | ||
|
||
export const Container = styled.div` | ||
height: 98vh; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
text-align: center; | ||
`; | ||
|
||
export const ImageWrapper = styled(motion.div)` | ||
position: relative; | ||
width: 4vw; | ||
margin-left: 4.5px; | ||
margin-right: 4.5px; | ||
`; | ||
export const ImagesWrapper = styled.div` | ||
position: absolute; | ||
display: flex; | ||
height: 100%; | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
'use client'; | ||
import React from 'react'; | ||
import styled from 'styled-components'; | ||
import { motion } from 'framer-motion'; | ||
import Image from 'next/image'; | ||
import * as S from './Loading.styled'; | ||
|
||
const Loading = () => { | ||
return ( | ||
<S.Container> | ||
<S.ImagesWrapper> | ||
<S.ImageWrapper animate={{ rotate: 360, transition: { duration: 1, repeat: Infinity, repeatDelay: 3 } }}> | ||
<Image src="/img/modallion.png" layout="fill" objectFit="contain" objectPosition="center" alt="이미지" /> | ||
</S.ImageWrapper> | ||
<S.ImageWrapper | ||
animate={{ rotate: 360, transition: { duration: 1, delay: 1, repeat: Infinity, repeatDelay: 3 } }} | ||
> | ||
<Image src="/img/modallion.png" layout="fill" objectFit="contain" objectPosition="center" alt="이미지" /> | ||
</S.ImageWrapper> | ||
<S.ImageWrapper | ||
animate={{ rotate: 360, transition: { duration: 1, delay: 2, repeat: Infinity, repeatDelay: 3 } }} | ||
> | ||
<Image src="/img/modallion.png" layout="fill" objectFit="contain" objectPosition="center" alt="이미지" /> | ||
</S.ImageWrapper> | ||
</S.ImagesWrapper> | ||
</S.Container> | ||
); | ||
}; | ||
|
||
export default Loading; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
import styled from 'styled-components'; | ||
|
||
export const Margin = styled.div` | ||
width: 100%; | ||
min-height: 64px; | ||
`; | ||
|
||
export const Wrapper = styled.div` | ||
width: 100%; | ||
position: fixed; | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
min-height: 64px; | ||
background-color: white; | ||
top: 0; | ||
z-index: 10; | ||
`; | ||
|
||
export const LeftWrapper = styled.div` | ||
display: flex; | ||
cursor: pointer; | ||
justify-content: center; | ||
align-items: center; | ||
margin-left: 3%; | ||
@media screen and (max-width: 540px) { | ||
margin-left: 3%; | ||
} | ||
`; | ||
|
||
export const RightWrapper = styled.div` | ||
display: flex; | ||
width: 60%; | ||
margin-right: 1%; | ||
justify-content: space-between; | ||
align-items: center; | ||
@media screen and (min-width: 1024px) { | ||
width: 40%; | ||
} | ||
`; | ||
|
||
export const SearchWrapper = styled.div` | ||
display: flex; | ||
position: relative; | ||
width: 50%; | ||
@media screen and (max-width: 540px) { | ||
width: 60%; | ||
margin-top: 0.5rem; | ||
} | ||
`; | ||
|
||
export const ButtonWrapper = styled.div` | ||
display: flex; | ||
width: 40%; | ||
margin-top: 6px; | ||
margin-right: 1.5rem; | ||
justify-content: space-between; | ||
align-items: center; | ||
@media screen and (max-width: 540px) { | ||
width: 35%; | ||
gap: 0.5rem; | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import styled from 'styled-components'; | ||
|
||
export const Wrapper = styled.div` | ||
font-size: 1.5rem; | ||
font-family: Pretendard; | ||
`; | ||
|
||
export const BouncingArrow = styled.div` | ||
padding: 2px; | ||
font-size: 1.8rem; | ||
color: blue; | ||
animation: bounce 2s infinite; | ||
@keyframes bounce { | ||
0%, | ||
20%, | ||
50%, | ||
80%, | ||
100% { | ||
transform: translateY(0); | ||
} | ||
40% { | ||
transform: translateY(10px); | ||
} | ||
60% { | ||
transform: translateY(5px); | ||
} | ||
} | ||
`; |
Oops, something went wrong.