diff --git a/src/assets/images/spinner.svg b/src/assets/images/spinner.svg new file mode 100644 index 0000000..a661f85 --- /dev/null +++ b/src/assets/images/spinner.svg @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/common/Loading/Loading.jsx b/src/components/common/Loading/Loading.jsx index 3e6997d..ef76dce 100644 --- a/src/components/common/Loading/Loading.jsx +++ b/src/components/common/Loading/Loading.jsx @@ -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 ( - - - - - - - Loading... - - + <> + + + + ); }; export default Loading; + +const Container = styled.div` + display: flex; + align-items: center; + justify-content: center; +`