Skip to content

Commit

Permalink
Merge pull request #1233 from milvus-io/fix-slack-page
Browse files Browse the repository at this point in the history
fix hubspot script
  • Loading branch information
ThyeeZz authored Oct 12, 2023
2 parents 819e56c + 872df00 commit 0f93f3f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
5 changes: 5 additions & 0 deletions src/components/seo.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ function SEO({
src="https://tag.clearbitscripts.com/v1/pk_9b83069276f2350591e46955085ee5a8/tags.js"
referrerpolicy="strict-origin-when-cross-origin"
></script>
<script
src="//js.hsforms.net/forms/embed/v2.js"
type="text/javascript"
charset="utf-8"
></script>
</Helmet>
);
}
Expand Down
13 changes: 1 addition & 12 deletions src/pages/slack.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,7 @@ export default function Slack({ data, pageContext }) {

return (
<Layout t={t} version={allVersion}>
<Seo
title={title}
lang={locale}
description={description}
script={[
{
charset: 'utf-8',
type: 'text/javascript',
src: '//js.hsforms.net/forms/embed/v2.js',
},
]}
/>
<Seo title={title} lang={locale} description={description} />
<main className={styles.slackContainer}>
<div className={styles.contentContainer}>
<img src={slackImg} alt="Slack Logo" />
Expand Down

0 comments on commit 0f93f3f

Please sign in to comment.