Implement get started buttons

This commit is contained in:
luboslenco
2023-06-07 14:13:10 +02:00
parent dd0ae62607
commit 5ee8838ef3
+10 -3
View File
@@ -4,6 +4,7 @@ import zui.Zui;
import zui.Id;
import arm.io.ImportArm;
import arm.sys.Path;
import arm.sys.File;
@:access(zui.Zui)
class BoxProjects {
@@ -230,9 +231,15 @@ class BoxProjects {
static function getStartedTab(ui: Zui) {
if (ui.tab(htab, tr("Get Started"), true)) {
ui.button("How To");
ui.button("Manual");
ui.button("What's new");
if (ui.button(tr("Manual"))) {
File.loadUrl(Manifest.url + "/manual");
}
if (ui.button(tr("How To"))) {
File.loadUrl(Manifest.url + "/howto");
}
if (ui.button(tr("What's New"))) {
File.loadUrl(Manifest.url + "/notes");
}
}
}