From f55ca7258d495bba06bb08f0c1d397f64bd7362b Mon Sep 17 00:00:00 2001 From: "Ng Wing Tat, David" Date: Sat, 14 Dec 2024 01:24:42 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Update=20footer=20buttons=20&=20?= =?UTF-8?q?UTM?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/social-elements/v2/facebook.png | Bin 0 -> 1754 bytes src/components/footer.tsx | 55 +-- src/components/help-center-link.tsx | 10 +- src/components/link.tsx | 10 +- src/components/unsubscribe-link.tsx | 10 +- src/i18n/translations/cn.json | 1 + src/i18n/translations/en.json | 1 + src/i18n/translations/zh.json | 1 + src/utils/url.ts | 13 +- test/__snapshots__/basic.test.ts.snap | 423 ++--------------- test/__snapshots__/new-supporter.test.ts.snap | 141 +----- test/__snapshots__/referral-tx.test.ts.snap | 286 ++---------- .../__snapshots__/reset-password.test.ts.snap | 141 +----- test/__snapshots__/transaction.test.ts.snap | 139 +----- .../__snapshots__/civic-liker.test.ts.snap | 425 ++---------------- .../__snapshots__/creator.test.ts.snap | 292 ++---------- 16 files changed, 270 insertions(+), 1678 deletions(-) create mode 100644 src/assets/social-elements/v2/facebook.png diff --git a/src/assets/social-elements/v2/facebook.png b/src/assets/social-elements/v2/facebook.png new file mode 100644 index 0000000000000000000000000000000000000000..c4704ed921f1b3dfa2ebe9998164c94324aa9238 GIT binary patch literal 1754 zcmV<01||84P)&tDX9QaP@#pI0=9q_wuFXA(8976&;bqN zCsOc{_`Y-e>?jFN;yYuTM0+GNPKfQf_nx`;&YiJRe>o~tz_`7=t$KNRX~SvT`}_OX zii(OVoHyES8u(ud4UYpHr)*=f*gJ#9HBD53$t2e^x%PKgkivUHezz{P!K0>U3tE;OXJa9cMx_brLfM%km zre;HOT}1NZo12>{G~1;nJi%dzV;u&Xl3eGR0l4uGG~=o~uuxlDJK^Pro)mC>eZ36r z4yiH%{Q`!=aIxPN9Rjp`xd~6O&o*ldqM!ooF<&mUcf)uwpOAM5FvdqBk#*%0FpSjU z;h{P{J|?TI&zS&SRYOCAb+op&TA%#_hQmO<=-{dV#`)LR*KN}T=i%W&ZEkL=qoX71 zkbsKl>+ADN87a&q+THR5R|UXA+sYuxaRlGm+Op0~K;gT(y41kHfHFi9k)b#D%MS{; zyu2I&WtNpDXz8V;r4JN01r;$eGNM{qT9hup=;7S7IZFYY*ns-Kb*aCxv7y%2eRCVG zNF)*_Y~WC6%B(SDMFC7K#&m_J)q@tEppsWtSCuBJo}QkvqFR~(Ce~+%INrkq{Q`%C z2C`U?W&n#BI>OT;ehFV$S!s=RFJ6ClcUPBjtX~W{A7ai4V*V5qpd{Ga+cTy;omyvS zr|RhF_#ikV$l2MMnwy(*y_U*nnAC8L-*GJP#9{zEf1A|$?A+Sgnlb?$+T`S<74O}w zPDT_Hj=o1D)b?;%&l5`lu>Oz|g0wdYb%x$N4fcUKhZHb)f^Ee9@J(_tA8JB>|HlX*(OA^(7PLZkqCWs|W_XGiDe2HrQH$1eu5fXb6Z1SEbv^Z{R$0Mc1qE(*nX9cPw_ z)6-MY@8Jjjp#nq&PR{9rg6YhW?394)k6`B4D7nb*S)QMevXcw65orQc$_kJ&h_Z{; z1#}(~CUp81Qvre=Su$fA931=*%J%p7O{Tv^AyxoGm_*Z(dLHkc8zS%T@4a50H@p@? z#9mVi^dTmYcy?*=l(LI`0Q2}TA#u7=<8WIJqridWB0uZ(ULawBMqMBk0}W0kg%B1m zyv_xj^fVK+Qa%>Z+L;#T0*VAIjz|Ex|Ii7F7(gw1b%bu!9A3{Nh#NS?W~oaDWTun> zNQILT)B=-A2o@wu4La)uko_Q1UtfPBjRbzr=ly_mDh&FcPiRK?=wEL|Oq@F5*Igcw;grFkxqh1fR)g>j0&&73Vyy0DG-W%mR)< z#`Q3jz-RH9IzEV-r|A8i&slQ;T^2Y>V3rs(SW(s$9!Mef&t!g)r2t(P5bV(C=xAV$ zk@qL%$HvCAqYtRRm}!0D!)y@VahhIIX@W~$^Yin*I!9)Cv$L~W4$lE)s;jG;&iy`L zL4;=ftu*0mXX)_j$L;VJ60%6h${0dI4v6oE5UX z_2tW#yk#<$zPKXP+}v#W6TcEIZmD;(K2dP1ESAkz>^DHl7NGuOJRZ-x*|VSm?6*O< zWlp?)SPEdV2g0`(`c1)-7^4D0Bgc-YW>5;C@F=ME7WZ2bX&Tx8Wfo1pfAJD z6juWAx&Xm+65h25r!(qvL7LBi^6fgp6UHx2+H9B(J73_ejuV^Q++KVie_lm$@pSO2pGJoJ+ w#455Q-=++f=eb_TIF9o_Xp`_YfhJ-90Y0E3&ph@3jsO4v07*qoM6N<$f`OPhApigX literal 0 HcmV?d00001 diff --git a/src/components/footer.tsx b/src/components/footer.tsx index 324928a..32536ae 100644 --- a/src/components/footer.tsx +++ b/src/components/footer.tsx @@ -3,12 +3,11 @@ import { MjmlButton, MjmlColumn, MjmlDivider, - MjmlImage, MjmlSocial, MjmlSocialElement, MjmlText, } from 'mjml-react'; -import { FormattedMessage, useIntl } from 'react-intl'; +import { FormattedMessage } from 'react-intl'; import * as Colors from '../constants/colors'; import { getAssetPath, wrapUtm } from '../utils/url'; @@ -19,25 +18,20 @@ import { UnsubscribeLink } from './unsubscribe-link'; const socialElements = [ { - key: 'discord', - href: 'https://discord.gg/likecoin', - assetPath: '/social-elements/v2/discord.png', + key: 'facebook', + href: 'https://www.facebook.com/Liker.Land', + assetPath: '/social-elements/v2/facebook.png', }, { - key: 'github', - href: 'https://github.com/likecoin', - assetPath: '/social-elements/v2/github.png', + key: 'instagram', + href: 'https://www.instagram.com/liker.land', + assetPath: '/social-elements/v2/instagram.png', }, { key: 'blog', - href: 'https://blog.like.co', + href: 'https://blog.liker.land', assetPath: '/social-elements/v2/blog.png', }, - { - key: 'instagram', - href: 'https://www.instagram.com/liker.land', - assetPath: '/social-elements/v2/instagram.png', - }, ]; export const FooterSection = ({ @@ -47,10 +41,13 @@ export const FooterSection = ({ unsubscribeLink?: string; shouldShowDivider?: boolean; }) => { - const intl = useIntl(); return ( <> - + {shouldShowDivider && ( - + - - - - - ( {null} @@ -107,11 +88,11 @@ export const FooterSection = ({ ))} - + {!!unsubscribeLink && ( - + )} diff --git a/src/components/help-center-link.tsx b/src/components/help-center-link.tsx index 0ec3495..70798bc 100644 --- a/src/components/help-center-link.tsx +++ b/src/components/help-center-link.tsx @@ -1,12 +1,16 @@ import * as React from 'react'; import { FormattedMessage, useIntl } from 'react-intl'; -import { Link } from './link'; +import { Link, LinkProps } from './link'; -export const HelpCenterLink = () => { +export const HelpCenterLink = (props: LinkProps) => { const intl = useIntl(); return ( - + ); diff --git a/src/components/link.tsx b/src/components/link.tsx index 3ad87a4..fe11b05 100644 --- a/src/components/link.tsx +++ b/src/components/link.tsx @@ -10,6 +10,8 @@ export interface LinkProps HTMLAnchorElement > { isWrapUtm?: boolean; + utmMedium?: string; + utmSource?: string; textDecoration?: string; } @@ -25,13 +27,19 @@ export const Link = (props: LinkProps) => { href, style, isWrapUtm = false, + utmMedium, + utmSource, textDecoration = 'underline', ...restProps } = props; return ( ( - +export const UnsubscribeLink = ({ href, ...props }: LinkProps) => ( + ); diff --git a/src/i18n/translations/cn.json b/src/i18n/translations/cn.json index db0197f..ca3324b 100644 --- a/src/i18n/translations/cn.json +++ b/src/i18n/translations/cn.json @@ -4,6 +4,7 @@ "cta.sponsor-link.hint": "用这条链结建立你的粉丝团。详情", "cta.writing-nft.title": "立即收藏以表支持", "download": "下载:", + "footer_browse_store": "浏览书店", "footer_newsletter_button": "订阅电子报", "greeting": "你好 {name}:", "header.manage-delegation": "管理委託", diff --git a/src/i18n/translations/en.json b/src/i18n/translations/en.json index 18d8b94..b7294c8 100644 --- a/src/i18n/translations/en.json +++ b/src/i18n/translations/en.json @@ -4,6 +4,7 @@ "cta.sponsor-link.hint": "Build your fans group by this link. Learn more", "cta.writing-nft.title": "Collect to support now", "download": "Download:", + "footer_browse_store": "Browse Bookstore", "footer_newsletter_button": "Subscribe Newsletter", "greeting": "Dear {name}", "header.manage-delegation": "Manage delegation", diff --git a/src/i18n/translations/zh.json b/src/i18n/translations/zh.json index 631e9e2..1f50d9e 100644 --- a/src/i18n/translations/zh.json +++ b/src/i18n/translations/zh.json @@ -4,6 +4,7 @@ "cta.sponsor-link.hint": "用這條鏈結建立你的粉絲團。詳情", "cta.writing-nft.title": "立即收藏以表支持", "download": "下載:", + "footer_browse_store": "瀏覽書店", "footer_newsletter_button": "訂閱電子報", "greeting": "你好 {name}:", "header.manage-delegation": "管理委託", diff --git a/src/utils/url.ts b/src/utils/url.ts index b2e4aac..ea8405d 100644 --- a/src/utils/url.ts +++ b/src/utils/url.ts @@ -1,9 +1,18 @@ import { ASSETS_ROOT } from '../constants'; -export function wrapUtm(url: string) { +export function wrapUtm( + url: string, + { + medium = 'email', + source = 'edm', + }: { + medium?: string; + source?: string; + } = {} +) { return `${url}${ url.includes('?') ? '&' : '?' - }utm_medium=email&utm_source=email`; + }utm_medium=${medium}&utm_source=${source}`; } export function getAssetPath(path: string = '') { diff --git a/test/__snapshots__/basic.test.ts.snap b/test/__snapshots__/basic.test.ts.snap index db41095..2fe9693 100644 --- a/test/__snapshots__/basic.test.ts.snap +++ b/test/__snapshots__/basic.test.ts.snap @@ -184,7 +184,7 @@ exports[`Render basic templates Default 1`] = ` border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" role=\\"presentation\\" style=\\"\\" width=\\"100%\\" > - \\"\\" + \\"\\" @@ -395,17 +395,18 @@ exports[`Render basic templates Default 1`] = ` - - -
-
+ + + +
+ @@ -468,85 +469,6 @@ exports[`Render basic templates Default 1`] = ` - -
@@ -456,9 +457,9 @@ exports[`Render basic templates Default 1`] = ` align=\\"center\\" bgcolor=\\"#aaf1e7\\" role=\\"presentation\\" style=\\"border:none;border-radius:14px;cursor:auto;mso-padding-alt:10px 25px;background:#aaf1e7;\\" valign=\\"middle\\" > - 訂閱電子報 + 瀏覽書店
- - - - - - -
- - - - - - -
-
- - - - -
- - - - - - - -
- - -
- - - - - - - - -
- - - - - - - - @@ -600,9 +522,9 @@ exports[`Render basic templates Default 1`] = ` @@ -631,7 +553,7 @@ exports[`Render basic templates Default 1`] = `
- - - - - - - -
- - - - \\"\\" - - - -
- -
- + \\"\\"
- + \\"\\"
- + \\"\\" @@ -642,37 +564,6 @@ exports[`Render basic templates Default 1`] = `
- - - - - - - @@ -690,7 +581,7 @@ exports[`Render basic templates Default 1`] = ` + >幫助中心 @@ -908,7 +799,7 @@ exports[`Render basic templates With avatar (Civic Liker) 1`] = ` border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" role=\\"presentation\\" style=\\"\\" width=\\"100%\\" > - \\"\\" + \\"\\"
- - - - - - -
- - \\"\\" - -
-
@@ -1095,17 +986,18 @@ exports[`Render basic templates With avatar (Civic Liker) 1`] = `
- - -
-
+ + + +
+ @@ -1168,85 +1060,6 @@ exports[`Render basic templates With avatar (Civic Liker) 1`] = ` - -
@@ -1156,9 +1048,9 @@ exports[`Render basic templates With avatar (Civic Liker) 1`] = ` align=\\"center\\" bgcolor=\\"#aaf1e7\\" role=\\"presentation\\" style=\\"border:none;border-radius:14px;cursor:auto;mso-padding-alt:10px 25px;background:#aaf1e7;\\" valign=\\"middle\\" > - 訂閱電子報 + 瀏覽書店
- -
- -
- - - - - - - - - - - - -
- - - - - - - -
- - -
- - - - - - - - -
- - - - - - - - @@ -1300,9 +1113,9 @@ exports[`Render basic templates With avatar (Civic Liker) 1`] = ` @@ -1331,7 +1144,7 @@ exports[`Render basic templates With avatar (Civic Liker) 1`] = `
- - - - - - - -
- - - - \\"\\" - - - -
- -
- + \\"\\"
- + \\"\\"
- + \\"\\" @@ -1342,37 +1155,6 @@ exports[`Render basic templates With avatar (Civic Liker) 1`] = `
- - - - - - - @@ -1390,7 +1172,7 @@ exports[`Render basic templates With avatar (Civic Liker) 1`] = ` + >幫助中心 @@ -1608,7 +1390,7 @@ exports[`Render basic templates With avatar 1`] = ` border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" role=\\"presentation\\" style=\\"\\" width=\\"100%\\" > - \\"\\" + \\"\\"
- - - - - - -
- - \\"\\" - -
-
@@ -1795,17 +1577,18 @@ exports[`Render basic templates With avatar 1`] = `
- - -
-
+ + + +
+ @@ -1868,85 +1651,6 @@ exports[`Render basic templates With avatar 1`] = ` - -
@@ -1856,9 +1639,9 @@ exports[`Render basic templates With avatar 1`] = ` align=\\"center\\" bgcolor=\\"#aaf1e7\\" role=\\"presentation\\" style=\\"border:none;border-radius:14px;cursor:auto;mso-padding-alt:10px 25px;background:#aaf1e7;\\" valign=\\"middle\\" > - 訂閱電子報 + 瀏覽書店
- -
- -
- - - - - - - - - - - - -
- - - - - - - -
- - -
- - - - - - - - -
- - - - - - - - @@ -2000,9 +1704,9 @@ exports[`Render basic templates With avatar 1`] = ` @@ -2031,7 +1735,7 @@ exports[`Render basic templates With avatar 1`] = `
- - - - - - - -
- - - - \\"\\" - - - -
- -
- + \\"\\"
- + \\"\\"
- + \\"\\" @@ -2042,37 +1746,6 @@ exports[`Render basic templates With avatar 1`] = `
- - - - - - - @@ -2090,7 +1763,7 @@ exports[`Render basic templates With avatar 1`] = ` + >幫助中心 diff --git a/test/__snapshots__/new-supporter.test.ts.snap b/test/__snapshots__/new-supporter.test.ts.snap index 2ef88e0..f320579 100644 --- a/test/__snapshots__/new-supporter.test.ts.snap +++ b/test/__snapshots__/new-supporter.test.ts.snap @@ -184,7 +184,7 @@ exports[`Render new supporter templates Default 1`] = ` border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" role=\\"presentation\\" style=\\"\\" width=\\"100%\\" > - \\"\\" + \\"\\"
- - - - - - -
- - \\"\\" - -
-
@@ -395,17 +395,18 @@ exports[`Render new supporter templates Default 1`] = `
- - -
-
+ + + +
+ @@ -468,85 +469,6 @@ exports[`Render new supporter templates Default 1`] = ` - -
@@ -456,9 +457,9 @@ exports[`Render new supporter templates Default 1`] = ` align=\\"center\\" bgcolor=\\"#aaf1e7\\" role=\\"presentation\\" style=\\"border:none;border-radius:14px;cursor:auto;mso-padding-alt:10px 25px;background:#aaf1e7;\\" valign=\\"middle\\" > - 訂閱電子報 + 瀏覽書店
- -
- -
- - - - - - - - - - - - -
- - - - - - - -
- - -
- - - - - - - - -
- - - - - - - - @@ -600,9 +522,9 @@ exports[`Render new supporter templates Default 1`] = ` @@ -631,7 +553,7 @@ exports[`Render new supporter templates Default 1`] = `
- - - - - - - -
- - - - \\"\\" - - - -
- -
- + \\"\\"
- + \\"\\"
- + \\"\\" @@ -642,37 +564,6 @@ exports[`Render new supporter templates Default 1`] = `
- - - - - - - @@ -690,7 +581,7 @@ exports[`Render new supporter templates Default 1`] = ` + >幫助中心 diff --git a/test/__snapshots__/referral-tx.test.ts.snap b/test/__snapshots__/referral-tx.test.ts.snap index 8d76e89..30ab1cc 100644 --- a/test/__snapshots__/referral-tx.test.ts.snap +++ b/test/__snapshots__/referral-tx.test.ts.snap @@ -280,7 +280,7 @@ exports[`Render referral tx templates Referee 1`] = ` border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" role=\\"presentation\\" style=\\"\\" width=\\"100%\\" > - \\"\\" + \\"\\" - \\"\\" + \\"\\" @@ -507,17 +507,18 @@ exports[`Render referral tx templates Referee 1`] = ` - - + + +
-
+
- - - - - - -
- - \\"\\" - -
-
奬金已轉帳至你的錢包,請用 Liker Land app 查看。 + >奬金已轉帳至你的錢包,請用 Liker Land app 查看。
@@ -580,85 +581,6 @@ exports[`Render referral tx templates Referee 1`] = ` - -
@@ -568,9 +569,9 @@ exports[`Render referral tx templates Referee 1`] = ` align=\\"center\\" bgcolor=\\"#aaf1e7\\" role=\\"presentation\\" style=\\"border:none;border-radius:14px;cursor:auto;mso-padding-alt:10px 25px;background:#aaf1e7;\\" valign=\\"middle\\" > - 訂閱電子報 + 瀏覽書店
- -
- -
- - - - - - - - - - - - -
- - - - - - - -
- - -
- - - - - - - - -
- - - - - - - - @@ -712,9 +634,9 @@ exports[`Render referral tx templates Referee 1`] = ` @@ -743,7 +665,7 @@ exports[`Render referral tx templates Referee 1`] = `
- - - - - - - -
- - - - \\"\\" - - - -
- -
- + \\"\\"
- + \\"\\"
- + \\"\\" @@ -754,37 +676,6 @@ exports[`Render referral tx templates Referee 1`] = `
- - - - - - - @@ -802,7 +693,7 @@ exports[`Render referral tx templates Referee 1`] = ` + >幫助中心 @@ -1116,7 +1007,7 @@ exports[`Render referral tx templates Referrer 1`] = ` border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" role=\\"presentation\\" style=\\"\\" width=\\"100%\\" > - \\"\\" + \\"\\" - \\"\\" + \\"\\" @@ -1343,17 +1234,18 @@ exports[`Render referral tx templates Referrer 1`] = ` - - + + +
-
+
- - - - - - -
- - \\"\\" - -
-
奬金已轉帳至你的錢包,請用 Liker Land app 查看。 + >奬金已轉帳至你的錢包,請用 Liker Land app 查看。
@@ -1416,85 +1308,6 @@ exports[`Render referral tx templates Referrer 1`] = ` - -
@@ -1404,9 +1296,9 @@ exports[`Render referral tx templates Referrer 1`] = ` align=\\"center\\" bgcolor=\\"#aaf1e7\\" role=\\"presentation\\" style=\\"border:none;border-radius:14px;cursor:auto;mso-padding-alt:10px 25px;background:#aaf1e7;\\" valign=\\"middle\\" > - 訂閱電子報 + 瀏覽書店
- -
- -
- - - - - - - - - - - - -
- - - - - - - -
- - -
- - - - - - - - -
- - - - - - - - @@ -1548,9 +1361,9 @@ exports[`Render referral tx templates Referrer 1`] = ` @@ -1579,7 +1392,7 @@ exports[`Render referral tx templates Referrer 1`] = `
- - - - - - - -
- - - - \\"\\" - - - -
- -
- + \\"\\"
- + \\"\\"
- + \\"\\" @@ -1590,37 +1403,6 @@ exports[`Render referral tx templates Referrer 1`] = `
- - - - - - - @@ -1638,7 +1420,7 @@ exports[`Render referral tx templates Referrer 1`] = ` + >幫助中心 diff --git a/test/__snapshots__/reset-password.test.ts.snap b/test/__snapshots__/reset-password.test.ts.snap index bfacb98..7539a63 100644 --- a/test/__snapshots__/reset-password.test.ts.snap +++ b/test/__snapshots__/reset-password.test.ts.snap @@ -518,7 +518,7 @@ exports[`Render new reset-password templates Default 1`] = `
Didn't make such request?
Simply ignore this email and no changes were made to your account yet.
Please contact us if you need further support.
+ >Didn't make such request?
Simply ignore this email and no changes were made to your account yet.
Please contact us if you need further support. @@ -613,17 +613,18 @@ exports[`Render new reset-password templates Default 1`] = ` - - -
-
+ + + +
+
- - - - - - -
- - \\"\\" - -
-
@@ -686,85 +687,6 @@ exports[`Render new reset-password templates Default 1`] = ` - -
@@ -674,9 +675,9 @@ exports[`Render new reset-password templates Default 1`] = ` align=\\"center\\" bgcolor=\\"#aaf1e7\\" role=\\"presentation\\" style=\\"border:none;border-radius:14px;cursor:auto;mso-padding-alt:10px 25px;background:#aaf1e7;\\" valign=\\"middle\\" > - Subscribe Newsletter + Browse Bookstore
- -
- -
- - - - - - - - - - - - -
- - - - - - - -
- - -
- - - - - - - - -
- - - - - - - - @@ -818,9 +740,9 @@ exports[`Render new reset-password templates Default 1`] = ` @@ -849,7 +771,7 @@ exports[`Render new reset-password templates Default 1`] = `
- - - - - - - -
- - - - \\"\\" - - - -
- -
- + \\"\\"
- + \\"\\"
- + \\"\\" @@ -860,37 +782,6 @@ exports[`Render new reset-password templates Default 1`] = `
- - - - - - - @@ -908,7 +799,7 @@ exports[`Render new reset-password templates Default 1`] = ` + >Help Center diff --git a/test/__snapshots__/transaction.test.ts.snap b/test/__snapshots__/transaction.test.ts.snap index 5391f09..6d54109 100644 --- a/test/__snapshots__/transaction.test.ts.snap +++ b/test/__snapshots__/transaction.test.ts.snap @@ -599,17 +599,18 @@ exports[`Render new transaction templates Default 1`] = ` - - -
-
+ + + +
+
- - - - - - -
- - \\"\\" - -
-
@@ -672,85 +673,6 @@ exports[`Render new transaction templates Default 1`] = ` - -
@@ -660,9 +661,9 @@ exports[`Render new transaction templates Default 1`] = ` align=\\"center\\" bgcolor=\\"#aaf1e7\\" role=\\"presentation\\" style=\\"border:none;border-radius:14px;cursor:auto;mso-padding-alt:10px 25px;background:#aaf1e7;\\" valign=\\"middle\\" > - Subscribe Newsletter + Browse Bookstore
- -
- -
- - - - - - - - - - - - -
- - - - - @@ -813,7 +813,7 @@ exports[`Render Civic Liker monthly report templates V1 1`] = `
- - -
- - - - - - - - -
- - - - - - - - @@ -804,9 +726,9 @@ exports[`Render new transaction templates Default 1`] = ` @@ -835,7 +757,7 @@ exports[`Render new transaction templates Default 1`] = `
- - - - - - - -
- - - - \\"\\" - - - -
- -
- + \\"\\"
- + \\"\\"
- + \\"\\" @@ -846,37 +768,6 @@ exports[`Render new transaction templates Default 1`] = `
- - - - - - - @@ -894,7 +785,7 @@ exports[`Render new transaction templates Default 1`] = ` + >Help Center diff --git a/test/reports/monthly/__snapshots__/civic-liker.test.ts.snap b/test/reports/monthly/__snapshots__/civic-liker.test.ts.snap index 3aab51e..454cc5f 100644 --- a/test/reports/monthly/__snapshots__/civic-liker.test.ts.snap +++ b/test/reports/monthly/__snapshots__/civic-liker.test.ts.snap @@ -267,7 +267,7 @@ exports[`Render Civic Liker monthly report templates V1 1`] = `
- - - - - - -
- - \\"\\" - -
-
- +
\\"TempTemp Liker ID
\\"TempTemp Liker ID
- +
\\"TempTemp Liker ID
12
作品
1234
LIKE
\\"TempTemp Liker ID
12
作品
1234
LIKE
\\"TempTemp Liker ID
12
作品
1234
LIKE
\\"TempTemp Liker ID
12
作品
1234
LIKE
\\"TempTemp Liker ID
12
作品
1234
LIKE
\\"TempTemp Liker ID
12
作品
1234
LIKE
@@ -837,17 +837,18 @@ exports[`Render Civic Liker monthly report templates V1 1`] = `
- - + + +
-
+ @@ -910,85 +911,6 @@ exports[`Render Civic Liker monthly report templates V1 1`] = ` - -
@@ -898,9 +899,9 @@ exports[`Render Civic Liker monthly report templates V1 1`] = ` align=\\"center\\" bgcolor=\\"#aaf1e7\\" role=\\"presentation\\" style=\\"border:none;border-radius:14px;cursor:auto;mso-padding-alt:10px 25px;background:#aaf1e7;\\" valign=\\"middle\\" > - 訂閱電子報 + 瀏覽書店
- - - - - - -
- - - - - - -
- - - - - -
- - - - - @@ -1916,7 +1807,7 @@ exports[`Render Civic Liker monthly report templates V2 1`] = `
你正在按月支持以下作者,扣款日期為每月 1 日。按此管理訂閱選項
+ >你正在按月支持以下作者,扣款日期為每月 1 日。按此管理訂閱選項 @@ -1929,7 +1820,7 @@ exports[`Render Civic Liker monthly report templates V2 1`] = `
- - -
- - - - - - - - -
- - - - - - - - @@ -1042,9 +964,9 @@ exports[`Render Civic Liker monthly report templates V1 1`] = ` @@ -1073,7 +995,7 @@ exports[`Render Civic Liker monthly report templates V1 1`] = `
- - - - - - - -
- - - - \\"\\" - - - -
- -
- + \\"\\"
- + \\"\\"
- + \\"\\" @@ -1084,37 +1006,6 @@ exports[`Render Civic Liker monthly report templates V1 1`] = `
- - - - - - - @@ -1132,7 +1023,7 @@ exports[`Render Civic Liker monthly report templates V1 1`] = ` + >幫助中心 @@ -1433,7 +1324,7 @@ exports[`Render Civic Liker monthly report templates V2 1`] = `
- - - - - - -
- - \\"\\" - -
-
- +
\\"TempTemp Liker ID
\\"TempTemp Liker ID
- +
\\"TempTemp Liker ID\\"USDUSD 5/mo
\\"TempTemp Liker ID\\"USDUSD 5/mo
\\"TempTemp Liker ID\\"USDUSD 5/mo
\\"TempTemp Liker ID\\"USDUSD 5/mo
\\"TempTemp Liker ID\\"USDUSD 5/mo
\\"TempTemp Liker ID\\"USDUSD 5/mo
@@ -2079,17 +1970,18 @@ exports[`Render Civic Liker monthly report templates V2 1`] = `
- - + + +
-
+ @@ -2152,85 +2044,6 @@ exports[`Render Civic Liker monthly report templates V2 1`] = ` - -
@@ -2140,9 +2032,9 @@ exports[`Render Civic Liker monthly report templates V2 1`] = ` align=\\"center\\" bgcolor=\\"#aaf1e7\\" role=\\"presentation\\" style=\\"border:none;border-radius:14px;cursor:auto;mso-padding-alt:10px 25px;background:#aaf1e7;\\" valign=\\"middle\\" > - 訂閱電子報 + 瀏覽書店
- - - - - - -
- - - - - - -
- - - - - -
- - - - - @@ -3549,7 +3331,7 @@ exports[`Render Civic Liker monthly report templates V3 1`] = `
- - -
- - - - - - - - -
- - - - - - - - @@ -2284,9 +2097,9 @@ exports[`Render Civic Liker monthly report templates V2 1`] = ` @@ -2315,7 +2128,7 @@ exports[`Render Civic Liker monthly report templates V2 1`] = `
- - - - - - - -
- - - - \\"\\" - - - -
- -
- + \\"\\"
- + \\"\\"
- + \\"\\" @@ -2326,37 +2139,6 @@ exports[`Render Civic Liker monthly report templates V2 1`] = `
- - - - - - - @@ -2374,7 +2156,7 @@ exports[`Render Civic Liker monthly report templates V2 1`] = ` + >幫助中心 @@ -2717,7 +2499,7 @@ exports[`Render Civic Liker monthly report templates V3 1`] = `
- - - - - - -
- - \\"\\" - -
-
- +
\\"TempTemp Liker ID
\\"TempTemp Liker ID
- +
\\"TempTemp Liker ID5
作品
5
$LIKE
\\"TempTemp Liker ID5
作品
5
$LIKE
\\"TempTemp Liker ID5
作品
5
$LIKE
\\"TempTemp Liker ID5
作品
5
$LIKE
\\"TempTemp Liker ID5
作品
5
$LIKE
\\"TempTemp Liker ID5
作品
5
$LIKE
@@ -3573,17 +3355,18 @@ exports[`Render Civic Liker monthly report templates V3 1`] = `
- - + + +
-
+ @@ -3629,85 +3412,6 @@ exports[`Render Civic Liker monthly report templates V3 1`] = ` - -
@@ -3617,9 +3400,9 @@ exports[`Render Civic Liker monthly report templates V3 1`] = ` align=\\"center\\" bgcolor=\\"#aaf1e7\\" role=\\"presentation\\" style=\\"border:none;border-radius:14px;cursor:auto;mso-padding-alt:10px 25px;background:#aaf1e7;\\" valign=\\"middle\\" > - 訂閱電子報 + 瀏覽書店
- - - - - - -
- - - - - - -
- - - - - -
- - - - - @@ -803,7 +803,7 @@ exports[`Render writer monthly report templates Default 1`] = ` + >查看支持者 @@ -1029,7 +1029,7 @@ exports[`Render writer monthly report templates Default 1`] = `
用這條鏈結建立你的粉絲團。詳情
+ >用這條鏈結建立你的粉絲團。詳情 @@ -1126,17 +1126,18 @@ exports[`Render writer monthly report templates Default 1`] = ` - - + + +
-
+
- - -
- - - - - - - - -
- - - - - - - - @@ -3761,9 +3465,9 @@ exports[`Render Civic Liker monthly report templates V3 1`] = ` @@ -3792,7 +3496,7 @@ exports[`Render Civic Liker monthly report templates V3 1`] = `
- - - - - - - -
- - - - \\"\\" - - - -
- -
- + \\"\\"
- + \\"\\"
- + \\"\\" @@ -3803,37 +3507,6 @@ exports[`Render Civic Liker monthly report templates V3 1`] = `
- - - - - - - @@ -3851,7 +3524,7 @@ exports[`Render Civic Liker monthly report templates V3 1`] = ` + >幫助中心 diff --git a/test/reports/monthly/__snapshots__/creator.test.ts.snap b/test/reports/monthly/__snapshots__/creator.test.ts.snap index a101831..77de297 100644 --- a/test/reports/monthly/__snapshots__/creator.test.ts.snap +++ b/test/reports/monthly/__snapshots__/creator.test.ts.snap @@ -273,7 +273,7 @@ exports[`Render writer monthly report templates Default 1`] = `
- - - - - - -
- - \\"\\" - -
-
- +
\\"TempTemp Liker ID
\\"TempTemp Liker ID
@@ -1199,85 +1200,6 @@ exports[`Render writer monthly report templates Default 1`] = ` - -
@@ -1187,9 +1188,9 @@ exports[`Render writer monthly report templates Default 1`] = ` align=\\"center\\" bgcolor=\\"#aaf1e7\\" role=\\"presentation\\" style=\\"border:none;border-radius:14px;cursor:auto;mso-padding-alt:10px 25px;background:#aaf1e7;\\" valign=\\"middle\\" > - 訂閱電子報 + 瀏覽書店
- - - - - - -
- - - - - - - - - - - - -
- - - - - @@ -2460,7 +2351,7 @@ exports[`Render writer monthly report templates V2 1`] = `
- - -
- - - - - - - - -
- - - - - - - - @@ -1331,9 +1253,9 @@ exports[`Render writer monthly report templates Default 1`] = ` @@ -1362,7 +1284,7 @@ exports[`Render writer monthly report templates Default 1`] = `
- - - - - - - -
- - - - \\"\\" - - - -
- -
- + \\"\\"
- + \\"\\"
- + \\"\\" @@ -1373,37 +1295,6 @@ exports[`Render writer monthly report templates Default 1`] = `
- - - - - - - @@ -1421,7 +1312,7 @@ exports[`Render writer monthly report templates Default 1`] = ` + >幫助中心 @@ -1726,7 +1617,7 @@ exports[`Render writer monthly report templates V2 1`] = `
- - - - - - -
- - \\"\\" - -
-
- +
\\"TempTemp Liker ID
\\"TempTemp Liker ID
- +
\\"TempTemp Liker ID
\\"TempTemp Liker ID
@@ -2502,7 +2393,7 @@ exports[`Render writer monthly report templates V2 1`] = ` - +
\\"TempTemp Liker ID
\\"TempTemp Liker ID
@@ -2564,7 +2455,7 @@ exports[`Render writer monthly report templates V2 1`] = ` - +
\\"TempTemp Liker ID
\\"TempTemp Liker ID
@@ -2606,7 +2497,7 @@ exports[`Render writer monthly report templates V2 1`] = ` - +
\\"TempTemp Liker ID
\\"TempTemp Liker ID
@@ -2668,7 +2559,7 @@ exports[`Render writer monthly report templates V2 1`] = ` - +
\\"TempTemp Liker ID
\\"TempTemp Liker ID
@@ -2814,17 +2705,18 @@ exports[`Render writer monthly report templates V2 1`] = `
- - + + +
-
+ @@ -2887,85 +2779,6 @@ exports[`Render writer monthly report templates V2 1`] = ` - -
@@ -2875,9 +2767,9 @@ exports[`Render writer monthly report templates V2 1`] = ` align=\\"center\\" bgcolor=\\"#aaf1e7\\" role=\\"presentation\\" style=\\"border:none;border-radius:14px;cursor:auto;mso-padding-alt:10px 25px;background:#aaf1e7;\\" valign=\\"middle\\" > - 訂閱電子報 + 瀏覽書店
- - - - - - -
- - - - - - -
- - - - - -
- - - - -
- - -
- - - - - - - - -
- - - - - - - - @@ -3019,9 +2832,9 @@ exports[`Render writer monthly report templates V2 1`] = ` @@ -3050,7 +2863,7 @@ exports[`Render writer monthly report templates V2 1`] = `
- - - - - - - -
- - - - \\"\\" - - - -
- -
- + \\"\\"
- + \\"\\"
- + \\"\\" @@ -3061,37 +2874,6 @@ exports[`Render writer monthly report templates V2 1`] = `
- - - - - - - @@ -3109,7 +2891,7 @@ exports[`Render writer monthly report templates V2 1`] = ` + >幫助中心
- - - - - - -
- - \\"\\" - -
-