diff --git a/src/components/PageSpinner/PageSpinner.tsx b/src/components/PageSpinner/PageSpinner.tsx
new file mode 100644
index 0000000..0f0daff
--- /dev/null
+++ b/src/components/PageSpinner/PageSpinner.tsx
@@ -0,0 +1,16 @@
+import React, { FC } from 'react';
+import { Flex, Spinner } from '@chakra-ui/react';
+
+export const PageSpinner: FC = () => {
+ return (
+
+
+
+ );
+};
diff --git a/src/components/PageSpinner/index.ts b/src/components/PageSpinner/index.ts
new file mode 100644
index 0000000..31d2b5c
--- /dev/null
+++ b/src/components/PageSpinner/index.ts
@@ -0,0 +1 @@
+export { PageSpinner } from './PageSpinner';
\ No newline at end of file
diff --git a/src/components/index.ts b/src/components/index.ts
new file mode 100644
index 0000000..3a75cc1
--- /dev/null
+++ b/src/components/index.ts
@@ -0,0 +1 @@
+export * from './PageSpinner';
\ No newline at end of file
diff --git a/src/routes.tsx b/src/routes.tsx
index 6728eb6..ab2dbfa 100644
--- a/src/routes.tsx
+++ b/src/routes.tsx
@@ -1,16 +1,24 @@
-import React from 'react';
+import React, { lazy, Suspense } from 'react';
import { Routes, Route } from 'react-router-dom';
+import { PageSpinner } from './components';
import Arm from './pages/arm';
-import Order from './pages/order-view';
-import Landing from './pages/landing';
+
+const Landing = lazy(() => import('./pages/landing'));
+const OrderForm = lazy(() => import('./pages/order-form'));
+const OrderView = lazy(() => import('./pages/order-view'));
const Routers = () => {
return (
-
- }>
- }>
- }>
-
+ }>
+
+
+ } />
+ } />
+ } />
+
+ }>
+
+
);
};