|
142 | 142 | class="hidden xl:block h-screen pt-[66px] bg-white dark:bg-gradient-radial-mobile dark:lg:bg-gradient-radial"> |
143 | 143 | <div class="container m-auto h-full flex items-center justify-between px-5"> |
144 | 144 | <div class="flex flex-col items-start justify-center w-full"> |
145 | | - <h1 class="text-[38px] leading-[43px] font-bold max-w-[500px] mb-[30px] primary-header-contact">You received a |
146 | | - 1-time link to connect on SimpleX Chat</h1> |
| 145 | + <h1 class="text-[38px] leading-[43px] font-bold max-w-[500px] mb-[30px] primary-header-contact">This is a one-time link of the SimpleX network user</h1> |
147 | 146 | <h2 |
148 | 147 | class="text-[20px] leading-[28px] text-[#606C71] dark:text-white font-bold max-w-[475px] mb-[80px] secondary-header-contact"> |
149 | 148 | Scan the QR code with the SimpleX Chat app on your phone or tablet.</h2> |
@@ -184,10 +183,8 @@ <h1 class="text-[38px] leading-[43px] font-bold max-w-[500px] mb-[30px] primary- |
184 | 183 | class="block xl:hidden pt-[106px] py-[90px] bg-white dark:bg-gradient-radial-mobile dark:lg:bg-gradient-radial"> |
185 | 184 | <div class="container m-auto px-5"> |
186 | 185 | <div class="flex flex-col items-center"> |
187 | | - <h1 class="text-[28px] font-bold text-center max-w-[602px] mb-[40px] primary-header-contact">You received a |
188 | | - 1-time link to connect on SimpleX Chat</h1> |
189 | | - <p class="text-[20px] leading-[28px] text-grey-black dark:text-white font-medium mb-[30px]">To make a |
190 | | - connection:</p> |
| 186 | + <h1 class="text-[28px] font-bold text-center max-w-[602px] mb-[40px] primary-header-contact">This is a one-time link of the SimpleX network user</h1> |
| 187 | + <p class="text-[20px] leading-[28px] text-grey-black dark:text-white font-medium mb-[30px]">To make a connection:</p> |
191 | 188 | <div |
192 | 189 | class="flex flex-col justify-center items-center p-4 w-full max-w-[468px] min-h-[131px] rounded-[30px] border-[1px] border-[#A8B0B4] dark:border-white border-opacity-60 mb-6 relative"> |
193 | 190 | <p class="text-xl font-medium text-grey-black dark:text-white mb-4">Install SimpleX app</p> |
@@ -506,13 +503,15 @@ <h2 class="text-xl font-bold">If you already installed SimpleX Chat for the term |
506 | 503 | const url = window.location.href |
507 | 504 | const messageElements = document.getElementsByClassName('primary-header-contact') |
508 | 505 |
|
509 | | - if (url.includes('/invitation')) { |
510 | | - for (let element of messageElements) { |
511 | | - element.textContent = 'You received a 1-time link to connect on SimpleX Chat' |
512 | | - } |
513 | | - } else { |
514 | | - for (let element of messageElements) { |
515 | | - element.textContent = 'You received an address to connect on SimpleX Chat' |
| 506 | + for (let element of messageElements) { |
| 507 | + if (url.includes('/g') || url.includes('&data=%7B%22groupLinkId%22%3A')) { |
| 508 | + element.innerHTML = 'This is a public group address on SimpleX network' |
| 509 | + } else if (url.includes('/a') || url.includes('/contact')) { |
| 510 | + element.innerHTML = 'This is a public address of the SimpleX network user' |
| 511 | + } else if (url.includes('/i') || url.includes('/invitation')) { |
| 512 | + element.innerHTML = 'This is a one-time link of the SimpleX network user' |
| 513 | + } else if (url.includes('/c')) { |
| 514 | + element.innerHTML = 'This is a public channel address on SimpleX network' |
516 | 515 | } |
517 | 516 | } |
518 | 517 | </script> |
|
0 commit comments