Skip to content

Commit cca2e47

Browse files
committed
linux native builds suggest phoenix code desktop
1 parent 0b7a6ac commit cca2e47

9 files changed

Lines changed: 34 additions & 7 deletions

File tree

css/brackets.io.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,10 @@ blockquote p {
475475
padding-top: 1em;
476476
}
477477

478+
.forced-hidden {
479+
display: none !important;
480+
}
481+
478482
#banner-wrapper {
479483
background: #d0ecf5;
480484
color: #010001;
@@ -616,14 +620,14 @@ blockquote p {
616620
margin: auto;
617621
}
618622

619-
#phcodeio-button, #launch-editor-button {
623+
#phcodeio-button, #phcodeio-button-main, #launch-editor-button {
620624
background: #010001;
621625
border: 2px solid #010001;
622626
color: #fff;
623627
margin-bottom: 1em;
624628
}
625629

626-
#phcodeio-button:hover , #launch-editor-button:hover{
630+
#phcodeio-button:hover , #launch-editor-button:hover, #phcodeio-button-main:hover{
627631
opacity: 0.8;
628632
}
629633

index.html

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,9 @@ <h1>
280280
</p>
281281
</div>
282282
<div id="download">
283+
<p id="phcode-upgrade" data-i18n="index.page.content.phoenixUpgrade" style="margin-bottom: 1px;" class="forced-hidden">
284+
Brackets recommends users to download Phoenix Code - the next generation of Brackets.
285+
</p>
283286
<!-- Temporary link to download page -->
284287
<a
285288
id="download-plain-brackets"
@@ -301,6 +304,14 @@ <h1>
301304
>
302305
</button>
303306
</a>
307+
<a
308+
id="phcodeio-button-main"
309+
href="https://phcode.io"
310+
onclick="logDownloadClicked('phcodeioMainClicked');"
311+
class="rounded radius button forced-hidden"
312+
style="background-color: #fe9615; color: black; display: inline-flex;align-items: center;padding-left: 1.5rem;"
313+
> <i class="fas fa-download" style="margin-right: 8px;"></i><span data-i18n="index.page.content.phoenixioDownload" style="color: black;font-size: unset;">Download from phcode.io</span>
314+
</a>
304315
<span style="font-size: small">
305316
<br />
306317
<span data-i18n="[html]index.page.hero.attribution"
@@ -733,11 +744,9 @@ <h5 data-i18n="footer.in-touch.header">Keep in Touch</h5>
733744
}
734745
} else if (/Linux|X11/.test(navigator.userAgent)) {
735746
OS = "LINUX32";
736-
ext = ".32-bit.deb";
737-
if (/x86_64/.test(navigator.appVersion + navigator.userAgent)) {
738-
OS = "LINUX64";
739-
ext = ".64-bit.deb";
740-
}
747+
$("#download-plain-brackets").hide();
748+
$("#phcode-upgrade").removeClass("forced-hidden");
749+
$("#phcodeio-button-main").removeClass("forced-hidden");
741750
}
742751
if (/iPad|iPod|iPhone|Android/.test(navigator.userAgent)) {
743752
OS = "OTHER";

locales/_en/translation.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
},
2020
"content": {
2121
"phoenix": "Introducing Phoenix Code Editor",
22+
"phoenixUpgrade": "Brackets recommends users to download Phoenix Code - the next generation of Brackets.",
23+
"phoenixioDownload": "Download from phcode.io",
2224
"phoenixLaunch": "Launch Web Editor",
2325
"phoenixio": "Get it from phcode.io",
2426
"phoenixInfo1": "Phoenix Code is the next generation of Brackets that Runs everywhere - Windows, macOS, Linux and Web Browsers.",

locales/de/translation.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
},
2020
"content": {
2121
"phoenix": "Einführung in den Phoenix Code Editor",
22+
"phoenixUpgrade": "Brackets empfiehlt Benutzern, Phoenix Code herunterzuladen – die nächste Generation von Brackets.",
23+
"phoenixioDownload": "Von phcode.io herunterladen",
2224
"phoenixLaunch": "Starten Sie den Web-Editor",
2325
"phoenixio": "Holen Sie es sich von phcode.io",
2426
"phoenixInfo1": "Phoenix Code ist die nächste Generation von Brackets, die überall läuft – Windows, macOS, Linux und Webbrowser.",

locales/fr/translation.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
},
2020
"content": {
2121
"phoenix": "Présentation de l'éditeur de Phoenix Code",
22+
"phoenixUpgrade": "Brackets recommande aux utilisateurs de télécharger Phoenix Code - la nouvelle génération de Brackets.",
23+
"phoenixioDownload": "Télécharger depuis phcode.io",
2224
"phoenixLaunch": "Lancer l'éditeur Web",
2325
"phoenixio": "Récupérez-le sur phcode.io",
2426
"phoenixInfo1": "Phoenix Code est la nouvelle génération de Brackets qui fonctionne partout : Windows, macOS, Linux et navigateurs Web.",

locales/it/translation.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
},
2020
"content": {
2121
"phoenix": "Presentazione dell'editor di Phoenix Code",
22+
"phoenixUpgrade": "Brackets consiglia agli utenti di scaricare Phoenix Code, la prossima generazione di Brackets.",
23+
"phoenixioDownload": "Scaricalo da phcode.io",
2224
"phoenixLaunch": "Avvia l'editor web",
2325
"phoenixio": "Ottienilo da phcode.io",
2426
"phoenixInfo1": "Phoenix Code è la prossima generazione di Brackets che funziona ovunque: Windows, macOS, Linux e browser Web.",

locales/ja/translation.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
},
2020
"content": {
2121
"phoenix": "Phoenix Codeエディターの紹介",
22+
"phoenixUpgrade": "Brackets は、次世代の Brackets である Phoenix Code をダウンロードすることをユーザーに推奨しています。",
23+
"phoenixioDownload": "phcode.ioからダウンロード",
2224
"phoenixLaunch": "Webエディタを起動する",
2325
"phoenixio": "phcode.ioから入手してください",
2426
"phoenixInfo1": "Phoenix Code は、Windows、macOS、Linux、Web ブラウザなど、どこでも実行できる次世代の Brackets です。",

locales/ko/translation.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
},
2020
"content": {
2121
"phoenix": "Phoenix Code 편집기 소개",
22+
"phoenixUpgrade": "Brackets는 사용자에게 차세대 Brackets인 Phoenix Code를 다운로드할 것을 권장합니다.",
23+
"phoenixioDownload": "phcode.io에서 다운로드",
2224
"phoenixLaunch": "웹 에디터 실행",
2325
"phoenixio": "phcode.io에서 받기",
2426
"phoenixInfo1": "Phoenix Code는 Windows, macOS, Linux 및 웹 브라우저 등 어디에서나 실행되는 차세대 Brackets입니다.",

locales/pt-BR/translation.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
},
2020
"content": {
2121
"phoenix": "Apresentando o Editor de Phoenix Code",
22+
"phoenixUpgrade": "Brackets recomenda que os usuários baixem o Phoenix Code - a próxima geração de Brackets.",
23+
"phoenixioDownload": "Baixe em phcode.io",
2224
"phoenixLaunch": "Inicie o Editor da Web",
2325
"phoenixio": "Obtenha-o em phcode.io",
2426
"phoenixInfo1": "Phoenix Code é a próxima geração do Brackets que roda em qualquer lugar - Windows, macOS, Linux e navegadores da Web.",

0 commit comments

Comments
 (0)