重构首页,优化组件结构
This commit is contained in:
17
src/app/(home)/(index)/page.tsx
Normal file
17
src/app/(home)/(index)/page.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import {HeroSection} from './hero-section'
|
||||
import {StatsSection} from './stats-section'
|
||||
import {ProductTypesSection} from './product-types-section'
|
||||
import {AdvantagesSection} from './advantages-section'
|
||||
import {ArticlesSection} from './articles-section'
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<main className="flex flex-col gap-16 lg:gap-32 pb-16 lg:pb-32 bg-white">
|
||||
<HeroSection/>
|
||||
<StatsSection/>
|
||||
<ProductTypesSection/>
|
||||
<AdvantagesSection/>
|
||||
<ArticlesSection/>
|
||||
</main>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user