Warning, /plasma/plasma-welcome/src/qml/pages/Contribute.qml is written in an unsupported language. File is not indexed.
0001 /*
0002 * SPDX-FileCopyrightText: 2021 Felipe Kinoshita <kinofhek@gmail.com>
0003 * SPDX-FileCopyrightText: 2022 Nate Graham <nate@kde.org>
0004 *
0005 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0006 */
0007
0008 import QtQuick
0009 import QtQuick.Controls as QQC2
0010 import QtQuick.Layouts
0011 import org.kde.kirigami as Kirigami
0012
0013 import org.kde.plasma.welcome
0014
0015 GenericPage {
0016 heading: i18nc("@title:window", "Get Involved")
0017 description: xi18nc("@info:usagetip", "KDE is not a big company; it's an international volunteer community, and its software is made by people like you donating their time and passion. You too can help make things better, whether it's through translation, visual design, and promotion, or programming and bug triaging.<nl/><nl/>By contributing to KDE, you can become part of something special, meet new friends, learn new skills, and make a difference to millions while working with people from around the globe to deliver a stunning free software computing experience.")
0018
0019 topContent: [
0020 Kirigami.UrlButton {
0021 id: link
0022 Layout.topMargin: Kirigami.Units.largeSpacing
0023 text: i18nc("@action:button", "Start Contributing!")
0024 url: "https://community.kde.org/Get_Involved?source=plasma-welcome"
0025 }
0026 ]
0027
0028 Image {
0029 anchors.centerIn: parent
0030 anchors.verticalCenterOffset: -Kirigami.Units.gridUnit
0031 height: Math.min(Math.round(parent.height), Kirigami.Units.gridUnit * 16)
0032 fillMode: Image.PreserveAspectFit
0033 source: "konqi-build.png"
0034
0035 HoverHandler {
0036 id: hoverhandler
0037 cursorShape: Qt.PointingHandCursor
0038 }
0039 TapHandler {
0040 onTapped: Qt.openUrlExternally(link.url)
0041 }
0042 QQC2.ToolTip {
0043 visible: hoverhandler.hovered
0044 text: i18nc("@action:button clicking on this takes the user to a web page", "Visit %1", link.url)
0045 }
0046 }
0047 }