|
1 | | -import React, { Suspense, lazy } from 'react'; |
| 1 | +import React from 'react'; |
2 | 2 | import StarBackground from '@/components/StarBackground'; |
3 | | -import LoadingScreen from '@/components/LoadingScreen'; |
4 | | - |
5 | | -const Hero = lazy(() => import('@/components/Hero')); |
6 | | -const StatsSection = lazy(() => import('@/components/StatsSection')); |
7 | | -const ExploreSpacesSection = lazy(() => import('@/components/ExploreSpacesSection')); |
8 | | -const EcosystemSection = lazy(() => import('@/components/EcosystemSection')); |
9 | | -const FeaturesSection = lazy(() => import('@/components/FeaturesSection')); |
10 | | -const FinancialFreedomSection = lazy(() => import('@/components/FinancialFreedomSection')); |
11 | | -const ParticipationSection = lazy(() => import('@/components/ParticipationSection')); |
12 | | -const NewsletterSubscription = lazy(() => import('@/components/NewsletterSubscription')); |
| 3 | +import Hero from '@/components/Hero'; |
| 4 | +import StatsSection from '@/components/StatsSection'; |
| 5 | +import ExploreSpacesSection from '@/components/ExploreSpacesSection'; |
| 6 | +import EcosystemSection from '@/components/EcosystemSection'; |
| 7 | +import FeaturesSection from '@/components/FeaturesSection'; |
| 8 | +import FinancialFreedomSection from '@/components/FinancialFreedomSection'; |
| 9 | +import ParticipationSection from '@/components/ParticipationSection'; |
| 10 | +import NewsletterSubscription from '@/components/NewsletterSubscription'; |
13 | 11 |
|
14 | 12 | const Index: React.FC = () => { |
15 | 13 | return ( |
16 | 14 | <div className="relative z-10 min-h-screen bg-alien-space-dark/10"> |
17 | | - <Suspense fallback={<LoadingScreen />}> |
18 | | - {/* Hero con estrellas */} |
19 | | - <div className="relative pt-10"> |
20 | | - <div className="absolute inset-0 -z-10"> |
21 | | - <StarBackground /> |
22 | | - </div> |
23 | | - <Hero /> |
| 15 | + {/* Hero con estrellas */} |
| 16 | + <div className="relative pt-10"> |
| 17 | + <div className="absolute inset-0 -z-10"> |
| 18 | + <StarBackground /> |
24 | 19 | </div> |
| 20 | + <Hero /> |
| 21 | + </div> |
25 | 22 |
|
26 | | - <FinancialFreedomSection /> |
27 | | - <ExploreSpacesSection /> |
28 | | - <StatsSection /> |
29 | | - <EcosystemSection /> |
30 | | - <FeaturesSection /> |
31 | | - |
32 | | - <div className="section-center"> |
33 | | - <ParticipationSection /> |
34 | | - </div> |
| 23 | + <FinancialFreedomSection /> |
| 24 | + <ExploreSpacesSection /> |
| 25 | + <StatsSection /> |
| 26 | + <EcosystemSection /> |
| 27 | + <FeaturesSection /> |
| 28 | + |
| 29 | + <div className="section-center"> |
| 30 | + <ParticipationSection /> |
| 31 | + </div> |
35 | 32 |
|
36 | | - <div className="py-16 px-4"> |
37 | | - <div className="max-w-lg mx-auto"> |
38 | | - <NewsletterSubscription /> |
39 | | - </div> |
| 33 | + <div className="py-16 px-4"> |
| 34 | + <div className="max-w-lg mx-auto"> |
| 35 | + <NewsletterSubscription /> |
40 | 36 | </div> |
41 | | - </Suspense> |
| 37 | + </div> |
42 | 38 | </div> |
43 | 39 | ); |
44 | 40 | }; |
45 | 41 |
|
46 | 42 | export default Index; |
| 43 | + |
0 commit comments