mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 19:57:45 +00:00
Add lodestone and mog station links to the bottom of the login page
This commit is contained in:
parent
6e1cf37ecc
commit
1ce2d2dc9c
2 changed files with 28 additions and 1 deletions
|
@ -122,7 +122,6 @@ QQC2.Control {
|
||||||
visible: LauncherCore.profileManager.numProfiles > 1
|
visible: LauncherCore.profileManager.numProfiles > 1
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
|
||||||
|
|
||||||
FormCard.FormButtonDelegate {
|
FormCard.FormButtonDelegate {
|
||||||
id: currentProfileDelegate
|
id: currentProfileDelegate
|
||||||
|
@ -290,5 +289,32 @@ QQC2.Control {
|
||||||
onClicked: applicationWindow().openUrl('https://secure.square-enix.com/account/app/svc/reminder')
|
onClicked: applicationWindow().openUrl('https://secure.square-enix.com/account/app/svc/reminder')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Item {
|
||||||
|
Layout.fillHeight: true
|
||||||
|
}
|
||||||
|
|
||||||
|
FormCard.FormCard {
|
||||||
|
maximumWidth: Kirigami.Units.gridUnit * 25
|
||||||
|
|
||||||
|
Layout.alignment: Qt.AlignBottom
|
||||||
|
|
||||||
|
FormCard.FormButtonDelegate {
|
||||||
|
text: i18nc("@action:button", "The Lodestone")
|
||||||
|
icon.name: "internet-services-symbolic"
|
||||||
|
visible: !LauncherCore.currentProfile.account.isSapphire
|
||||||
|
// TODO: how do we link to a "worldwide" lodestone, if that even exists?
|
||||||
|
onClicked: applicationWindow().openUrl('https://na.finalfantasyxiv.com/lodestone/')
|
||||||
|
}
|
||||||
|
|
||||||
|
FormCard.FormDelegateSeparator {}
|
||||||
|
|
||||||
|
FormCard.FormButtonDelegate {
|
||||||
|
text: i18nc("@action:button", "Mog Station")
|
||||||
|
icon.name: "internet-services-symbolic"
|
||||||
|
visible: !LauncherCore.currentProfile.account.isSapphire
|
||||||
|
onClicked: applicationWindow().openUrl('https://secure.square-enix.com/account/app/svc/mogstation/')
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -44,6 +44,7 @@ Kirigami.Page {
|
||||||
Layout.minimumWidth: LauncherCore.settings.showNews ? Kirigami.Units.gridUnit * 26 : 0
|
Layout.minimumWidth: LauncherCore.settings.showNews ? Kirigami.Units.gridUnit * 26 : 0
|
||||||
Layout.fillWidth: !LauncherCore.settings.showNews
|
Layout.fillWidth: !LauncherCore.settings.showNews
|
||||||
Layout.topMargin: Kirigami.Units.largeSpacing
|
Layout.topMargin: Kirigami.Units.largeSpacing
|
||||||
|
Layout.fillHeight: true
|
||||||
}
|
}
|
||||||
|
|
||||||
Kirigami.Separator {
|
Kirigami.Separator {
|
||||||
|
|
Loading…
Add table
Reference in a new issue