import { AboutSlint, VerticalBox, HorizontalBox } from "std-widgets.slint";

export component PageAbout inherits VerticalLayout {
    padding: 10px;
    spacing: 10px;
    Text {
        vertical-alignment: TextVerticalAlignment.center;
        horizontal-alignment: TextHorizontalAlignment.center;
        text: "A UI for asusctl made with slint";
        font-size: 22px;
    }

    HorizontalBox {
        alignment: LayoutAlignment.center;
        VerticalBox {
            alignment: LayoutAlignment.center;

            Text {
                wrap: TextWrap.word-wrap;
                text: "You will require a kernel built with my work from here: https://github.com/flukejones/linux";
            }

            Text {
                vertical-alignment: TextVerticalAlignment.center;
                horizontal-alignment: TextHorizontalAlignment.center;
                text: "Todo:";
                font-size: 22px;
            }

            Text {
                text: "- [ ] Theme the widgets";
            }

            Text {
                text: "- [ ] Add a cpu/gpu temp/fan speed info bar";
            }

            Text {
                text: "- [ ] Include fan speeds, temps in a bottom bar";
            }

            Text {
                text: "- [ ] Slash control";
            }

            Text {
                text: "- [ ] Supergfx control";
            }

            Text {
                text: "- [ ] Screenpad controls";
            }

            Text {
                text: "- [ ] ROG Ally specific settings";
            }
        }
    }

    Text {
        vertical-alignment: TextVerticalAlignment.center;
        horizontal-alignment: TextHorizontalAlignment.center;
        text: "Work in progress";
        font-size: 22px;
    }
}
