diff --git a/nuxt/components/MqlContactPage.vue b/nuxt/components/MqlContactPage.vue index ac758a49d0..489abaefb7 100644 --- a/nuxt/components/MqlContactPage.vue +++ b/nuxt/components/MqlContactPage.vue @@ -9,7 +9,7 @@ withDefaults(defineProps<{ subtitleIcon?: string description: string highlights?: string[] - socialProofTitle?: string + socialProofTitle?: string | false otherChannels?: Array<{ title: string description: string @@ -77,10 +77,7 @@ withDefaults(defineProps<{
-

- {{ socialProofTitle }} -

- +
diff --git a/nuxt/components/SocialProof.vue b/nuxt/components/SocialProof.vue index acc47271b1..08ce901709 100644 --- a/nuxt/components/SocialProof.vue +++ b/nuxt/components/SocialProof.vue @@ -6,6 +6,18 @@ // payload, avoiding a client/server hydration mismatch. const logos = useState('home-logos', () => useHomeLogos()) +const DEFAULT_EYEBROW = 'Over 36,000 users have trusted FlowFuse' + +// String to override the copy, `false` to hide it, omitted for the homepage default. +// eyebrowBg: the homepage-only radial-gradient glow behind the eyebrow — off by default. +const props = withDefaults(defineProps<{ + eyebrow?: string | false + eyebrowBg?: boolean +}>(), { + eyebrow: DEFAULT_EYEBROW, + eyebrowBg: false, +}) + function altFromPath (path: string) { return path .replace('/images/home-logos/', '') @@ -16,12 +28,19 @@ function altFromPath (path: string) { diff --git a/nuxt/pages/book-demo/index.vue b/nuxt/pages/book-demo/index.vue index 4c09c5659e..6420417f33 100644 --- a/nuxt/pages/book-demo/index.vue +++ b/nuxt/pages/book-demo/index.vue @@ -20,7 +20,6 @@ useSeoMeta({ subtitle-icon="i-lucide-arrow-right" description="See how you'd build, deploy, and govern operational applications across your own plants and production lines." :highlights="highlights" - social-proof-title="Over 36,000 users have trusted FlowFuse" > diff --git a/src/_includes/layouts/industry.njk b/src/_includes/layouts/industry.njk index 3918797a9f..76aaf6a300 100644 --- a/src/_includes/layouts/industry.njk +++ b/src/_includes/layouts/industry.njk @@ -194,8 +194,8 @@ layout: default ============================================================ -->
-

{{ socialProofText }}

+ {% set socialProofEyebrow = socialProofText %} {% include "social-proof.njk" %}
diff --git a/src/_includes/social-proof.njk b/src/_includes/social-proof.njk index 434040586e..4c668fea93 100644 --- a/src/_includes/social-proof.njk +++ b/src/_includes/social-proof.njk @@ -1,3 +1,8 @@ +{% if socialProofEyebrow != false %} +
+

{{ socialProofEyebrow if socialProofEyebrow else "Over 36,000 users have trusted FlowFuse" }}

+
+{% endif %}
-

Trusted by industrial teams worldwide to modernize their OT‑IT data infrastructure and edge architectures.

-
+
+ {% set socialProofEyebrow = "Trusted by industrial teams worldwide to modernize their OT‑IT data infrastructure and edge architectures." %} {% include "social-proof.njk" %}
diff --git a/src/vs/litmus.njk b/src/vs/litmus.njk index 052bdd205a..ee1dbe726b 100644 --- a/src/vs/litmus.njk +++ b/src/vs/litmus.njk @@ -204,10 +204,10 @@ cta:
-

Trusted by industrial teams worldwide to modernize their OT‑IT data infrastructure and edge architectures.

-
+
+ {% set socialProofEyebrow = "Trusted by industrial teams worldwide to modernize their OT‑IT data infrastructure and edge architectures." %} {% include "social-proof.njk" %}