Qml/ModPage: make name bold and bigger, show authors

This commit is contained in:
Toast 2025-06-05 02:25:07 +02:00
parent 4edfdc8706
commit 446ca73a91

View file

@ -62,11 +62,17 @@ Kirigami.Page {
// Name and author
ColumnLayout {
Controls.Label {
text: `Name: ${mod.name}`
Kirigami.Heading {
text: mod.name
type: Kirigami.Heading.Type.Primary
}
Controls.Label {
text: `Author placeholder`
property bool hasAuthors: mod.authors.length > 0
function joinAuthors() {
return mod.authors.join(", ")
}
text: hasAuthors ? joinAuthors() : "Unknown author"
}
}
}