Rebuild the About page from the current marketing frames, and leave the unapproved sentences off the page.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
adilalloandCursor committed 2026-11-03 16:59:36 -07:00
1 parent 3dee3a587b
commit 2101676429
56 files changed
+1515 -238

No files matched your search

@@ -0,0 +1,37 @@
"use client";
/**
* Figma: "Section / Narrative Block" (24237:1241)
*/
import { memo, useCallback, useState } from "react";
import { useMessages } from "../../../contexts/MessagesContext";
import AskOrganizerInquiryModal from "../../modals/AskOrganizerInquiry";
import NarrativeBlockView from "./NarrativeBlock.view";
const NarrativeBlockContainer = memo(() => {
const copy = useMessages().pages.about.narrativeBlock;
const [inquiryOpen, setInquiryOpen] = useState(false);
const openInquiry = useCallback(() => setInquiryOpen(true), []);
const closeInquiry = useCallback(() => setInquiryOpen(false), []);
return (
<>
<NarrativeBlockView
heading={copy.heading}
paragraphs={copy.paragraphs}
addHeading={copy.addHeading}
addLine={copy.addLine}
shareExperiences={copy.shareExperiences}
helpBuild={copy.helpBuild}
helpBuildHref={copy.helpBuildHref}
onShareExperiences={openInquiry}
/>
<AskOrganizerInquiryModal isOpen={inquiryOpen} onClose={closeInquiry} />
</>
);
});
NarrativeBlockContainer.displayName = "NarrativeBlock";
export default NarrativeBlockContainer;