From a9aaf56331151f4cca521cfb9074e9776f7ef126 Mon Sep 17 00:00:00 2001 From: Jake Laderman Date: Wed, 4 Dec 2024 12:07:32 -0500 Subject: [PATCH] add contact-sales to cms (#128) * add contact-sales to cms * update purple gradient * fix careers page copy --- 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/components/custom-page/common.tsx | 2 +- .../page-sections/JobListingsSection.tsx | 15 +- src/generated/graphqlDirectus.ts | 1612 +++++++++++++++-- src/graph/directus/customPages.graphql | 15 +- src/graph/directus/topLevelPages.graphql | 16 + 13 files changed, 1674 insertions(+), 335 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/components/custom-page/common.tsx b/src/components/custom-page/common.tsx index 5a760f66..2f905cc1 100644 --- a/src/components/custom-page/common.tsx +++ b/src/components/custom-page/common.tsx @@ -153,7 +153,7 @@ function ComponentBackground({ case 'purple-gradient-tb': return ( ) case 'teal-glow': diff --git a/src/components/page-sections/JobListingsSection.tsx b/src/components/page-sections/JobListingsSection.tsx index 547c0c64..7bf30005 100644 --- a/src/components/page-sections/JobListingsSection.tsx +++ b/src/components/page-sections/JobListingsSection.tsx @@ -41,11 +41,16 @@ const deptToDisplayName: Record = { } const deptToDescription: Record = { - business_dev: 'Short description about the Biz Dev department', - engineering: 'Short description about the Engineering department', - product: 'Short description about the Product department', - design: 'Short description about the Design department', - marketing: 'Short description about the Marketing department', + business_dev: + 'Drive growth through strategic partnerships and showcase how Plural transforms infrastructure management in the cloud-native ecosystem.', + engineering: + 'Build innovative solutions that help teams seamlessly deploy and scale their Kubernetes infrastructure with Plural.', + product: + 'Shape the future of cloud infrastructure by making complex technologies accessible and delightful to use.', + design: + 'Create intuitive experiences and interfaces that simplify complex infrastructure management processes.', + marketing: + 'Share our vision of revolutionizing cloud infrastructure while building connections with developers and technical leaders.', } const JobCardSC = styled(ShadowedCard)(({ theme }) => ({ 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