updates
This commit is contained in:
@@ -14,6 +14,7 @@ import { CompanySettingsProvider } from './contexts/CompanySettingsContext';
|
||||
import { AuthModalProvider } from './contexts/AuthModalContext';
|
||||
import OfflineIndicator from './components/common/OfflineIndicator';
|
||||
import CookieConsentBanner from './components/common/CookieConsentBanner';
|
||||
import CookiePreferencesModal from './components/common/CookiePreferencesModal';
|
||||
import AnalyticsLoader from './components/common/AnalyticsLoader';
|
||||
import Loading from './components/common/Loading';
|
||||
import ScrollToTop from './components/common/ScrollToTop';
|
||||
@@ -53,6 +54,12 @@ const InvoicePage = lazy(() => import('./pages/customer/InvoicePage'));
|
||||
const ProfilePage = lazy(() => import('./pages/customer/ProfilePage'));
|
||||
const AboutPage = lazy(() => import('./pages/AboutPage'));
|
||||
const ContactPage = lazy(() => import('./pages/ContactPage'));
|
||||
const PrivacyPolicyPage = lazy(() => import('./pages/PrivacyPolicyPage'));
|
||||
const TermsPage = lazy(() => import('./pages/TermsPage'));
|
||||
const RefundsPolicyPage = lazy(() => import('./pages/RefundsPolicyPage'));
|
||||
const CancellationPolicyPage = lazy(() => import('./pages/CancellationPolicyPage'));
|
||||
const AccessibilityPage = lazy(() => import('./pages/AccessibilityPage'));
|
||||
const FAQPage = lazy(() => import('./pages/FAQPage'));
|
||||
|
||||
const AdminDashboardPage = lazy(() => import('./pages/admin/DashboardPage'));
|
||||
const InvoiceManagementPage = lazy(() => import('./pages/admin/InvoiceManagementPage'));
|
||||
@@ -188,6 +195,30 @@ function App() {
|
||||
path="contact"
|
||||
element={<ContactPage />}
|
||||
/>
|
||||
<Route
|
||||
path="privacy"
|
||||
element={<PrivacyPolicyPage />}
|
||||
/>
|
||||
<Route
|
||||
path="terms"
|
||||
element={<TermsPage />}
|
||||
/>
|
||||
<Route
|
||||
path="refunds"
|
||||
element={<RefundsPolicyPage />}
|
||||
/>
|
||||
<Route
|
||||
path="cancellation"
|
||||
element={<CancellationPolicyPage />}
|
||||
/>
|
||||
<Route
|
||||
path="accessibility"
|
||||
element={<AccessibilityPage />}
|
||||
/>
|
||||
<Route
|
||||
path="faq"
|
||||
element={<FAQPage />}
|
||||
/>
|
||||
|
||||
{}
|
||||
<Route
|
||||
@@ -381,6 +412,7 @@ function App() {
|
||||
/>
|
||||
<OfflineIndicator />
|
||||
<CookieConsentBanner />
|
||||
<CookiePreferencesModal />
|
||||
<AnalyticsLoader />
|
||||
<AuthModalManager />
|
||||
</Suspense>
|
||||
|
||||
Reference in New Issue
Block a user