Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hotfix] 숨은캐스퍼찾기 랜딩페이지 UI 오류 수정 및 불필요한 코드 삭제 #67

Merged
merged 2 commits into from
Aug 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 1 addition & 24 deletions Caecae/src/features/FindingGameLanding/LadingPageTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,33 +52,10 @@ const LadingPageTitle = ({ onClick }: LadingPageTitleProps) => {
console.error('URL 복사에 실패했습니다.', err);
setIsAnimating(false);
});

navigator.clipboard
.writeText(url)
.then(() => {
setShowMessage(true);

setTimeout(() => {
setAnimate(true);

setTimeout(() => {
setAnimate(false);

setTimeout(() => {
setShowMessage(false);
setIsAnimating(false);
}, 500);
}, 3000);
}, 10);
})
.catch((err: Error) => {
console.error("URL 복사에 실패했습니다.", err);
setIsAnimating(false);
});
};
return (
<>
<div className="flex w-screen h-screen justify-center items-center relative overflow-hidden min-h-[950px]">
<div className="flex w-full h-screen justify-center items-center relative overflow-hidden min-h-[950px]">
<div className="absolute z-20 flex flex-col items-center h-screen justify-center min-h-[950px]">
<p className="text-[#CCCCCC] text-[20px]">
<span className="font-bold text-[white]">CASPER Electric</span> 신차
Expand Down
Loading