@@ -22,43 +22,44 @@ function lazyWithRetry(factory: () => Promise<{ default: ComponentType<unknown>
2222}
2323
2424// Public pages
25- const LandingPage = lazy ( ( ) => import ( "./module/LandingPage/landingPage" ) ) ;
26- const LoginPage = lazy ( ( ) => import ( "./module/auth/LoginPage" ) ) ;
27- const RegisterPage = lazy ( ( ) => import ( "./module/auth/RegisterPage" ) ) ;
28- const VerifyEmailPage = lazy ( ( ) => import ( "./module/auth/VerifyEmailPage" ) ) ;
29- const ForgotPasswordPage = lazy ( ( ) => import ( "./module/auth/ForgotPasswordPage" ) ) ;
30- const JobBrowsePage = lazy ( ( ) => import ( "./module/student/jobs/JobBrowsePage" ) ) ;
31- const JobDetailPage = lazy ( ( ) => import ( "./module/student/jobs/JobDetailPage" ) ) ;
32- const JobLandingPage = lazy ( ( ) => import ( "./module/student/jobs/JobLandingPage" ) ) ;
33- const ScrapedJobsPage = lazy ( ( ) => import ( "./module/scraped-jobs/ScrapedJobsPage" ) ) ;
34- const ScrapedJobDetailPage = lazy ( ( ) => import ( "./module/scraped-jobs/ScrapedJobDetailPage" ) ) ;
35- const CompanyListPage = lazy ( ( ) => import ( "./module/student/companies/CompanyListPage" ) ) ;
36- const CompanyDetailPage = lazy ( ( ) => import ( "./module/student/companies/CompanyDetailPage" ) ) ;
37- const PublicAtsPage = lazy ( ( ) => import ( "./module/student/ats/PublicAtsPage" ) ) ;
38- const GrantsPage = lazy ( ( ) => import ( "./module/student/grants/GrantsPage" ) ) ;
39- const PublicOpenSourcePage = lazy ( ( ) => import ( "./module/student/opensource/PublicOpenSourcePage" ) ) ;
40- const BlogListPage = lazy ( ( ) => import ( "./module/blog/BlogListPage" ) ) ;
41- const BlogPostPage = lazy ( ( ) => import ( "./module/blog/BlogPostPage" ) ) ;
42- const RecruiterLandingPage = lazy ( ( ) => import ( "./module/recruiter/RecruiterLandingPage" ) ) ;
43- const AptitudeCategoriesPage = lazy ( ( ) => import ( "./module/student/aptitude/AptitudeCategoriesPage" ) ) ;
44- const AptitudeTopicPage = lazy ( ( ) => import ( "./module/student/aptitude/AptitudeTopicPage" ) ) ;
45- const AptitudeCompaniesPage = lazy ( ( ) => import ( "./module/student/aptitude/AptitudeCompaniesPage" ) ) ;
46- const DsaTopicsPage = lazy ( ( ) => import ( "./module/student/dsa/DsaTopicsPage" ) ) ;
47- const DsaTopicDetailPage = lazy ( ( ) => import ( "./module/student/dsa/DsaTopicDetailPage" ) ) ;
48- const DsaCompaniesPage = lazy ( ( ) => import ( "./module/student/dsa/DsaCompaniesPage" ) ) ;
49- const DsaPatternsPage = lazy ( ( ) => import ( "./module/student/dsa/DsaPatternsPage" ) ) ;
50- const DsaBookmarksPage = lazy ( ( ) => import ( "./module/student/dsa/DsaBookmarksPage" ) ) ;
51- const YCCompanyDetailPage = lazy ( ( ) => import ( "./module/student/companies/YCCompanyDetailPage" ) ) ;
52- const GovInternshipsPage = lazy ( ( ) => import ( "./module/student/jobs/GovInternshipsPage" ) ) ;
53- const ExternalJobDetailPage = lazy ( ( ) => import ( "./module/student/jobs/ExternalJobDetailPage" ) ) ;
54- const AptitudeTheoryPage = lazy ( ( ) => import ( "./module/student/aptitude/AptitudeTheoryPage" ) ) ;
25+ const LandingPage = lazyWithRetry ( ( ) => import ( "./module/LandingPage/landingPage" ) ) ;
26+ const LoginPage = lazyWithRetry ( ( ) => import ( "./module/auth/LoginPage" ) ) ;
27+ const RegisterPage = lazyWithRetry ( ( ) => import ( "./module/auth/RegisterPage" ) ) ;
28+ const VerifyEmailPage = lazyWithRetry ( ( ) => import ( "./module/auth/VerifyEmailPage" ) ) ;
29+ const ForgotPasswordPage = lazyWithRetry ( ( ) => import ( "./module/auth/ForgotPasswordPage" ) ) ;
30+ const JobBrowsePage = lazyWithRetry ( ( ) => import ( "./module/student/jobs/JobBrowsePage" ) ) ;
31+ const JobDetailPage = lazyWithRetry ( ( ) => import ( "./module/student/jobs/JobDetailPage" ) ) ;
32+ const JobLandingPage = lazyWithRetry ( ( ) => import ( "./module/student/jobs/JobLandingPage" ) ) ;
33+ const ScrapedJobsPage = lazyWithRetry ( ( ) => import ( "./module/scraped-jobs/ScrapedJobsPage" ) ) ;
34+ const ScrapedJobDetailPage = lazyWithRetry ( ( ) => import ( "./module/scraped-jobs/ScrapedJobDetailPage" ) ) ;
35+ const CompanyListPage = lazyWithRetry ( ( ) => import ( "./module/student/companies/CompanyListPage" ) ) ;
36+ const CompanyDetailPage = lazyWithRetry ( ( ) => import ( "./module/student/companies/CompanyDetailPage" ) ) ;
37+ const PublicAtsPage = lazyWithRetry ( ( ) => import ( "./module/student/ats/PublicAtsPage" ) ) ;
38+ const GrantsPage = lazyWithRetry ( ( ) => import ( "./module/student/grants/GrantsPage" ) ) ;
39+ const PublicOpenSourcePage = lazyWithRetry ( ( ) => import ( "./module/student/opensource/PublicOpenSourcePage" ) ) ;
40+ const BlogListPage = lazyWithRetry ( ( ) => import ( "./module/blog/BlogListPage" ) ) ;
41+ const BlogPostPage = lazyWithRetry ( ( ) => import ( "./module/blog/BlogPostPage" ) ) ;
42+ const RecruiterLandingPage = lazyWithRetry ( ( ) => import ( "./module/recruiter/RecruiterLandingPage" ) ) ;
43+ const AptitudeCategoriesPage = lazyWithRetry ( ( ) => import ( "./module/student/aptitude/AptitudeCategoriesPage" ) ) ;
44+ const AptitudeTopicPage = lazyWithRetry ( ( ) => import ( "./module/student/aptitude/AptitudeTopicPage" ) ) ;
45+ const AptitudeCompaniesPage = lazyWithRetry ( ( ) => import ( "./module/student/aptitude/AptitudeCompaniesPage" ) ) ;
46+ const DsaTopicsPage = lazyWithRetry ( ( ) => import ( "./module/student/dsa/DsaTopicsPage" ) ) ;
47+ const DsaTopicDetailPage = lazyWithRetry ( ( ) => import ( "./module/student/dsa/DsaTopicDetailPage" ) ) ;
48+ const DsaCompaniesPage = lazyWithRetry ( ( ) => import ( "./module/student/dsa/DsaCompaniesPage" ) ) ;
49+ const DsaPatternsPage = lazyWithRetry ( ( ) => import ( "./module/student/dsa/DsaPatternsPage" ) ) ;
50+ const DsaBookmarksPage = lazyWithRetry ( ( ) => import ( "./module/student/dsa/DsaBookmarksPage" ) ) ;
51+ const DsaProblemDetailPage = lazyWithRetry ( ( ) => import ( "./module/student/dsa/DsaProblemDetailPage" ) ) ;
52+ const YCCompanyDetailPage = lazyWithRetry ( ( ) => import ( "./module/student/companies/YCCompanyDetailPage" ) ) ;
53+ const GovInternshipsPage = lazyWithRetry ( ( ) => import ( "./module/student/jobs/GovInternshipsPage" ) ) ;
54+ const ExternalJobDetailPage = lazyWithRetry ( ( ) => import ( "./module/student/jobs/ExternalJobDetailPage" ) ) ;
55+ const AptitudeTheoryPage = lazyWithRetry ( ( ) => import ( "./module/student/aptitude/AptitudeTheoryPage" ) ) ;
5556
5657// Legal pages
57- const TermsPage = lazy ( ( ) => import ( "./module/legal/TermsPage" ) ) ;
58- const PrivacyPage = lazy ( ( ) => import ( "./module/legal/PrivacyPage" ) ) ;
59- const ShippingPage = lazy ( ( ) => import ( "./module/legal/ShippingPage" ) ) ;
60- const ContactPage = lazy ( ( ) => import ( "./module/legal/ContactPage" ) ) ;
61- const RefundPage = lazy ( ( ) => import ( "./module/legal/RefundPage" ) ) ;
58+ const TermsPage = lazyWithRetry ( ( ) => import ( "./module/legal/TermsPage" ) ) ;
59+ const PrivacyPage = lazyWithRetry ( ( ) => import ( "./module/legal/PrivacyPage" ) ) ;
60+ const ShippingPage = lazyWithRetry ( ( ) => import ( "./module/legal/ShippingPage" ) ) ;
61+ const ContactPage = lazyWithRetry ( ( ) => import ( "./module/legal/ContactPage" ) ) ;
62+ const RefundPage = lazyWithRetry ( ( ) => import ( "./module/legal/RefundPage" ) ) ;
6263
6364// Student pages
6465const ApplyPage = lazyWithRetry ( ( ) => import ( "./module/student/applications/ApplyPage" ) ) ;
@@ -299,6 +300,8 @@ function App() {
299300 < Route path = "dsa/companies" element = { < DsaCompaniesPage /> } />
300301 < Route path = "dsa/patterns" element = { < DsaPatternsPage /> } />
301302 < Route path = "dsa/bookmarks" element = { < ProtectedRoute role = "STUDENT" > < DsaBookmarksPage /> </ ProtectedRoute > } />
303+ < Route path = "dsa/problem/:slug" element = { < DsaProblemDetailPage /> } />
304+ < Route path = "dsa/companies/:company" element = { < DsaCompaniesPage /> } />
302305 < Route path = "dsa/:slug" element = { < DsaTopicDetailPage /> } />
303306 < Route path = "aptitude" element = { < AptitudeCategoriesPage /> } />
304307 < Route path = "aptitude/companies" element = { < AptitudeCompaniesPage /> } />
0 commit comments