Merge commit '46171b4f24f2ddc3b9212b9ad6769925bcaceb03' into feature/site-features-and-mockup
# Conflicts: # .env.example # solution/backend/common/enums.py # solution/backend/requirements.txt # solution/backend/services/site_payload.py # solution/backend/services/snapshot.py # solution/backend/services/weather_notes.json # solution/shared/src/types/site-payload.ts # solution/site/src/layouts/editorial/Shell.tsx # solution/site/src/lib/use-live-weather.ts # solution/site/src/pages/HomePage.tsx # solution/site/src/sections/SiteFooter.tsx # solution/site/src/sections/WeatherSection.tsx # solution/site/src/sections/index.ts
This commit is contained in:
commit
b78486b845
74 files changed
+3266
-193
No files matched your search
@@ -2,6 +2,7 @@ import {PlaceCategory} from '@o2o/shared';
|
||||
import {
|
||||
AboutSection,
|
||||
BlogSection,
|
||||
SocialPostsSection,
|
||||
BookingSection,
|
||||
EssentialInfoSection,
|
||||
ExhibitionSection,
|
||||
@@ -85,7 +86,7 @@ export function HomePage() {
|
||||
<HeroSection />
|
||||
|
||||
{payload.theme.sections
|
||||
.filter((section) => section.enabled && section.id !== 'hero')
|
||||
.filter((section) => section.enabled && section.id !== 'hero' && section.id !== 'social')
|
||||
.map((section) => {
|
||||
const Component = SECTION_COMPONENTS[section.id];
|
||||
if (!Component) return null;
|
||||
@@ -127,6 +128,9 @@ export function HomePage() {
|
||||
<ReviewSection />
|
||||
|
||||
<PostcardMakerSection />
|
||||
|
||||
{/* 모든 Shell에서 푸터 바로 위. 에디터 순서를 바꿔도 마지막 위치를 유지한다. */}
|
||||
{isSectionEnabled(payload, 'social') && <div data-editor-id="social"><SocialPostsSection /></div>}
|
||||
</main>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user