Skip to content

Commit

Permalink
feat(TMD-1082): update to newsletter title within on click sign up co…
Browse files Browse the repository at this point in the history
…mponent (#3990)

Co-authored-by: kpmohapatra <[email protected]>
  • Loading branch information
ibrahim-kurhan and kpmohapatra authored Dec 2, 2024
1 parent 3c6b0e1 commit efddfee
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/article-skeleton/fixtures/newsletter.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const paywallContentWithNewsletter = {
attributes: {
label: "In your inbox",
code: "TNL-101",
headline: "Best of Times",
headline: "Daily Briefing",
copy:
"We’ll send you our top stories, across all sections, straight to your inbox. Simple as that.",
imageUri:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const newslettersBySection = [
section: "news",
payload: setNewsletterPayload({
code: "TNL-101",
headline: "Best of Times",
headline: "Daily Briefing",
copy:
"Our flagship newsletter featuring our top stories and analysis, delivered every morning.",
imageUri:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const mocks = [
newsletter: {
id: 'a2l6E000000CdHzQAK',
isSubscribed: false,
title: 'Best of Times',
title: 'Daily Briefing',
__typename: 'Newsletter'
}
}
Expand All @@ -46,7 +46,7 @@ const showcase = {
>
<AutoNewsletterPuff
code={text('code', 'TNL-101')}
headline={text('headline', 'Best of Times')}
headline={text('headline', 'Daily Briefing')}
copy={text(
'copy',
'We’ll send you our top stories, across all sections, straight to your inbox. Simple as that.'
Expand All @@ -72,7 +72,7 @@ const showcase = {
<InlineNewsletterPuff
section="news"
code={text('code', 'TNL-101')}
headline={text('headline', 'Best of Times')}
headline={text('headline', 'Daily Briefing')}
copy={text(
'copy',
'We’ll send you our top stories, across all sections, straight to your inbox. Simple as that.'
Expand All @@ -91,7 +91,7 @@ const showcase = {
component: ({ text }: any) => (
<PreviewNewsletterPuff
section="sport"
headline={text('headline', 'Best of Times')}
headline={text('headline', 'Daily Briefing')}
copy={text(
'copy',
'We’ll send you our top stories, across all sections, straight to your inbox. Simple as that.'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const mocks = [
newsletter: {
id: 'a2l6E000000CdHzQAK',
isSubscribed: false,
title: 'Best of Times',
title: 'Daily Briefing',
__typename: 'Newsletter'
}
}
Expand Down

0 comments on commit efddfee

Please sign in to comment.