|
| 1 | +import dynamic from 'next/dynamic'; |
1 | 2 | import { Header } from '@/shared/components/layout'; |
2 | 3 | import { HeaderActions } from '@/composite/landing/headerAction'; |
3 | 4 | import { IntroSection } from '@/composite/landing/intro'; |
4 | | -import { QuestioningSection } from '@/composite/landing/questioning'; |
5 | | -import { SuggestionSection } from '@/composite/landing/suggestion'; |
6 | | -import { StoryVideoSection } from '@/composite/landing/storyVideo'; |
7 | | -import { AddGoalFeatureSection } from '@/composite/landing/addGoal'; |
8 | | -import { ManageTodoFeatureSection } from '@/composite/landing/manageTodo'; |
9 | | -import { GoalAdviceFeatureSection } from '@/composite/landing/goalAdvice'; |
10 | | -import { CollectPlanetFeatureSection } from '@/composite/landing/collectPlanet'; |
11 | | -import { FundingDiscountSection } from '@/composite/landing/fundingDiscount'; |
12 | | -import { LaunchSection } from '@/composite/landing/launch'; |
13 | | -import DonationSection from '@/composite/landing/DonationSection'; |
| 5 | + |
| 6 | +const QuestioningSection = dynamic(() => import('@/composite/landing/questioning').then(mod => mod.QuestioningSection)); |
| 7 | +const SuggestionSection = dynamic(() => import('@/composite/landing/suggestion').then(mod => mod.SuggestionSection)); |
| 8 | +const StoryVideoSection = dynamic(() => import('@/composite/landing/storyVideo').then(mod => mod.StoryVideoSection)); |
| 9 | +const AddGoalFeatureSection = dynamic(() => |
| 10 | + import('@/composite/landing/addGoal').then(mod => mod.AddGoalFeatureSection) |
| 11 | +); |
| 12 | +const ManageTodoFeatureSection = dynamic(() => |
| 13 | + import('@/composite/landing/manageTodo').then(mod => mod.ManageTodoFeatureSection) |
| 14 | +); |
| 15 | +const GoalAdviceFeatureSection = dynamic(() => |
| 16 | + import('@/composite/landing/goalAdvice').then(mod => mod.GoalAdviceFeatureSection) |
| 17 | +); |
| 18 | +const CollectPlanetFeatureSection = dynamic(() => |
| 19 | + import('@/composite/landing/collectPlanet').then(mod => mod.CollectPlanetFeatureSection) |
| 20 | +); |
| 21 | +const FundingDiscountSection = dynamic(() => |
| 22 | + import('@/composite/landing/fundingDiscount').then(mod => mod.FundingDiscountSection) |
| 23 | +); |
| 24 | +const LaunchSection = dynamic(() => import('@/composite/landing/launch').then(mod => mod.LaunchSection)); |
| 25 | +const DonationSection = dynamic(() => import('@/composite/landing/DonationSection').then(mod => mod.default)); |
14 | 26 |
|
15 | 27 | export default function LandingPage() { |
16 | 28 | return ( |
|
0 commit comments