Skip to content

Commit

Permalink
feat: noctaIcon 로티 애니메이션 파일 추가 및 컴포넌트 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
hyonun321 committed Nov 27, 2024
1 parent a9dd5f5 commit 21e691b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/src/assets/lotties/noctaIcon.json

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions client/src/components/lotties/NoctaIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { Player } from "@lottiefiles/react-lottie-player";
import noctaIcon from "@assets/lotties/noctaIcon.json";

export const NoctaIcon = ({ size = 200 }) => {
return (
<div style={{ width: size, height: size }}>
<Player autoplay loop src={noctaIcon} style={{ width: "100%", height: "100%" }} />
</div>
);
};

0 comments on commit 21e691b

Please sign in to comment.