summaryrefslogtreecommitdiff
path: root/HomeDefault.ui.qml
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-14 21:56:50 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-14 21:56:50 +0800
commit7d0960bbdced8398bc3cec36e5d15e1c31b54f4d (patch)
tree2e7ae41722c60fa43fe6cfc400dcd16104d21c3a /HomeDefault.ui.qml
parent1773b316a7d6e34d5894b82353d45502621f72e0 (diff)
Alias to home default banner stuff
Diffstat (limited to 'HomeDefault.ui.qml')
-rw-r--r--HomeDefault.ui.qml7
1 files changed, 5 insertions, 2 deletions
diff --git a/HomeDefault.ui.qml b/HomeDefault.ui.qml
index 1b9dfc9..25855d3 100644
--- a/HomeDefault.ui.qml
+++ b/HomeDefault.ui.qml
@@ -4,6 +4,9 @@ import QtQuick.Layouts 1.15
import QtGraphicalEffects 1.15
Flickable {
+ property string bannerTitleText: qsTr("Limitless learning at your fingertips")
+ property string bannerContentText: qsTr("Online learning and teaching marketplace with 5K+ courses & 10M students. Taught by experts to help you acquire new skills.")
+ property alias image: image
property alias counter: counter
property alias tabs: tabs
property alias tabsContent: tabsContent
@@ -50,7 +53,7 @@ Flickable {
}
Label {
- text: qsTr("Limitless learning at your fingertips")
+ text: bannerTitleText
color: "#24292d"
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.Wrap
@@ -68,7 +71,7 @@ Flickable {
}
Label {
- text: qsTr("Online learning and teaching marketplace with 5K+ courses & 10M students. Taught by experts to help you acquire new skills.")
+ text: bannerContentText
color: "#747579"
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.Wrap