From 54753a59c43a7581aa857274f7ce5e1c7433d797 Mon Sep 17 00:00:00 2001 From: Thiago Teixeira Date: Mon, 12 Aug 2024 16:53:20 -0700 Subject: [PATCH 1/3] Remove hubspot form --- components/navigation/footer.js | 33 ------------------- components/navigation/footer.module.css | 4 --- components/utilities/socialCallout.js | 33 ------------------- components/utilities/socialCallout.module.css | 4 --- 4 files changed, 74 deletions(-) diff --git a/components/navigation/footer.js b/components/navigation/footer.js index db99bbbf9..3c196096a 100644 --- a/components/navigation/footer.js +++ b/components/navigation/footer.js @@ -145,39 +145,6 @@ const Footer = ({ setIsTelemetryModalVisible }) => { - {/* Newsletter */} - - - - - - -
© {new Date().getFullYear()} Snowflake Inc. diff --git a/components/navigation/footer.module.css b/components/navigation/footer.module.css index 54519cfa7..15e7d59da 100644 --- a/components/navigation/footer.module.css +++ b/components/navigation/footer.module.css @@ -59,10 +59,6 @@ @apply fill-brand-LinkedIn; } -.IconLink:hover .NewsletterIcon path { - @apply stroke-red-70; -} - .Copyright { @apply text-base tracking-tight leading-7 mt-2; @apply text-gray-60 !important; diff --git a/components/utilities/socialCallout.js b/components/utilities/socialCallout.js index a0389e96c..9a0e81b33 100644 --- a/components/utilities/socialCallout.js +++ b/components/utilities/socialCallout.js @@ -125,39 +125,6 @@ const SocialCallout = () => { - {/* Newsletter */} -
  • - -
    - - - -
    -
    -
    Newsletter
    -

    - Sign up for communications from Streamlit. -

    -
    -
    -
  • ); diff --git a/components/utilities/socialCallout.module.css b/components/utilities/socialCallout.module.css index e48b4d2ce..7503f4fc5 100644 --- a/components/utilities/socialCallout.module.css +++ b/components/utilities/socialCallout.module.css @@ -55,7 +55,3 @@ .LinkedIn { @apply bg-brand-LinkedIn; } - -.Newsletter { - @apply bg-red-70; -} From c780c85197d505dd1390845bc842045f562c33d8 Mon Sep 17 00:00:00 2001 From: Debbie Matthews Date: Tue, 27 Aug 2024 20:10:06 -0700 Subject: [PATCH 2/3] Revert "Remove hubspot form" This reverts commit 54753a59c43a7581aa857274f7ce5e1c7433d797. --- components/navigation/footer.js | 33 +++++++++++++++++++ components/navigation/footer.module.css | 4 +++ components/utilities/socialCallout.js | 33 +++++++++++++++++++ components/utilities/socialCallout.module.css | 4 +++ 4 files changed, 74 insertions(+) diff --git a/components/navigation/footer.js b/components/navigation/footer.js index 3c196096a..db99bbbf9 100644 --- a/components/navigation/footer.js +++ b/components/navigation/footer.js @@ -145,6 +145,39 @@ const Footer = ({ setIsTelemetryModalVisible }) => { + {/* Newsletter */} + + + + + + +
    © {new Date().getFullYear()} Snowflake Inc. diff --git a/components/navigation/footer.module.css b/components/navigation/footer.module.css index 15e7d59da..54519cfa7 100644 --- a/components/navigation/footer.module.css +++ b/components/navigation/footer.module.css @@ -59,6 +59,10 @@ @apply fill-brand-LinkedIn; } +.IconLink:hover .NewsletterIcon path { + @apply stroke-red-70; +} + .Copyright { @apply text-base tracking-tight leading-7 mt-2; @apply text-gray-60 !important; diff --git a/components/utilities/socialCallout.js b/components/utilities/socialCallout.js index 9a0e81b33..a0389e96c 100644 --- a/components/utilities/socialCallout.js +++ b/components/utilities/socialCallout.js @@ -125,6 +125,39 @@ const SocialCallout = () => { + {/* Newsletter */} +
  • + +
    + + + +
    +
    +
    Newsletter
    +

    + Sign up for communications from Streamlit. +

    +
    +
    +
  • ); diff --git a/components/utilities/socialCallout.module.css b/components/utilities/socialCallout.module.css index 7503f4fc5..e48b4d2ce 100644 --- a/components/utilities/socialCallout.module.css +++ b/components/utilities/socialCallout.module.css @@ -55,3 +55,7 @@ .LinkedIn { @apply bg-brand-LinkedIn; } + +.Newsletter { + @apply bg-red-70; +} From e949441eb205776da31bce75c033c2ea05bb1bd3 Mon Sep 17 00:00:00 2001 From: Debbie Matthews Date: Tue, 27 Aug 2024 20:12:55 -0700 Subject: [PATCH 3/3] Use new newsletter form --- components/navigation/footer.js | 2 +- components/utilities/socialCallout.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/navigation/footer.js b/components/navigation/footer.js index db99bbbf9..474b8e874 100644 --- a/components/navigation/footer.js +++ b/components/navigation/footer.js @@ -152,7 +152,7 @@ const Footer = ({ setIsTelemetryModalVisible }) => { not-link ${styles.IconLink} `} - href="https://share.hsforms.com/1WGycc-S0R8qfyL2iIw_70w3wudj" + href="https://info.snowflake.com/streamlit-newsletter-sign-up.html" target="_blank" title="Newsletter" > diff --git a/components/utilities/socialCallout.js b/components/utilities/socialCallout.js index a0389e96c..00a1899a8 100644 --- a/components/utilities/socialCallout.js +++ b/components/utilities/socialCallout.js @@ -129,7 +129,7 @@ const SocialCallout = () => {