1
+ /* eslint-disable function-paren-newline */
2
+ /* eslint-disable implicit-arrow-linebreak */
1
3
import { lazy } from "react" ;
2
4
3
5
const AboutUs = lazy ( ( ) => import ( "./pages/aboutUs/AboutUs" ) ) ;
4
6
const AllBlogsPage = lazy ( ( ) => import ( "./pages/admin/blogs/AllBlogsPage" ) ) ;
5
- const AddChapterPage = lazy ( ( ) => import ( "./pages/admin/chapters/AddChapterPage" ) ) ;
6
- const AllChaptersPage = lazy ( ( ) => import ( "./pages/admin/chapters/AllChaptersPage" ) ) ;
7
+ const AddChapterPage = lazy ( ( ) =>
8
+ import ( "./pages/admin/chapters/AddChapterPage" )
9
+ ) ;
10
+ const AllChaptersPage = lazy ( ( ) =>
11
+ import ( "./pages/admin/chapters/AllChaptersPage" )
12
+ ) ;
7
13
const AddEventPage = lazy ( ( ) => import ( "./pages/admin/events/AddEventPage" ) ) ;
8
14
const AllEventsPage = lazy ( ( ) => import ( "./pages/admin/events/AllEventsPage" ) ) ;
9
- const UpdateEventPage = lazy ( ( ) => import ( "./pages/admin/events/UpdateEventPage" ) ) ;
15
+ const UpdateEventPage = lazy ( ( ) =>
16
+ import ( "./pages/admin/events/UpdateEventPage" )
17
+ ) ;
10
18
const ForgotPassword = lazy ( ( ) => import ( "./pages/auth/ForgotPassword" ) ) ;
11
19
const LogIn = lazy ( ( ) => import ( "./pages/auth/LogIn" ) ) ;
12
20
const ResetPassword = lazy ( ( ) => import ( "./pages/auth/ResetPassword" ) ) ;
13
21
const SignUp = lazy ( ( ) => import ( "./pages/auth/SignUp" ) ) ;
14
22
const Blog = lazy ( ( ) => import ( "./pages/blog/Blog" ) ) ;
15
23
const Blog2 = lazy ( ( ) => import ( "./pages/blog2/Blog2" ) ) ;
16
24
const Blogs = lazy ( ( ) => import ( "./pages/blogs/Blogs" ) ) ;
17
- const IndividualChapter = lazy ( ( ) => import ( "./pages/chapter/pages/IndividualChapter" ) ) ;
25
+ const IndividualChapter = lazy ( ( ) =>
26
+ import ( "./pages/chapter/pages/IndividualChapter" )
27
+ ) ;
18
28
const CommunityPage = lazy ( ( ) => import ( "./pages/community/CommunityPage" ) ) ;
19
- // const SingleEvent = lazy(() => import("./pages/community/sections/eventsSection/SingleEvents/SingleEvent"));
29
+ const SingleEvent = lazy ( ( ) =>
30
+ import ( "./pages/community/sections/eventsPreview/SingleEvents/SingleEvent" )
31
+ ) ;
20
32
const DonatePage = lazy ( ( ) => import ( "./pages/donate/DonatePage" ) ) ;
21
- const SingleProductDonation = lazy ( ( ) => import ( "./pages/donate/pages/SingleProductDonatePage" ) ) ;
33
+ const SingleProductDonation = lazy ( ( ) =>
34
+ import ( "./pages/donate/pages/SingleProductDonatePage" )
35
+ ) ;
22
36
const Error400 = lazy ( ( ) => import ( "./pages/errorPages/Error400" ) ) ;
23
37
const Error403 = lazy ( ( ) => import ( "./pages/errorPages/Error403" ) ) ;
24
38
const Error404 = lazy ( ( ) => import ( "./pages/errorPages/Error404" ) ) ;
25
39
const Error500 = lazy ( ( ) => import ( "./pages/errorPages/Error500" ) ) ;
26
40
const ErrorBoundary = lazy ( ( ) => import ( "./pages/errorPages/ErrorBoundary" ) ) ;
27
41
const EventsPage = lazy ( ( ) => import ( "./pages/events/pages/EventsPage" ) ) ;
28
- const EventsSection = lazy ( ( ) => import ( "./pages/events/sections/eventsSection/EventsSection" ) ) ;
42
+ const EventsSection = lazy ( ( ) =>
43
+ import ( "./pages/events/sections/eventsSection/EventsSection" )
44
+ ) ;
29
45
const GalleryPage = lazy ( ( ) => import ( "./pages/gallery/GalleryPage" ) ) ;
30
46
const LandingPage = lazy ( ( ) => import ( "./pages/landingPage/LandingPage" ) ) ;
31
47
const Layout = lazy ( ( ) => import ( "./pages/Layout" ) ) ;
@@ -34,7 +50,9 @@ const Resources = lazy(() => import("./pages/resources/Resources"));
34
50
const Homepage = lazy ( ( ) => import ( "./pages/shop/Homepage" ) ) ;
35
51
const Checkout = lazy ( ( ) => import ( "./pages/shop/OrderSummaryPage" ) ) ;
36
52
const ProductDisplay = lazy ( ( ) => import ( "./pages/shop/ProductDisplayPage" ) ) ;
37
- const CategoriesProducts = lazy ( ( ) => import ( "./pages/shop/sections/CategoriesProducts" ) ) ;
53
+ const CategoriesProducts = lazy ( ( ) =>
54
+ import ( "./pages/shop/sections/CategoriesProducts" )
55
+ ) ;
38
56
const SingleItemPage = lazy ( ( ) => import ( "./pages/shop/SingleItemPage" ) ) ;
39
57
40
58
export {
@@ -55,7 +73,7 @@ export {
55
73
AboutUs ,
56
74
CommunityPage ,
57
75
DonatePage ,
58
- // SingleEvent,
76
+ SingleEvent ,
59
77
Blogs ,
60
78
Blog ,
61
79
Blog2 ,
0 commit comments