diff --git a/source/src/App.tsx b/source/src/App.tsx index 9bb662e..534ceee 100644 --- a/source/src/App.tsx +++ b/source/src/App.tsx @@ -14,7 +14,7 @@ import "katex/dist/katex.min.css" // latex mathematical expression import theming from "./theming" -import Spinner from "./components/Spinner" +import Loading from "./components/Loading" import Navbar from "./components/Navbar" import Footer from "./components/Footer" @@ -245,10 +245,9 @@ const IENotSupported = styled.p` ` const StyledContentContainer = styled.div` - display: inline-block; flex: 1 1 auto; margin-bottom: 3rem; - margin-top: 3rem; + margin-top: 5rem; ` interface AppProps {} @@ -299,71 +298,70 @@ export default class App extends React.Component { render() { if (isIE) return ( - <> - - Internet Explorer is not supported. - - + + Internet Explorer is not supported. + ) - else - return ( - - - this.setState({ currentTheme: setThemeTo }), // make setTheme function available in other components - }} - > - - - + return ( + + + this.setState({ currentTheme: setThemeTo }), // make setTheme function available in other components + }} + > + + - + - - + - - - - {this.state.isLoading ? ( - - ) : ( - - - - + + - - - + + + + {this.state.isLoading ? ( + + ) : ( + + + + - - - + + + - - {({ match }) => ( - - )} - - - )} - -