feat: 添加post postHog加上
This commit is contained in:
@@ -105,7 +105,10 @@ const Community = () => {
|
||||
{/* 主内容区域 */}
|
||||
<Container ref={containerRef} maxW="1600px" pt={6} pb={8}>
|
||||
{/* 热点事件区域 */}
|
||||
<HotEventsSection events={hotEvents} />
|
||||
<HotEventsSection
|
||||
events={hotEvents}
|
||||
onEventClick={communityEvents.trackNewsArticleClicked}
|
||||
/>
|
||||
|
||||
{/* 实时要闻·动态追踪 - 横向滚动 */}
|
||||
<DynamicNewsCard
|
||||
@@ -116,6 +119,14 @@ const Community = () => {
|
||||
onSearch={updateFilters}
|
||||
onEventClick={handleEventClick}
|
||||
onViewDetail={handleViewDetail}
|
||||
trackingFunctions={{
|
||||
trackNewsArticleClicked: communityEvents.trackNewsArticleClicked,
|
||||
trackNewsDetailOpened: communityEvents.trackNewsDetailOpened,
|
||||
trackNewsFilterApplied: communityEvents.trackNewsFilterApplied,
|
||||
trackNewsSorted: communityEvents.trackNewsSorted,
|
||||
trackNewsSearched: communityEvents.trackNewsSearched,
|
||||
trackRelatedStockClicked: communityEvents.trackRelatedStockClicked,
|
||||
}}
|
||||
/>
|
||||
</Container>
|
||||
</Box>
|
||||
|
||||
Reference in New Issue
Block a user