From 8bfa9f90de003ce6f1debb84593b47ef57ab7bdf Mon Sep 17 00:00:00 2001 From: Isaac Mann Date: Tue, 10 Jun 2025 10:35:15 -0400 Subject: [PATCH] docs(core): enterprise webinar section (#31527) Create WebinarSection component for enterprise docs --- nx-dev/ui-enterprise/src/lib/hero.tsx | 21 ++------------ .../solutions-engineering-hero.tsx | 26 ++--------------- .../leadership/solutions-leadership-hero.tsx | 28 +++---------------- .../management/solutions-management-hero.tsx | 26 ++--------------- .../platform/solutions-platform-hero.tsx | 26 ++--------------- .../ui-enterprise/src/lib/webinar-section.tsx | 25 +++++++++++++++++ 6 files changed, 40 insertions(+), 112 deletions(-) create mode 100644 nx-dev/ui-enterprise/src/lib/webinar-section.tsx diff --git a/nx-dev/ui-enterprise/src/lib/hero.tsx b/nx-dev/ui-enterprise/src/lib/hero.tsx index e4a1b27d67..92c3da2e21 100644 --- a/nx-dev/ui-enterprise/src/lib/hero.tsx +++ b/nx-dev/ui-enterprise/src/lib/hero.tsx @@ -1,7 +1,7 @@ import { ButtonLink, SectionHeading } from '@nx/nx-dev/ui-common'; import { type ReactElement } from 'react'; import { sendCustomEvent } from '@nx/nx-dev/feature-analytics'; -import { ChevronRightIcon } from '@heroicons/react/24/outline'; +import { WebinarSection } from './webinar-section'; export function Hero(): ReactElement { return ( @@ -25,24 +25,7 @@ export function Hero(): ReactElement {
- {/*

*/} - {/* */} - {/* */} - {/* Live event*/} - {/* */} - {/* */} - {/* Webinar + live Q&A on May 28th*/} - {/* */} - {/* */} - {/*

*/} +
- {/*

*/} - {/* */} - {/* */} - {/* Live event*/} - {/* */} - {/* */} - {/* Webinar + live Q&A on May 28th*/} - {/* */} - {/* */} - {/*

*/} +
- {/*

*/} - {/* */} - {/* */} - {/* Live event*/} - {/* */} - {/* */} - {/* Webinar + live Q&A on May 28th*/} - {/* */} - {/* */} - {/*

*/} +
- {/*

*/} - {/* */} - {/* */} - {/* Live event*/} - {/* */} - {/* */} - {/* Webinar + live Q&A on May 28th*/} - {/* */} - {/* */} - {/*

*/} +
- {/*

*/} - {/* */} - {/* */} - {/* Live event*/} - {/* */} - {/* */} - {/* Webinar + live Q&A on May 28th*/} - {/* */} - {/* */} - {/*

*/} + { + return ( +

+ + + Live event + + + Webinar + live Q&A on June 18th + + +

+ ); +};