diff --git a/src/qml/WelcomeTab.qml b/src/qml/WelcomeTab.qml index 248aa3de..37ddad9c 100644 --- a/src/qml/WelcomeTab.qml +++ b/src/qml/WelcomeTab.qml @@ -2,6 +2,7 @@ import QtQuick 2.0 import QtQuick.Layouts 1.1 import QtQuick.Controls 2.3 import "./common" +import "./common/platformutils.js" as PlatformUtils BetterTab { id: root @@ -13,22 +14,58 @@ BetterTab { id: topLayout spacing: 15 Layout.fillWidth: true - Layout.preferredHeight: 120 + Layout.preferredHeight: 350 Image { id: logo - source: "qrc:/images/logo.png" - Layout.preferredWidth: 120 - Layout.preferredHeight: 120 + source: "qrc:/images/redisinsight.svg" + Layout.preferredWidth: 50 + Layout.preferredHeight: 50 + Layout.alignment: Qt.AlignTop fillMode: Image.PreserveAspectFit } ColumnLayout { Layout.fillWidth: true - RichTextWithLinks { Layout.fillWidth: true; html: 'RESP.app - GUI for Redis®'} - RichTextWithLinks { Layout.fillWidth: true; html: ''+ qsTranslate("RESP","Version") + ' ' + Qt.application.version +'' } - RichTextWithLinks { Layout.fillWidth: true; html: qsTranslate("RESP", 'Powered by awesome open-source software and ' - + 'icons8.')} + RichTextWithLinks { Layout.fillWidth: true; html: 'RedisInsight is the successor to RESP.app'} + RichTextWithLinks { Layout.fillWidth: true; html: '
In 2022, Redis joined forces with the creator of RESP.app, Igor Malinovskyi, ' + + 'bringing RESP.app’s popular features into RedisInsight. RedisInsight now provides improved ' + + 'performance and these additional features:
' + + '' } + RowLayout { + Layout.fillWidth: true + Layout.alignment: Qt.AlignHCenter + Layout.margins: 20; + + BetterButton { + text: qsTranslate("RESP","Download from Snapcraft") + onClicked: Qt.openUrlExternally("https://snapcraft.io/redisinsight") + visible: PlatformUtils.isLinux() + } + + BetterButton { + text: qsTranslate("RESP","Download from Flathub") + onClicked: Qt.openUrlExternally("https://flathub.org/apps/details/com.redis.RedisInsight") + visible: PlatformUtils.isLinux() + } + + BetterButton { + text: qsTranslate("RESP","Download") + onClicked: Qt.openUrlExternally("https://redis.com/redis-enterprise/redis-insight/") + visible: !PlatformUtils.isLinux() + } + } + + + RichTextWithLinks { Layout.fillWidth: true; html: '
Thank you for being a RESP.app user! ' + + ' To transfer your connections to RedisInsight seamlessly, please follow the migration guide. If you face any migration issues, please contact igor@resp.app.
'} + } } diff --git a/src/qml/connections/ConnectionSettignsDialog.qml b/src/qml/connections/ConnectionSettignsDialog.qml index b820e676..79747e88 100644 --- a/src/qml/connections/ConnectionSettignsDialog.qml +++ b/src/qml/connections/ConnectionSettignsDialog.qml @@ -416,7 +416,7 @@ BetterDialog { RichTextWithLinks { Layout.fillWidth: true wrapMode: Text.WrapAnywhere - html: '' + qsTranslate("RESP",'Spin up hassle-free Redis on Digital Ocean') + '' + html: '' + qsTranslate("RESP",'Use Redis Cloud: Up to 6 month free with $200 credits') + '' } } diff --git a/src/resources/images.qrc b/src/resources/images.qrc index cd639c89..f95a541f 100644 --- a/src/resources/images.qrc +++ b/src/resources/images.qrc @@ -7,5 +7,6 @@ images/aws_logo_white.svg images/azure_logo.svg images/heroku_logo.svg + images/redisinsight.svg diff --git a/src/resources/images/redisinsight.svg b/src/resources/images/redisinsight.svg new file mode 100644 index 00000000..9f787f1c --- /dev/null +++ b/src/resources/images/redisinsight.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + +