From c3c00680b59b5ccb234345e0731501f3fc65c9d9 Mon Sep 17 00:00:00 2001 From: Hossein Mehrabi Date: Fri, 17 Nov 2023 12:35:03 +0330 Subject: [PATCH] feat: email subscription form --- docusaurus.config.js | 4 ++++ package.json | 2 +- src/pages/index.mdx | 7 +++++- yarn.lock | 51 +++++++++++++++++++++++++++++++------------- 4 files changed, 47 insertions(+), 17 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index ab17e95..8a7b4b9 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -39,6 +39,10 @@ const config = { }, }, }, + newsletterSubscription: { + mailingListId: 3, + pagePath: '/subscribe', + }, }, }, docs: { diff --git a/package.json b/package.json index ea4dd04..d03742c 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ }, "dependencies": { "@acid-info/docusaurus-fathom": "^1.0.0-alpha.101", - "@acid-info/logos-docusaurus-preset": "^1.0.0-alpha.115", + "@acid-info/logos-docusaurus-preset": "^1.0.0-alpha.117", "@docusaurus/core": "2.4.1", "@docusaurus/preset-classic": "2.4.1", "@docusaurus/theme-mermaid": "^2.4.1", diff --git a/src/pages/index.mdx b/src/pages/index.mdx index f224887..ffa8ad4 100644 --- a/src/pages/index.mdx +++ b/src/pages/index.mdx @@ -13,12 +13,12 @@ import { CallToActionSection, CallToActionButton, FeatureList, - Showcase, HeroInfo, Box, Grid, ProfileCard, TimelineItem, + NewsletterSubscription, } from '../components/mdx' @@ -417,6 +417,11 @@ import { + + + + +