-
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.
Browse files
Browse the repository at this point in the history
[Feat/#20] 이스터에그 메시지 구현 완료 + 사진 해상도 조정
- Loading branch information
Showing
45 changed files
with
308 additions
and
124 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,43 @@ | ||
/* eslint-disable jsx-a11y/click-events-have-key-events */ | ||
import React, { useState } from 'react'; | ||
|
||
import message from '../../public/img/Message/message.png'; | ||
import tree from '../../public/img/Message/tree.png'; | ||
|
||
function JoonMessage1() { | ||
const [isClicked, setIsClicked] = useState(false); | ||
|
||
const handleImageClick = () => { | ||
setIsClicked(true); | ||
|
||
setTimeout(() => { | ||
setIsClicked(false); | ||
}, 2000); | ||
}; | ||
|
||
return ( | ||
<div className="fixed bottom-0 left-[15%] flex -translate-x-1/2 transform flex-col items-center"> | ||
<div | ||
role="button" | ||
tabIndex={0} | ||
onClick={handleImageClick} | ||
className="w-[24vw] cursor-pointer"> | ||
<img src={tree} alt="Tree" className="w-full" /> | ||
{isClicked && ( | ||
<div className="height-[60vh] absolute bottom-[20vh] left-[15%] z-30 aspect-square w-[30vw]"> | ||
<img src={message} alt="Message" className="h-full w-full" /> | ||
<p className="font-nanumPen absolute left-[50%] top-[40%] w-[36%] -translate-x-1/2 -translate-y-1/2 transform text-lg leading-6 text-black md:text-lg"> | ||
23년은 각자에게 특별한 시간이었고, 이제 우리는 꿈을 향해 더 멋진 | ||
24년을 함께 만들어 나갑시다! | ||
</p> | ||
<p className="font-nanumPen absolute left-1/2 top-[52%] -translate-x-1/2 transform text-lg text-black md:text-lg"> | ||
- Joon - | ||
</p> | ||
</div> | ||
)} | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default JoonMessage1; |
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,46 @@ | ||
/* eslint-disable jsx-a11y/click-events-have-key-events */ | ||
import React, { useState } from 'react'; | ||
|
||
import message2 from '../../public/img/Message/message2.png'; | ||
import snowman3 from '../../public/img/Message/snowman3.png'; | ||
|
||
function JoonMessage2() { | ||
const [isClicked, setIsClicked] = useState(false); | ||
|
||
const handleImageClick = () => { | ||
setIsClicked(true); | ||
|
||
setTimeout(() => { | ||
setIsClicked(false); | ||
}, 2000); | ||
}; | ||
|
||
return ( | ||
<div className="fixed bottom-0 left-[70%] flex -translate-x-1/2 transform flex-col items-center"> | ||
<div | ||
role="button" | ||
tabIndex={0} | ||
onClick={handleImageClick} | ||
className="w-[13vw] cursor-pointer"> | ||
<img src={snowman3} alt="Snowman" /> | ||
{isClicked && ( | ||
<div className="absolute right-0 top-[-85%] z-20 aspect-square h-auto w-[24vw] md:top-[-85%] md:w-[24vw] "> | ||
<img src={message2} alt="Message" className="h-full w-full" /> | ||
<div className="absolute left-[11.6rem] top-[44%] flex w-32 -translate-x-1/2 -translate-y-1/2 transform flex-col items-center md:w-32"> | ||
<div className="flex w-full flex-col items-center"> | ||
<p className="font-nanumPen text-lg text-black md:text-lg"> | ||
다음 해에도 함께 성장하는 팀준을 만들고 싶습니다! 화이팅! | ||
</p> | ||
<p className="font-nanumPen text-center text-base text-black md:text-base"> | ||
- 정현 - | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
)} | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default JoonMessage2; |
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,49 @@ | ||
/* eslint-disable jsx-a11y/click-events-have-key-events */ | ||
import React, { useState } from 'react'; | ||
|
||
import message2 from '../../public/img/Message/message2.png'; | ||
import snowman4 from '../../public/img/Message/snowman4.png'; | ||
|
||
function JoonMessage3() { | ||
const [isClicked, setIsClicked] = useState(false); | ||
|
||
const handleImageClick = () => { | ||
setIsClicked(true); | ||
|
||
setTimeout(() => { | ||
setIsClicked(false); | ||
}, 2000); | ||
}; | ||
return ( | ||
<div className="fixed bottom-10 left-[90%] flex -translate-x-1/2 transform flex-col items-center"> | ||
<div | ||
role="button" | ||
tabIndex={0} | ||
onClick={handleImageClick} | ||
className="w-[20vw] cursor-pointer"> | ||
<img src={snowman4} alt="Snowman" className="h-auto w-[45%]" /> | ||
{isClicked && ( | ||
<div className="absolute right-[7.5rem] top-[-7rem] z-20 flex aspect-video h-auto w-[22vw] md:w-[22vw]"> | ||
<img | ||
src={message2} | ||
alt="Message" | ||
className="h-full w-full object-cover" | ||
/> | ||
<div className="absolute right-[6rem] top-[2rem] flex w-[9vw] -translate-x-[2%] -translate-y-[0.2%] transform flex-col items-center md:w-[9vw]"> | ||
<div className="flex w-full flex-col items-center justify-center"> | ||
<p className="font-nanumPen text-lg text-black"> | ||
24년에도 재밌는 추억 많이 쌓으면서 코딩해요!!😊 | ||
</p> | ||
<p className="font-nanumPen mt-2 text-lg text-black"> | ||
- 수현 - | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
)} | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default JoonMessage3; |
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
Oops, something went wrong.