From 28b1605aa6be8bd084069bd52c790569f212a09d Mon Sep 17 00:00:00 2001 From: Jake Laderman Date: Tue, 3 Dec 2024 18:48:20 -0500 Subject: [PATCH 1/3] add contact-sales to cms --- pages/_document.tsx | 18 +- pages/careers/hire/[job].tsx | 72 +- pages/careers/index.tsx | 8 - pages/contact-sales.tsx | 49 +- pages/contact.tsx | 149 +- src/components/HubspotForm.tsx | 6 +- src/components/custom-page/Hero.tsx | 15 +- src/components/custom-page/Multimedia.tsx | 32 +- src/generated/graphqlDirectus.ts | 1612 +++++++++++++++++++-- src/graph/directus/customPages.graphql | 15 +- src/graph/directus/topLevelPages.graphql | 16 + 11 files changed, 1663 insertions(+), 329 deletions(-) diff --git a/pages/_document.tsx b/pages/_document.tsx index a44a46f7..b982c82b 100644 --- a/pages/_document.tsx +++ b/pages/_document.tsx @@ -1,5 +1,6 @@ // pages/_document.js import Document, { Head, Html, Main, NextScript } from 'next/document' +import Script from 'next/script' import { ServerStyleSheet } from 'styled-components' @@ -33,6 +34,15 @@ class MyDocument extends Document { return ( + + - - - - ${form} - - - `} + ) : null} diff --git a/src/generated/graphqlDirectus.ts b/src/generated/graphqlDirectus.ts index e21cee6e..e8f486c6 100644 --- a/src/generated/graphqlDirectus.ts +++ b/src/generated/graphqlDirectus.ts @@ -66,8 +66,20 @@ export type Mutation = { create_customer_quote_items: Array; create_events_item?: Maybe; create_events_items: Array; + create_footer_footer_links_1_item?: Maybe; + create_footer_footer_links_1_items: Array; + create_footer_footer_links_2_item?: Maybe; + create_footer_footer_links_2_items: Array; + create_footer_footer_links_3_item?: Maybe; + create_footer_footer_links_3_items: Array; + create_footer_footer_links_item?: Maybe; + create_footer_footer_links_items: Array; + create_footer_links_item?: Maybe; + create_footer_links_items: Array; create_hero_item?: Maybe; create_hero_items: Array; + create_hubspot_forms_item?: Maybe; + create_hubspot_forms_items: Array; create_job_listings_item?: Maybe; create_job_listings_items: Array; create_large_image_item?: Maybe; @@ -170,8 +182,20 @@ export type Mutation = { delete_customer_quote_items?: Maybe; delete_events_item?: Maybe; delete_events_items?: Maybe; + delete_footer_footer_links_1_item?: Maybe; + delete_footer_footer_links_1_items?: Maybe; + delete_footer_footer_links_2_item?: Maybe; + delete_footer_footer_links_2_items?: Maybe; + delete_footer_footer_links_3_item?: Maybe; + delete_footer_footer_links_3_items?: Maybe; + delete_footer_footer_links_item?: Maybe; + delete_footer_footer_links_items?: Maybe; + delete_footer_links_item?: Maybe; + delete_footer_links_items?: Maybe; delete_hero_item?: Maybe; delete_hero_items?: Maybe; + delete_hubspot_forms_item?: Maybe; + delete_hubspot_forms_items?: Maybe; delete_job_listings_item?: Maybe; delete_job_listings_items?: Maybe; delete_large_image_item?: Maybe; @@ -273,6 +297,7 @@ export type Mutation = { update_company_logos_batch: Array; update_company_logos_item?: Maybe; update_company_logos_items: Array; + update_contact_sales?: Maybe; update_cta_batch: Array; update_cta_item?: Maybe; update_cta_items: Array; @@ -294,9 +319,28 @@ export type Mutation = { update_events_batch: Array; update_events_item?: Maybe; update_events_items: Array; + update_footer?: Maybe