diff --git a/src/App.jsx b/src/App.jsx index a2af1c2..1e534ad 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -2,6 +2,7 @@ import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'; import { Suspense, lazy } from 'react'; import Navbar from './components/Navbar'; import Footer from './components/Footer'; +import { Spinner } from '@nextui-org/react'; // Lazy loading of route components const Home = lazy(() => import('./pages/Home')); @@ -16,7 +17,13 @@ function App() { {/* Suspense fallback during lazy loading */} - Loading...}> + + + + } + > } /> } />