From 4b6c2159761ce0d4c7febe44250f9a8d729957f6 Mon Sep 17 00:00:00 2001 From: winkerVSbecks Date: Thu, 7 Nov 2024 10:33:47 -0500 Subject: [PATCH] update enterprise link and remove SB sessions from community page --- .../frontpage/components/community/events.tsx | 95 +------------------ packages/ui/src/header/nav.ts | 4 +- 2 files changed, 7 insertions(+), 92 deletions(-) diff --git a/apps/frontpage/components/community/events.tsx b/apps/frontpage/components/community/events.tsx index afd0690b..c2bf01cc 100644 --- a/apps/frontpage/components/community/events.tsx +++ b/apps/frontpage/components/community/events.tsx @@ -97,8 +97,8 @@ export const Events: FC = () => { Storybook's thriving community can help answer your questions. Developers of all skill levels welcome.

-
-
+
+

Subscribe to YouTube channel

@@ -114,7 +114,7 @@ export const Events: FC = () => {
-
+

Twitter

@@ -131,8 +131,8 @@ export const Events: FC = () => {
-
-
+
+

Follow #announcements chat

@@ -150,91 +150,6 @@ export const Events: FC = () => {
-
-

Storybook Sessions

-
-

- Join us for these 1-hour sessions, hosted by the{' '} - - Chromatic - {' '} - team. We'll explore the component-driven approach to building, - testing, and documenting UIs using Storybook. You'll learn how - to: -

-
    -
  • - Utilize addons to debug CSS, verify event handlers, and mock API - requests. -
  • -
  • - Publish your Storybook to gather feedback and embed stories into - other tools. -
  • -
  • - Strategies for organizing your stories and auto-generating docs. -
  • -
  • - Use stories to test components for visual, functional, and - accessibility purposes. -
  • -
  • - Facilitate better designer-developer collaboration using the - designs addon and the Storybook Connect plugin. -
  • -
-
-

Upcoming

-
    - {localizedSessions.upcoming.map((session) => ( -
  • -
    - -
    {session.title}
    -
    -
    - {session.dateShort} -
    -
    - - Register - -
  • - ))} -
- {localizedSessions.upcoming.length === 0 && ( -
- No upcoming sessions scheduled at the moment. To stay informed about - new sessions, please sign up for our newsletter. -
- )} -

Past

-
    - {localizedSessions.past.map((session) => ( -
  • -
    - -
    {session.title}
    -
    -
    - {session.dateShort} -
    -
    -
  • - ))} -
-
); }; diff --git a/packages/ui/src/header/nav.ts b/packages/ui/src/header/nav.ts index 3f3e79e6..76e19cbf 100644 --- a/packages/ui/src/header/nav.ts +++ b/packages/ui/src/header/nav.ts @@ -17,12 +17,12 @@ export const nav = [ }, { title: 'Visual Test', - href: 'https://www.chromatic.com/storybook?utm_source=storybook_website&utm_medium=link&utm_campaign=storybook', + href: 'https://www.chromatic.com/storybook?utm_source=storybook_website&utm_medium=global_nav&utm_campaign=storybook', external: true, }, { title: 'Enterprise', - href: 'https://www.chromatic.com/sales?utm_source=storybook_website&utm_medium=link&utm_campaign=storybook', + href: 'https://www.chromatic.com/enterprise?utm_source=storybook_website&utm_medium=global_nav&utm_campaign=storybook', external: true, }, ];