From 699eb9b1a530e5b18e986138c1ea980a2c959fbd Mon Sep 17 00:00:00 2001 From: Benjamin Cabanes <3447705+bcabanes@users.noreply.github.com> Date: Sat, 13 Apr 2024 11:27:52 -0400 Subject: [PATCH 1/3] feat(nx-dev): add new Contact pages This commit adds a new 'Contact' section to the website. It includes various subpages designed to assist and guide users looking to get in touch. Users can now seek help through a convenient form, connect with the team in multiple ways, or reach out to the sales team directly. --- nx-dev/nx-dev/pages/_app.tsx | 7 + nx-dev/nx-dev/pages/contact/index.tsx | 46 + nx-dev/nx-dev/pages/contact/sales.tsx | 43 + nx-dev/ui-common/src/index.ts | 1 - .../src/lib/documentation-header.tsx | 3 +- nx-dev/ui-common/src/lib/header.tsx | 14 +- .../ui-common/src/lib/nx-users-showcase.tsx | 1037 ----------------- nx-dev/ui-contact/.babelrc | 12 + nx-dev/ui-contact/.eslintrc.json | 18 + nx-dev/ui-contact/README.md | 7 + nx-dev/ui-contact/jest.config.ts | 10 + nx-dev/ui-contact/project.json | 11 + nx-dev/ui-contact/src/index.ts | 3 + nx-dev/ui-contact/src/lib/contact-links.tsx | 178 +++ nx-dev/ui-contact/src/lib/how-can-we-help.tsx | 70 ++ nx-dev/ui-contact/src/lib/hubspot-form.tsx | 122 ++ .../src/lib/talk-to-our-sales-team.tsx | 141 +++ nx-dev/ui-contact/tsconfig.json | 25 + nx-dev/ui-contact/tsconfig.lib.json | 24 + nx-dev/ui-contact/tsconfig.spec.json | 20 + tsconfig.base.json | 1 + 21 files changed, 743 insertions(+), 1050 deletions(-) create mode 100644 nx-dev/nx-dev/pages/contact/index.tsx create mode 100644 nx-dev/nx-dev/pages/contact/sales.tsx delete mode 100644 nx-dev/ui-common/src/lib/nx-users-showcase.tsx create mode 100644 nx-dev/ui-contact/.babelrc create mode 100644 nx-dev/ui-contact/.eslintrc.json create mode 100644 nx-dev/ui-contact/README.md create mode 100644 nx-dev/ui-contact/jest.config.ts create mode 100644 nx-dev/ui-contact/project.json create mode 100644 nx-dev/ui-contact/src/index.ts create mode 100644 nx-dev/ui-contact/src/lib/contact-links.tsx create mode 100644 nx-dev/ui-contact/src/lib/how-can-we-help.tsx create mode 100644 nx-dev/ui-contact/src/lib/hubspot-form.tsx create mode 100644 nx-dev/ui-contact/src/lib/talk-to-our-sales-team.tsx create mode 100644 nx-dev/ui-contact/tsconfig.json create mode 100644 nx-dev/ui-contact/tsconfig.lib.json create mode 100644 nx-dev/ui-contact/tsconfig.spec.json diff --git a/nx-dev/nx-dev/pages/_app.tsx b/nx-dev/nx-dev/pages/_app.tsx index b5fa8f192963b..a8342dbb40a00 100644 --- a/nx-dev/nx-dev/pages/_app.tsx +++ b/nx-dev/nx-dev/pages/_app.tsx @@ -112,6 +112,13 @@ export default function CustomApp({ strategy="afterInteractive" src="https://js.hs-scripts.com/2757427.js" /> + {/* HubSpot FORMS Embed Code */} +