feat(explore): update MAGI-2 modal copy for all annual plans, arrow CTA, and zero-drift countdown

This commit is contained in:
hazel-ye
2026-11-27 17:01:16 +08:00
parent d144891a5c
commit eae60e05c7
3 changed files with 130 additions and 61 deletions

View File

@@ -215,6 +215,7 @@
display: flex;
align-items: center;
justify-content: center;
gap: 7px;
text-align: center;
box-sizing: border-box;
transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
@@ -299,6 +300,18 @@
text-overflow: ellipsis;
}
.ctaArrow {
width: 16px;
height: 16px;
flex-shrink: 0;
display: block;
transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.cta:hover .ctaArrow {
transform: translateX(3px);
}
.countdown {
display: flex;
align-items: baseline;
@@ -321,14 +334,34 @@
.countdownTime {
display: inline-flex;
align-items: baseline;
font-size: 14px;
font-family: var(--motion-font-mono);
font-size: 13.5px;
font-weight: 600;
font-variant-numeric: tabular-nums;
font-feature-settings: 'tnum' 1;
letter-spacing: 0;
white-space: nowrap;
color: var(--om-m2-countdown);
}
.colon {
.digitSeg {
display: inline-flex;
justify-content: center;
width: 2ch;
font-variant-numeric: tabular-nums;
font-feature-settings: 'tnum' 1;
}
.colon,
.dot {
display: inline-flex;
justify-content: center;
width: 0.72ch;
color: var(--om-m2-countdown-colon);
margin: 0 1px;
}
.dot {
color: var(--om-m2-countdown);
}
.msGroup {
@@ -341,7 +374,8 @@
.backdrop,
.modal,
.cta,
.cta::after {
.cta::after,
.ctaArrow {
transition: none;
animation: none !important;
}

View File

@@ -340,6 +340,18 @@ export function Magi2LaunchModal({
}}
>
<span className={styles.ctaText}>{copy.cta}</span>
<svg
className={styles.ctaArrow}
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="2.2"
strokeLinecap="round"
strokeLinejoin="round"
aria-hidden="true"
>
<path d="M5 12h14m-6-6 6 6-6 6" />
</svg>
</a>
</div>
@@ -351,13 +363,14 @@ export function Magi2LaunchModal({
>
<span className={styles.countdownLabel}>{copy.countdownPrefix}</span>
<span className={styles.countdownTime}>
<span ref={hrsRef}>{String(initH).padStart(2, '0')}</span>
<span className={styles.digitSeg} ref={hrsRef}>{String(initH).padStart(2, '0')}</span>
<span className={styles.colon} aria-hidden="true">:</span>
<span ref={minRef}>{String(initM).padStart(2, '0')}</span>
<span className={styles.digitSeg} ref={minRef}>{String(initM).padStart(2, '0')}</span>
<span className={styles.colon} aria-hidden="true">:</span>
<span ref={secRef}>{String(initS).padStart(2, '0')}</span>
<span className={styles.digitSeg} ref={secRef}>{String(initS).padStart(2, '0')}</span>
<span className={styles.msGroup}>
.<span ref={msRef} data-testid="magi2-launch-modal-ms">{String(initCs).padStart(2, '0')}</span>
<span className={styles.dot} aria-hidden="true">.</span>
<span className={styles.digitSeg} ref={msRef} data-testid="magi2-launch-modal-ms">{String(initCs).padStart(2, '0')}</span>
</span>
</span>
</time>

View File

@@ -54,13 +54,15 @@ export const MAGI2_MODAL_COPY: Record<Locale, Magi2ModalCopy> = {
eyebrow: '7 Days Unlimited!',
headline: 'First Launch · MAGI-2',
description: [
{ text: '1080p cinema video with native audio is live on OpenDesign. Save ' },
{ text: 'up to 50% OFF', strong: true },
{ text: ' Pro & Max this Black Friday and unlock ' },
{ text: '1080p cinema video with native audio is live on OpenDesign. Unlock ' },
{ text: '7 days unlimited', strong: true },
{ text: ' on ' },
{ text: 'any annual plan', strong: true },
{ text: ', with Black Friday plans ' },
{ text: 'up to 50% OFF', strong: true },
{ text: '.' },
],
cta: 'Claim 50% Off',
cta: 'Start Unlimited',
countdownPrefix: 'Ends in',
closeLabel: 'Close MAGI-2 launch popup',
},
@@ -70,13 +72,15 @@ export const MAGI2_MODAL_COPY: Record<Locale, Magi2ModalCopy> = {
eyebrow: '7 天无限用!',
headline: '全网首发 MAGI-2',
description: [
{ text: '全新 1080p 电影级视频模型现已上线 OpenDesign,支持原生音画同步。黑五订阅 Pro / Max ' },
{ text: '低至 5 折', strong: true },
{ text: ',同步解锁 ' },
{ text: '全新 1080p 电影级视频模型现已上线 OpenDesign,支持原生音画同步。' },
{ text: '任意年付套餐', strong: true },
{ text: '均享 ' },
{ text: '7 天无限用', strong: true },
{ text: ',黑五订阅' },
{ text: '低至 5 折', strong: true },
{ text: '。' },
],
cta: '立享 5 折',
cta: '立即无限使用',
countdownPrefix: '黑五限时',
closeLabel: '关闭活动弹窗',
},
@@ -86,13 +90,15 @@ export const MAGI2_MODAL_COPY: Record<Locale, Magi2ModalCopy> = {
eyebrow: '7日間使い放題!',
headline: '先行公開 MAGI-2',
description: [
{ text: 'ネイティブ音声対応の1080pシネマ動画モデルがOpenDesignに登場。ブラックフライデーで Pro / Max が' },
{ text: '最大50%オフ', strong: true },
{ text: '、さらに' },
{ text: 'ネイティブ音声対応の1080pシネマ動画モデルがOpenDesignに登場。' },
{ text: 'すべての年間プラン', strong: true },
{ text: 'で' },
{ text: '7日間無制限', strong: true },
{ text: 'を解放。' },
{ text: '、ブラックフライデー' },
{ text: '最大50%オフ', strong: true },
{ text: '。' },
],
cta: '50%オフを獲得',
cta: '今すぐ無制限で使う',
countdownPrefix: '期間限定',
closeLabel: 'キャンペーンポップアップを閉じる',
},
@@ -102,13 +108,15 @@ export const MAGI2_MODAL_COPY: Record<Locale, Magi2ModalCopy> = {
eyebrow: '7일 무제한!',
headline: '최초 공개 MAGI-2',
description: [
{ text: '네이티브 사운드를 지원하는 1080p 시네마 영상 모델이 OpenDesign에 출시되었습니다. 블랙프라이데이 Pro / Max ' },
{ text: '최대 50% 할인', strong: true },
{ text: '과 ' },
{ text: '네이티브 사운드를 지원하는 1080p 시네마 영상 모델이 OpenDesign에 출시되었습니다. ' },
{ text: '모든 연간 플랜', strong: true },
{ text: '에서 ' },
{ text: '7일 무제한', strong: true },
{ text: ' 혜택을 누리세요.' },
{ text: ', 블랙프라이데이 ' },
{ text: '최대 50% 할인', strong: true },
{ text: '.' },
],
cta: '50% 할인 받기',
cta: '무제한 시작하기',
countdownPrefix: '한정 특가',
closeLabel: '프로모션 팝업 닫기',
},
@@ -118,13 +126,15 @@ export const MAGI2_MODAL_COPY: Record<Locale, Magi2ModalCopy> = {
eyebrow: '7 Tage unbegrenzt!',
headline: 'Premiere · MAGI-2',
description: [
{ text: '1080p-Kinovideos mit nativem Audio sind live auf OpenDesign. Zum Black Friday ' },
{ text: 'bis zu 50 % Rabatt', strong: true },
{ text: ' auf Pro & Max und ' },
{ text: '1080p-Kinovideos mit nativem Audio sind live auf OpenDesign. ' },
{ text: '7 Tage unbegrenzt', strong: true },
{ text: ' freischalten.' },
{ text: ' mit ' },
{ text: 'jedem Jahresabo', strong: true },
{ text: ' – zum Black Friday ' },
{ text: 'bis zu 50 % Rabatt', strong: true },
{ text: '.' },
],
cta: '50 % Rabatt sichern',
cta: 'Unbegrenzt starten',
countdownPrefix: 'Endet in',
closeLabel: 'Aktions-Popup schließen',
},
@@ -134,13 +144,15 @@ export const MAGI2_MODAL_COPY: Record<Locale, Magi2ModalCopy> = {
eyebrow: '7 jours illimités !',
headline: 'Avant-première · MAGI-2',
description: [
{ text: 'La vidéo cinéma 1080p avec audio natif arrive sur OpenDesign. Profitez de ' },
{ text: 'jusqu’à -50 %', strong: true },
{ text: ' sur Pro & Max au Black Friday et débloquez ' },
{ text: 'La vidéo cinéma 1080p avec audio natif arrive sur OpenDesign. Débloquez ' },
{ text: '7 jours illimités', strong: true },
{ text: '.' },
{ text: ' sur ' },
{ text: 'tout abonnement annuel', strong: true },
{ text: ', avec ' },
{ text: 'jusqu’à -50 %', strong: true },
{ text: ' au Black Friday.' },
],
cta: 'Profiter de -50 %',
cta: 'Démarrer en illimité',
countdownPrefix: 'Offre limitée',
closeLabel: 'Fermer la fenêtre Black Friday',
},
@@ -150,13 +162,15 @@ export const MAGI2_MODAL_COPY: Record<Locale, Magi2ModalCopy> = {
eyebrow: '7 дней безлимита!',
headline: 'Премьера · MAGI-2',
description: [
{ text: 'Кинематографическое видео 1080p с нативным звуком уже в OpenDesign. В Чёрную пятницу ' },
{ text: 'скидка до 50%', strong: true },
{ text: ' на Pro и Max плюс ' },
{ text: 'Кинематографическое видео 1080p с нативным звуком уже в OpenDesign. ' },
{ text: '7 дней безлимита', strong: true },
{ text: '.' },
{ text: ' на ' },
{ text: 'любом годовом тарифе', strong: true },
{ text: ' и ' },
{ text: 'скидки до 50%', strong: true },
{ text: ' в Чёрную пятницу.' },
],
cta: 'Забрать скидку 50%',
cta: 'Начать безлимит',
countdownPrefix: 'До конца',
closeLabel: 'Закрыть окно акции',
},
@@ -166,13 +180,15 @@ export const MAGI2_MODAL_COPY: Record<Locale, Magi2ModalCopy> = {
eyebrow: '¡7 días ilimitados!',
headline: 'Estreno · MAGI-2',
description: [
{ text: 'Vídeo cinematográfico 1080p con audio nativo ya en OpenDesign. Ahorra ' },
{ text: 'hasta 50 % dto.', strong: true },
{ text: ' en Pro y Max este Black Friday y desbloquea ' },
{ text: 'Vídeo cinematográfico 1080p con audio nativo ya en OpenDesign. Desbloquea ' },
{ text: '7 días ilimitados', strong: true },
{ text: '.' },
{ text: ' en ' },
{ text: 'cualquier plan anual', strong: true },
{ text: ', con ' },
{ text: 'hasta 50 % dto.', strong: true },
{ text: ' en Black Friday.' },
],
cta: 'Obtener 50 % dto.',
cta: 'Empezar sin límites',
countdownPrefix: 'Termina en',
closeLabel: 'Cerrar ventana de Black Friday',
},
@@ -182,13 +198,15 @@ export const MAGI2_MODAL_COPY: Record<Locale, Magi2ModalCopy> = {
eyebrow: '7 dias ilimitados!',
headline: 'Estreia · MAGI-2',
description: [
{ text: 'Vídeo cinematográfico 1080p com áudio nativo chegou ao OpenDesign. Garanta ' },
{ text: 'até 50% OFF', strong: true },
{ text: ' no Pro e Max nesta Black Friday e libere ' },
{ text: 'Vídeo cinematográfico 1080p com áudio nativo chegou ao OpenDesign. Libere ' },
{ text: '7 dias ilimitados', strong: true },
{ text: '.' },
{ text: ' em ' },
{ text: 'qualquer plano anual', strong: true },
{ text: ', com ' },
{ text: 'até 50% OFF', strong: true },
{ text: ' na Black Friday.' },
],
cta: 'Garantir 50% off',
cta: 'Começar ilimitado',
countdownPrefix: 'Termina em',
closeLabel: 'Fechar janela da Black Friday',
},
@@ -198,13 +216,15 @@ export const MAGI2_MODAL_COPY: Record<Locale, Magi2ModalCopy> = {
eyebrow: '7 giorni illimitati!',
headline: 'Anteprima · MAGI-2',
description: [
{ text: 'Video cinema 1080p con audio nativo ora su OpenDesign. Risparmia ' },
{ text: 'fino al 50%', strong: true },
{ text: ' su Pro e Max per il Black Friday e sblocca ' },
{ text: 'Video cinema 1080p con audio nativo ora su OpenDesign. Sblocca ' },
{ text: '7 giorni illimitati', strong: true },
{ text: '.' },
{ text: ' su ' },
{ text: 'qualsiasi piano annuale', strong: true },
{ text: ', con ' },
{ text: 'fino al 50% di sconto', strong: true },
{ text: ' per il Black Friday.' },
],
cta: 'Ottieni il 50% off',
cta: 'Inizia senza limiti',
countdownPrefix: 'Scade tra',
closeLabel: 'Chiudi finestra Black Friday',
},
@@ -214,13 +234,15 @@ export const MAGI2_MODAL_COPY: Record<Locale, Magi2ModalCopy> = {
eyebrow: '7 Gün Sınırsız!',
headline: 'İlk Çıkış · MAGI-2',
description: [
{ text: 'Doğal sesli 1080p sinematik video artık OpenDesign’da. Black Friday’de Pro ve Max’te ' },
{ text: '%50’ye varan indirim', strong: true },
{ text: ' ile ' },
{ text: 'Doğal sesli 1080p sinematik video artık OpenDesign’da. ' },
{ text: 'Tüm yıllık planlarda', strong: true },
{ text: ' ' },
{ text: '7 gün sınırsız', strong: true },
{ text: ' erişimi aç.' },
{ text: ' erişim ve Black Friday’de ' },
{ text: '%50’ye varan indirim', strong: true },
{ text: '.' },
],
cta: '%50 İndirimi Al',
cta: 'Sınırsız Başla',
countdownPrefix: 'Süre sonu',
closeLabel: 'Kampanya penceresini kapat',
},