From 7d0960bbdced8398bc3cec36e5d15e1c31b54f4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Tue, 14 Mar 2023 21:56:50 +0800 Subject: Alias to home default banner stuff --- HomeDefault.ui.qml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'HomeDefault.ui.qml') 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 -- cgit v1.2.3