diff --git a/src/components/Loader/Loader.jsx b/src/components/Loader/Loader.jsx new file mode 100644 index 00000000..3d6aa805 --- /dev/null +++ b/src/components/Loader/Loader.jsx @@ -0,0 +1,14 @@ +export default function Loader() { + return ( +
+
+
+ Loading content ... +
+
+ ); +} diff --git a/src/components/Loader/index.js b/src/components/Loader/index.js new file mode 100644 index 00000000..348c02a9 --- /dev/null +++ b/src/components/Loader/index.js @@ -0,0 +1 @@ +export { default } from './Loader'; diff --git a/src/layouts/RootLayout.jsx b/src/layouts/RootLayout.jsx index f11f8703..441b8a21 100755 --- a/src/layouts/RootLayout.jsx +++ b/src/layouts/RootLayout.jsx @@ -5,30 +5,21 @@ import 'react-toastify/dist/ReactToastify.css'; import SEO from '../components/SEO'; import TopFooter from '../components/Footer'; import MainHeader from '../components/Header'; +import Loader from '../components/Loader'; function RootLayout() { return ( <> -
+
{/* Sets page-specific title/meta */} - - Loading content... - - } - > + }>