zen: update discount copy on lander
This commit is contained in:
@@ -368,7 +368,18 @@ body {
|
||||
text-decoration: none;
|
||||
|
||||
[data-slot="cta-price"] {
|
||||
opacity: 0.6;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
[data-slot="cta-price-old"] {
|
||||
opacity: 0.45;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
[data-slot="cta-price-new"] {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
svg {
|
||||
|
||||
@@ -320,7 +320,14 @@ export default function Home() {
|
||||
>
|
||||
{(part) => {
|
||||
if (part === "{{text}}") return <span>{i18n.t("go.cta.text")}</span>
|
||||
if (part === "{{price}}") return <span data-slot="cta-price">{i18n.t("go.cta.price")}</span>
|
||||
if (part === "{{price}}") {
|
||||
return (
|
||||
<span data-slot="cta-price">
|
||||
<span data-slot="cta-price-old">{i18n.t("go.cta.price")}</span>
|
||||
<span data-slot="cta-price-new">{i18n.t("go.cta.promo")}</span>
|
||||
</span>
|
||||
)
|
||||
}
|
||||
return part
|
||||
}}
|
||||
</For>
|
||||
|
||||
Reference in New Issue
Block a user