style(website): fix height; clean up code

This commit is contained in:
Simon
2026-02-27 20:42:24 +08:00
parent c2daf13ead
commit 91ae86f56e
3 changed files with 13 additions and 36 deletions

View File

@@ -1,5 +1,3 @@
import Footer from '../components/Footer'
import Header from '../components/Header'
import FeaturesSection from './home/FeaturesSection'
import HeroSection from './home/HeroSection'
import OneMoreThingSection from './home/OneMoreThingSection'
@@ -7,17 +5,11 @@ import ScenariosSection from './home/ScenariosSection'
export default function HomePage() {
return (
<div className="min-h-screen bg-linear-to-br from-blue-50 to-purple-50 dark:from-gray-900 dark:to-gray-800">
<Header />
<main id="main-content">
<HeroSection />
<FeaturesSection />
<ScenariosSection />
<OneMoreThingSection />
</main>
<Footer />
</div>
<>
<HeroSection />
<FeaturesSection />
<ScenariosSection />
<OneMoreThingSection />
</>
)
}

View File

@@ -1,15 +0,0 @@
import FeaturesSection from './FeaturesSection'
import HeroSection from './HeroSection'
import OneMoreThingSection from './OneMoreThingSection'
import ScenariosSection from './ScenariosSection'
export default function HomeContent() {
return (
<>
<HeroSection />
<FeaturesSection />
<ScenariosSection />
<OneMoreThingSection />
</>
)
}