Skip to content

Commit 4c0de16

Browse files
committed
chore(copilot): drop video placeholder from mobile fallback
Mobile (<1024px) only renders the "best experienced on desktop" headline now — the dashed video placeholder + "Watch the demo" subheading were never wired to a real video, just a static box. Pruning the related `mobileFallback.watchDemo` / `mobileFallback.videoPlaceholder` translation keys from all 23 locales since they have no consumer left.
1 parent ecb2672 commit 4c0de16

24 files changed

Lines changed: 23 additions & 79 deletions

copilot/src/components/layout.tsx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,6 @@ export const Layout = ({ locale, currentFormId, editor, chat }: LayoutProps) =>
3434
<div className="flex flex-1 items-center justify-center p-6 lg:hidden">
3535
<div className="flex w-full max-w-md flex-col items-center gap-6 text-center">
3636
<h1 className="text-lg font-semibold text-slate-900">{t('mobileFallback.headline')}</h1>
37-
<div className="w-full">
38-
<h2 className="mb-2 text-sm font-medium text-slate-700">{t('mobileFallback.watchDemo')}</h2>
39-
<div
40-
role="img"
41-
aria-label={t('mobileFallback.videoPlaceholder')}
42-
className="flex aspect-video w-full items-center justify-center rounded-lg border border-dashed border-slate-300 bg-white text-xs font-medium uppercase tracking-[0.2em] text-slate-400"
43-
>
44-
{t('mobileFallback.videoPlaceholder')}
45-
</div>
46-
</div>
4737
</div>
4838
</div>
4939
</div>

copilot/src/locales/ar.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
"poweredBy": "مدعوم من SimplePDF"
88
},
99
"mobileFallback": {
10-
"headline": "SimplePDF Copilot يُستخدم بأفضل شكل على سطح المكتب",
11-
"watchDemo": "شاهد العرض التوضيحي",
12-
"videoPlaceholder": "فيديو"
10+
"headline": "SimplePDF Copilot يُستخدم بأفضل شكل على سطح المكتب"
1311
},
1412
"infoModal": {
1513
"title": "تعبئة نماذج بمساعدة الذكاء الاصطناعي، مع إشراف بشري",

copilot/src/locales/cs.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
"poweredBy": "Pohoní SimplePDF"
88
},
99
"mobileFallback": {
10-
"headline": "SimplePDF Copilot si nejlépe vychutnáte na počítači",
11-
"watchDemo": "Sledovat ukázku",
12-
"videoPlaceholder": "Video"
10+
"headline": "SimplePDF Copilot si nejlépe vychutnáte na počítači"
1311
},
1412
"infoModal": {
1513
"title": "Vyplňování formulářů s podporou AI, s člověkem ve smyčce",

copilot/src/locales/da.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
"poweredBy": "Drevet af SimplePDF"
88
},
99
"mobileFallback": {
10-
"headline": "SimplePDF Copilot opleves bedst på skrivebordet",
11-
"watchDemo": "Se demoen",
12-
"videoPlaceholder": "Video"
10+
"headline": "SimplePDF Copilot opleves bedst på skrivebordet"
1311
},
1412
"infoModal": {
1513
"title": "AI-assisteret udfyldning af formularer, med et menneske i løkken",

copilot/src/locales/de.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
"poweredBy": "Unterstützt von SimplePDF"
88
},
99
"mobileFallback": {
10-
"headline": "SimplePDF Copilot erleben Sie am besten auf dem Desktop",
11-
"watchDemo": "Demo ansehen",
12-
"videoPlaceholder": "Video"
10+
"headline": "SimplePDF Copilot erleben Sie am besten auf dem Desktop"
1311
},
1412
"infoModal": {
1513
"title": "KI-gestütztes Ausfüllen von Formularen, mit einem Menschen in der Schleife",

copilot/src/locales/el.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
"poweredBy": "Με την υποστήριξη του SimplePDF"
88
},
99
"mobileFallback": {
10-
"headline": "Το SimplePDF Copilot αποδίδει καλύτερα σε υπολογιστή",
11-
"watchDemo": "Παρακολουθήστε την επίδειξη",
12-
"videoPlaceholder": "Βίντεο"
10+
"headline": "Το SimplePDF Copilot αποδίδει καλύτερα σε υπολογιστή"
1311
},
1412
"infoModal": {
1513
"title": "Συμπλήρωση φορμών με υποστήριξη AI, με άνθρωπο στη διαδικασία",

copilot/src/locales/en.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
"poweredBy": "Powered by SimplePDF"
88
},
99
"mobileFallback": {
10-
"headline": "SimplePDF Copilot is best experienced on desktop",
11-
"watchDemo": "Watch the demo",
12-
"videoPlaceholder": "Video"
10+
"headline": "SimplePDF Copilot is best experienced on desktop"
1311
},
1412
"infoModal": {
1513
"title": "AI-assisted form filling, with a human in the loop",

copilot/src/locales/es.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
"poweredBy": "Con tecnología de SimplePDF"
88
},
99
"mobileFallback": {
10-
"headline": "SimplePDF Copilot se disfruta mejor en un ordenador",
11-
"watchDemo": "Ver la demo",
12-
"videoPlaceholder": "Vídeo"
10+
"headline": "SimplePDF Copilot se disfruta mejor en un ordenador"
1311
},
1412
"infoModal": {
1513
"title": "Completado de formularios asistido por IA, con un humano en el proceso",

copilot/src/locales/et.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
"poweredBy": "Jooksutab SimplePDF"
88
},
99
"mobileFallback": {
10-
"headline": "SimplePDF Copilot töötab kõige paremini arvutis",
11-
"watchDemo": "Vaata demo",
12-
"videoPlaceholder": "Video"
10+
"headline": "SimplePDF Copilot töötab kõige paremini arvutis"
1311
},
1412
"infoModal": {
1513
"title": "Tehisintellekti abil vormide täitmine, inimene silmusesse",

copilot/src/locales/fi.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
"poweredBy": "Toteuttaja: SimplePDF"
88
},
99
"mobileFallback": {
10-
"headline": "SimplePDF Copilot toimii parhaiten tietokoneella",
11-
"watchDemo": "Katso demo",
12-
"videoPlaceholder": "Video"
10+
"headline": "SimplePDF Copilot toimii parhaiten tietokoneella"
1311
},
1412
"infoModal": {
1513
"title": "Tekoälyavusteinen lomakkeiden täyttö, ihminen mukana",

0 commit comments

Comments
 (0)