Skip to content

Commit

Permalink
feat: Connection AI Model API
Browse files Browse the repository at this point in the history
  • Loading branch information
DaeHee99 committed Jun 29, 2023
1 parent 04dd895 commit 8dde911
Show file tree
Hide file tree
Showing 2 changed files with 253 additions and 190 deletions.
28 changes: 28 additions & 0 deletions src/components/Layout/Loading.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// 출처 : https://yumyumlog.tistory.com/251
// 출처를 바탕으로 일부 수정했습니다.

import styled, { keyframes } from "styled-components";

const rotation = keyframes`
from{
transform: rotate(0deg);
}
to{
transform: rotate(360deg);
}
`;

const Loading = styled.div`
height: 50px;
width: 50px;
border: 3px solid #654bff;
border-radius: 50%;
border-top: none;
border-right: none;
margin: 16px auto;
animation: ${rotation} 1s linear infinite;
`;

export { Loading };
Loading

0 comments on commit 8dde911

Please sign in to comment.