Skip to content

Commit

Permalink
๐ŸŽจ Style: ๋กœ๋”ฉ ์ปดํฌ๋„ŒํŠธ ์ถ”๊ฐ€
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-paik committed Nov 27, 2023
1 parent 374030f commit af3f1ea
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 17 deletions.
52 changes: 52 additions & 0 deletions src/assets/images/spinner.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 13 additions & 17 deletions src/components/common/Loading/Loading.jsx
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
import React from 'react';
import {
GlobalStyle,
Container,
Body,
Circle,
Before,
Text,
} from './LoadingStyle';
import styled from 'styled-components';
import { ReactComponent as Spinner} from '../../../assets/images/spinner.svg';

const Loading = () => {
return (
<Container>
<GlobalStyle />
<Body>
<Circle>
<Before />
</Circle>
<Text>Loading...</Text>
</Body>
</Container>
<>
<Container>
<Spinner />
</Container>
</>
);
};

export default Loading;

const Container = styled.div`
display: flex;
align-items: center;
justify-content: center;
`

0 comments on commit af3f1ea

Please sign in to comment.