Skip to content

Commit df7c32e

Browse files
committed
Add signup form
1 parent 866b31a commit df7c32e

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/pages/index.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@ const Home = ({ releases, posts }: HomePageType) => {
3030
<WhatIsNewBlock content={{ title: homepageContent.whatIsNewBlockContent.title, releases }} />
3131
<HardhatNews content={{ title: homepageContent.hardhatNewsContent.title, posts }} />
3232
<EmailForm endpoint={homepageContent.emailFormContent.endpoint} />
33+
<div style="min-height: 58px;max-width: 440px;margin: 0 auto;width: 100%">
34+
<script
35+
src="https://cdn.jsdelivr.net/ghost/signup-form@~0.2/umd/signup-form.min.js"
36+
data-button-color="#000000"
37+
data-button-text-color="#FFFFFF"
38+
data-site="https://blog.nomic.foundation/"
39+
data-locale="en"
40+
async
41+
/>
42+
</div>
3343
</LandingLayout>
3444
);
3545
};

0 commit comments

Comments
 (0)