Skip to content

Commit

Permalink
add view details btn
Browse files Browse the repository at this point in the history
  • Loading branch information
codemist committed Jan 24, 2025
1 parent f5e4227 commit cfe8eb8
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 14 deletions.
1 change: 1 addition & 0 deletions locales-pending/emails-all.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ email-monthly-report-free-breaches-resolved-manually = Data breaches resolved ma
email-monthly-report-free-results-heading = Current exposures
email-monthly-report-free-summary-heading = What’s happened in the last month
email-monthly-report-free-upgrade-cta = * Unlock with { -brand-monitor-plus }
email-monthly-report-free-view-details = View details
email-monthly-report-free-banner-heading = { -brand-monitor } now protects you even more
email-monthly-report-free-banner-body = We can find your personal info on data broker sites that sell it for a profit.
email-monthly-report-free-banner-cta-free-scan = Get first scan free
Expand Down
2 changes: 1 addition & 1 deletion src/emails/components/EmailDataPointCount.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const DataPointCount = (props: Props) => {
<mj-column>
<mj-button
href={`${process.env.SERVER_URL}/user/dashboard/action-needed?utm_source=monitor-product&utm_medium=product-email&utm_campaign=${props.utmCampaignId}&utm_content=take-action${utmContentSuffix}`}
background-color="#0060DF"
background-color="#592ACB"
border-radius="8px"
padding="12px 24px"
font-weight={600}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,19 +114,12 @@ export const MonthlyActivityFreeEmail = (
padding: 15px 0px;
}
.upgrade_link {
display: flex !important;
align-items: center;
gap: 10px;
justify-content: center;
}
.manually_resolved_column_sparkles {
.lock_icon {
background-image: url(${process.env.SERVER_URL}/images/email/monthly-activity/lock-icon.png);
background-position: top right;
background-size: 15px 20px;
background-position-x: calc(100% - 18px);
background-position-y: 38px;
background-position-y: 35px;
background-repeat: no-repeat;
}
`}
Expand Down Expand Up @@ -207,14 +200,14 @@ export const MonthlyActivityFreeEmail = (
</mj-text>
</mj-column>
<mj-column
css-class={`stat_column manually_resolved_column_sparkles`}
// css-class={`stat_column manually_resolved_column_sparkles`}
css-class={`stat_column lock_icon`}
// css-class={`stat_column lock_icon`}
inner-border={`2px solid ${greyBorderColor}`}
inner-border-radius="10px"
padding="8px"
>
<mj-text
// css-class={`manually_resolved_column_sparkles`}
// css-class={`lock_icon`}
align="center"
font-weight="bold"
font-size="50px"
Expand All @@ -230,7 +223,7 @@ export const MonthlyActivityFreeEmail = (
</mj-column>
</mj-group>
{hasRunFreeScan && (
<mj-column>
<mj-column width="100%">
<mj-button
href={unlockWithMonitorPlusCta}
background-color="transparent"
Expand All @@ -243,6 +236,23 @@ export const MonthlyActivityFreeEmail = (
</mj-button>
</mj-column>
)}

<mj-column width="100%" border-top="8px">
<mj-button
href={`${process.env.SERVER_URL}/user/dashboard/action-needed?utm_source=monitor-product&utm_medium=product-email&utm_campaign=&utm_content=take-action`}
background-color="#592ACB"
border-radius="8px"
padding="12px 24px"
font-weight={600}
font-size="15px"
line-height="22px"
width="100%"
>
{props.l10n.getString(
"email-monthly-report-free-view-details",
)}
</mj-button>
</mj-column>
</mj-section>
</>
)}
Expand Down

0 comments on commit cfe8eb8

Please sign in to comment.