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 (
+
+
-
+
{/* */}
diff --git a/pages/careers/hire/[job].tsx b/pages/careers/hire/[job].tsx
index e79b464e..23f846f8 100644
--- a/pages/careers/hire/[job].tsx
+++ b/pages/careers/hire/[job].tsx
@@ -1,7 +1,5 @@
import { ColorModeProvider } from '@pluralsh/design-system'
import { type GetStaticPaths, type GetStaticProps } from 'next'
-import Head from 'next/head'
-import Script from 'next/script'
import { FooterVariant } from '@src/components/FooterFull'
import { HeaderPad } from '@src/components/layout/HeaderPad'
@@ -29,45 +27,37 @@ export default function Index({
job: FullJobListingFragment
}) {
return (
- <>
-
-
-
-
-
-
-
-
-
-
-
- {job.job_title}
-
-
- Location: {job.location}
-
-
- }
- markdoc={markdoc}
- />
-
-
-
- >
+
+
+
+
+
+
+
+
+ {job.job_title}
+
+
+ Location: {job.location}
+
+
+ }
+ markdoc={markdoc}
+ />
+
+
+
)
}
diff --git a/pages/careers/index.tsx b/pages/careers/index.tsx
index 5f26e90d..93a1e789 100644
--- a/pages/careers/index.tsx
+++ b/pages/careers/index.tsx
@@ -1,8 +1,6 @@
import { type ComponentProps } from 'react'
import { ColorModeProvider } from '@pluralsh/design-system'
-import Head from 'next/head'
-import Script from 'next/script'
import { useTheme } from 'styled-components'
@@ -89,12 +87,6 @@ export default function Index({ jobs }: { jobs: MinJobListingFragment[] }) {
return (
<>
-
-
-
{
+ const newPath = `/contact`
-export default function Index() {
- return (
- <>
-
-
-
-
-
-
- >
- )
+ return {
+ redirect: {
+ destination: newPath,
+ permanent: true,
+ },
+ }
}
-
-export const getStaticProps = async () =>
- propsWithGlobalSettings({
- metaTitle: 'Contact sales',
- metaDescription:
- 'Plural offers packages to teams of all sizes and flexible and transparent pricing for everyone.',
- footerVariant: FooterVariant.kitchenSink,
- })
diff --git a/pages/contact.tsx b/pages/contact.tsx
index 8d2ef0b1..2d2967c3 100644
--- a/pages/contact.tsx
+++ b/pages/contact.tsx
@@ -1,116 +1,65 @@
-import { Button } from '@pluralsh/design-system'
-import Head from 'next/head'
-import Link from 'next/link'
-import Script from 'next/script'
-
-import { clsx } from 'clsx'
+import { type InferGetStaticPropsType } from 'next'
+import { directusClient } from '@src/apollo-client'
+import { Hero } from '@src/components/custom-page/Hero'
import { FooterVariant } from '@src/components/FooterFull'
-import { Columns, EqualColumn } from '@src/components/layout/Columns'
import { GradientBG } from '@src/components/layout/GradientBG'
import { HeaderPad } from '@src/components/layout/HeaderPad'
-import { TextLimiter } from '@src/components/layout/TextLimiter'
-import { ResponsiveText } from '@src/components/Typography'
+import { StandardPageWidth } from '@src/components/layout/LayoutHelpers'
+import {
+ ContactPageDocument,
+ type ContactPageQuery,
+ type ContactPageQueryVariables,
+} from '@src/generated/graphqlDirectus'
import { propsWithGlobalSettings } from '@src/utils/getGlobalProps'
-import { HubspotForm } from '../src/components/HubspotForm'
-import { StandardPageWidth } from '../src/components/layout/LayoutHelpers'
-
-export function ContactHeader({
- title,
- subtitle,
-}: {
- title: string
- subtitle: string
-}) {
- return (
-
-
-
-
-
-
- {title}
-
-
- {subtitle}
-
-
- Want to learn more about pricing?
-
-
-
-
-
-
-
-
-
-
- )
-}
-
-export default function Index() {
+export default function Index({
+ heading,
+ bodyText,
+ ctaText,
+ ctaUrl,
+ form,
+}: InferGetStaticPropsType) {
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