import QtQuick 2.4
import Ubuntu.Components 1.3
import Ubuntu.Components.ListItems 1.3 as ListItem
Page {
header: PageHeader {
id: pageHeader
title: i18n.tr("Home")
trailingActionBar.actions: [
Action {
iconName: "info"
text: i18n.tr("Info")
onTriggered: pageStack.push(Qt.resolvedUrl("components/About.qml"))
}
]
}
Column {
anchors {
fill: parent
top: pageHeader.bottom
topMargin: units.gu(6)
}
ListItem.Standard {
text: i18n.tr("News")
onClicked: pageStack.push(Qt.resolvedUrl("News.qml"))
progression: true
}
ListItem.Standard {
text: i18n.tr("Support")
onClicked: pageStack.push(Qt.resolvedUrl("Support.qml"))
progression: true
}
ListItem.Standard {
text: i18n.tr("Social")
onClicked: pageStack.push(Qt.resolvedUrl("Social.qml"))
progression: true
}
ListItem.Standard {
text: i18n.tr("Contribute")
onClicked: pageStack.push(Qt.resolvedUrl("Contribute.qml"))
progression: true
}
ListItem.Standard {
text: i18n.tr("Family")
onClicked: pageStack.push(Qt.resolvedUrl("Family.qml"))
progression: true
}
}
}