Skip to content

Commit

Permalink
feat: email subscription form
Browse files Browse the repository at this point in the history
  • Loading branch information
jeangovil committed Nov 17, 2023
1 parent 8b2522f commit c3c0068
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 17 deletions.
4 changes: 4 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ const config = {
},
},
},
newsletterSubscription: {
mailingListId: 3,
pagePath: '/subscribe',
},
},
},
docs: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
7 changes: 6 additions & 1 deletion src/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ import {
CallToActionSection,
CallToActionButton,
FeatureList,
Showcase,
HeroInfo,
Box,
Grid,
ProfileCard,
TimelineItem,
NewsletterSubscription,
} from '../components/mdx'

<Hero size="large">
Expand Down Expand Up @@ -417,6 +417,11 @@ import {
</Grid>
</Box>
</Box>

<Box top={{ xs: 144, lg: 336 }}>
<NewsletterSubscription />
</Box>


<Box top={{ xs: 144, lg: 336 }}>
<CallToActionSection
Expand Down
51 changes: 36 additions & 15 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@
satori "^0.10.1"
sharp "^0.32.1"

"@acid-info/logos-docusaurus-preset@^1.0.0-alpha.115":
version "1.0.0-alpha.115"
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-alpha.115.tgz#6ec6a1746355305a9df1ab5f457882002fef5261"
integrity sha512-1vnnhSP6nin5rvZG0uGfENxZrE+CPthTlZ4uNfH7YbfkowbP8YTL0jG8mqObgVl11tr2h14CjCxe3sm3VMrwPA==
"@acid-info/logos-docusaurus-preset@^1.0.0-alpha.117":
version "1.0.0-alpha.117"
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-alpha.117.tgz#aa0537c05151917308033a6cf1f5a352bd7204a2"
integrity sha512-oGC76zm+/1fNPwuXPzpDmz2uDtL4mAqaUKRtFyAxDZNYFY4IOnkbVnO4U7rYVWXGIaKe7oSDIIyRuk4nYy1JsA==
dependencies:
"@acid-info/docusaurus-og" "^1.0.0-alpha.111"
"@acid-info/logos-docusaurus-search-local" "^1.0.0-alpha.111"
"@acid-info/logos-docusaurus-theme" "^1.0.0-alpha.115"
"@acid-info/logos-docusaurus-theme" "^1.0.0-alpha.117"
"@docusaurus/core" "^2.4.1"
"@docusaurus/module-type-aliases" "^2.4.1"
"@docusaurus/preset-classic" "^2.4.1"
Expand Down Expand Up @@ -71,13 +71,13 @@
"@easyops-cn/docusaurus-search-local" "^0.33.6"
lodash "^4.17.21"

"@acid-info/logos-docusaurus-theme@^1.0.0-alpha.115":
version "1.0.0-alpha.115"
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-alpha.115.tgz#6502b032fb47a854f73924e9cfb211d7c5b516d8"
integrity sha512-Lkqwyz3ykGmo2PebeOWQx+qmPq3ezbC5ZOLrbMSsp7n0eCSLJZPhaEAxXqOfRmaAgPimWsF8Va5dcChYAr9N4g==
"@acid-info/logos-docusaurus-theme@^1.0.0-alpha.117":
version "1.0.0-alpha.117"
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-alpha.117.tgz#6dcd0ae53156ec7cda69e0dd27668a8c75ba99ac"
integrity sha512-psTQBFk9DHLie1Ya9bYMhfd+wv2UT9/yy4FTFPwuTDW1eatHSce0gqTBeotg4pHZWvwBC2aY+C2gxofsZCAKfg==
dependencies:
"@acid-info/docusaurus-og" "^1.0.0-alpha.111"
"@acid-info/lsd-react" "^0.1.0-alpha.17"
"@acid-info/lsd-react" "^0.1.0-alpha.21"
"@docusaurus/core" "^2.4.1"
"@docusaurus/mdx-loader" "^2.4.1"
"@docusaurus/module-type-aliases" "^2.4.1"
Expand Down Expand Up @@ -118,15 +118,17 @@
three-stdlib "^2.23.4"
utility-types "^3.10.0"

"@acid-info/lsd-react@^0.1.0-alpha.17":
version "0.1.0-alpha.17"
resolved "https://registry.yarnpkg.com/@acid-info/lsd-react/-/lsd-react-0.1.0-alpha.17.tgz#4a0da00ad779717bcd6c5771863ec94937c701a0"
integrity sha512-qDnDr4uK7xXulf3StBLhCdq+0zT+6NT1TstQ+qAw3/kLonE2wiQx+w+aRlyaRobSevhtyC+bfR+QDvfFwkG8Rw==
"@acid-info/lsd-react@^0.1.0-alpha.21":
version "0.1.0-alpha.21"
resolved "https://registry.yarnpkg.com/@acid-info/lsd-react/-/lsd-react-0.1.0-alpha.21.tgz#3a6a6862bc492521197ef354795f1b1fe9bceffe"
integrity sha512-zgec9ezT469HBB/rKFzqbgEFiH59Raf8BkWE4XWP4mS9qc2ZQwwYy59TjbJKN5kgwWVnVX/cY1Ryvj9uFcnO8g==
dependencies:
"@datepicker-react/hooks" "^2.8.4"
"@emotion/react" "^11.10.5"
"@emotion/styled" "^11.10.5"
clsx "^1.2.1"
lodash "^4.17.21"
react-hot-toast "^2.4.1"
react-use "^17.4.0"

"@algolia/[email protected]":
Expand Down Expand Up @@ -2019,6 +2021,13 @@
resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9"
integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==

"@datepicker-react/hooks@^2.8.4":
version "2.8.4"
resolved "https://registry.yarnpkg.com/@datepicker-react/hooks/-/hooks-2.8.4.tgz#6e07aa98bf21b90b7c88fb35919cca6eb08f2c31"
integrity sha512-qaYJKK5sOSdqcL/OnCtyv3/Q6fRRljfeAyl5ISTPgEO0CM5xZzkGmTx40+6wvqjH5lEZH4ysS95nPyLwZS2tlw==
dependencies:
date-fns "^2.14.0"

"@docsearch/[email protected]":
version "3.2.1"
resolved "https://registry.yarnpkg.com/@docsearch/css/-/css-3.2.1.tgz#c05d7818b0e43b42f9efa2d82a11c36606b37b27"
Expand Down Expand Up @@ -6190,7 +6199,7 @@ data-urls@^1.1.0:
whatwg-mimetype "^2.2.0"
whatwg-url "^7.0.0"

date-fns@^2.30.0:
date-fns@^2.14.0, date-fns@^2.30.0:
version "2.30.0"
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.30.0.tgz#f367e644839ff57894ec6ac480de40cae4b0f4d0"
integrity sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==
Expand Down Expand Up @@ -7877,6 +7886,11 @@ glsl-noise@^0.0.0:
resolved "https://registry.yarnpkg.com/glsl-noise/-/glsl-noise-0.0.0.tgz#367745f3a33382c0eeec4cb54b7e99cfc1d7670b"
integrity sha512-b/ZCF6amfAUb7dJM/MxRs7AetQEahYzJ8PtgfrmEdtw6uyGOr+ZSGtgjFm6mfsBkxJ4d2W7kg+Nlqzqvn3Bc0w==

goober@^2.1.10:
version "2.1.13"
resolved "https://registry.yarnpkg.com/goober/-/goober-2.1.13.tgz#e3c06d5578486212a76c9eba860cbc3232ff6d7c"
integrity sha512-jFj3BQeleOoy7t93E9rZ2de+ScC4lQICLwiAQmKMg9F6roKGaLSHoCDYKkWlSafg138jejvq/mTdvmnwDQgqoQ==

gopd@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c"
Expand Down Expand Up @@ -11505,6 +11519,13 @@ react-helmet-async@*, react-helmet-async@^1.3.0:
react-fast-compare "^3.2.0"
shallowequal "^1.1.0"

react-hot-toast@^2.4.1:
version "2.4.1"
resolved "https://registry.yarnpkg.com/react-hot-toast/-/react-hot-toast-2.4.1.tgz#df04295eda8a7b12c4f968e54a61c8d36f4c0994"
integrity sha512-j8z+cQbWIM5LY37pR6uZR6D4LfseplqnuAO4co4u8917hBUvXlEqyP1ZzqVLcqoyUesZZv/ImreoCeHVDpE5pQ==
dependencies:
goober "^2.1.10"

react-is@^16.12.0, react-is@^16.13.1, react-is@^16.6.0, react-is@^16.7.0:
version "16.13.1"
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"
Expand Down

0 comments on commit c3c0068

Please sign in to comment.