mirror of
https://github.com/smyalygames/checklist-tester.git
synced 2025-05-18 06:24:12 +02:00
feat(connector): add about page
This commit is contained in:
parent
e02ed0f33b
commit
e3b1f6b222
@ -1,8 +1,12 @@
|
||||
package tab
|
||||
import androidx.compose.foundation.layout.Column
|
||||
import androidx.compose.foundation.layout.*
|
||||
import androidx.compose.material3.Text
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.remember
|
||||
import androidx.compose.ui.Alignment
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.text.style.TextAlign
|
||||
import androidx.compose.ui.unit.dp
|
||||
import cafe.adriel.voyager.navigator.tab.Tab
|
||||
import cafe.adriel.voyager.navigator.tab.TabOptions
|
||||
import connector.composeapp.generated.resources.Res
|
||||
@ -29,8 +33,22 @@ class About : Tab {
|
||||
|
||||
@Composable
|
||||
override fun Content() {
|
||||
Column {
|
||||
Text("About")
|
||||
Column (
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.fillMaxHeight()
|
||||
.padding(24.dp),
|
||||
horizontalAlignment = Alignment.CenterHorizontally,
|
||||
verticalArrangement = Arrangement.Center,
|
||||
) {
|
||||
Text(
|
||||
text = "The Checklist Tester is developed by Anthony Berg.",
|
||||
textAlign = TextAlign.Center
|
||||
)
|
||||
Spacer(Modifier.size(24.dp))
|
||||
Text("The aim of this Checklist Tester is to test checklists in a simulator " +
|
||||
"without the need for a pilot and provide feedback on the results of the checklist.",
|
||||
textAlign = TextAlign.Center)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user