Skip to content

Conversation

@grapefruit13
Copy link
Contributor

유형

  • 기능 구현
  • UI 구현
  • 리팩토링
  • 버그 해결
  • 문서 업데이트
  • 기타( )

작업 내용

  • lottie json 파일 사용해 400 500 에러 페이지 구현

스크린샷

image image

리뷰 요구사항

@grapefruit13 grapefruit13 self-assigned this Apr 29, 2025
@grapefruit13 grapefruit13 requested a review from plla2 April 29, 2025 13:50
Copy link
Member

@plla2 plla2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

간단한 경로 수정만 되면 될 것 같습니다!

import Link from 'next/link';
import { useRouter } from 'next/navigation';
import Lottie from 'lottie-react';
import CarrotAnimation from '../../public/animations/carrot.json';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

경로가 public이라 /animations 로 바로 들어가도 될 것 같습니다!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

처음에 절대경로로 해봤는데 import 가 안 되더라고요... 그래서 불가피하게 상대경로로 넣어두었습니다.

절대 경로 유지하려면, src 안에 assets 폴더 따로 만들어서 넣으면 될거같은데 새로 커밋 올려둘게여!

@grapefruit13 grapefruit13 merged commit 7efd370 into dev May 29, 2025
@grapefruit13 grapefruit13 deleted the THKV-157 branch May 29, 2025 13:43
plla2 added a commit to plla2/NNplanner-FE that referenced this pull request May 29, 2025
Feat[THKV-157] : 400, 500 에러 페이지 구현
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants