Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newsletter subscription added #1687

Merged
merged 1 commit into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,18 @@ const PageFooter = (props: PageFooterProps) => {
<div
className={`d-flex flex-column gap-2 flex-md-row flex-wrap col-12 flex-shrink-0 order-md-3 text-center text-md-start`}
>
<Col className="text-white col-md-auto">{t("legal.disclaimer")}</Col>
<Col className="text-white col-md-auto">
{t("legal.disclaimer")}
{" - "}
<a
href="https://cdn.forms-content.sg-form.com/fc8a7d49-d903-11ed-9e53-c2519c5b83a4"
style={{ color: "white" }}
target="_blank"
rel="noopener noreferrer"
>
{t("newsletter")}
</a>
</Col>
</div>
</FooterContainer>
)
Expand Down
10 changes: 10 additions & 0 deletions components/HeroHeader/HeroHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@ const HeroHeader = ({ authenticated }) => {
</a>{" "}
{t("joinTraining")}
</p>
<p>
<a
href="https://cdn.forms-content.sg-form.com/fc8a7d49-d903-11ed-9e53-c2519c5b83a4"
style={{ color: "white" }}
target="_blank"
rel="noopener noreferrer"
>
{t("newsletter")}
</a>
</p>
<div className="text-end m-5">
{!authenticated && (
<div className={styles.btncontainer}>
Expand Down
13 changes: 7 additions & 6 deletions public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
},
"bill_updates": "Bill Updates",
"browse_bills": "browse bills",
"button":{
"follow" : "Follow",
"following" : "Following",
"followed" : "Followed"
"button": {
"follow": "Follow",
"following": "Following",
"followed": "Followed"
},
"calendar": "Our Calendar",
"hideAns": "Hide Answer",
Expand All @@ -62,7 +62,7 @@
"browseBills": "Browse Bills",
"browseTestimony": "Browse Testimony",
"closeNavMenu": "Close Navigation Menu",
"closeProfileMenu":"Close Profile Menu",
"closeProfileMenu": "Close Profile Menu",
"communicatingWithLegislators": "Communicating with Legislators",
"editProfile": "Edit Profile",
"faq": "FAQ",
Expand All @@ -81,7 +81,8 @@
"viewProfile": "View Profile",
"whyUseMaple": "Why Use MAPLE"
},
"newcomer" : "New to MAPLE? For extra support, check",
"newcomer": "New to MAPLE? For extra support, check",
"newsletter": "Click Here to Subscribe to Our Newsletter",
"newsfeed": {
"actionTaken": "Action taken on ",
"actionUpdate": "has an action update from the ",
Expand Down
1 change: 1 addition & 0 deletions public/locales/en/footer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@
"TOS": "Terms of Service",
"codeOfConduct": "Code of Conduct"
},
"newsletter": "Click Here to Subscribe to Our Newsletter",
"logo": "MAPLE Massachusetts Platform for Legislative Engagement logo"
}
Loading