| 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> |
| 2 | // SPDX-License-Identifier: MIT |
| 3 | |
| 4 | import { Theme } from "../theme.slint" ; |
| 5 | import { Images } from "../images.slint" ; |
| 6 | import { Page } from "page.slint" ; |
| 7 | import { IconButton } from "../widgets/widgets.slint" ; |
| 8 | import { GroupBox } from "../widgets/group_box.slint" ; |
| 9 | |
| 10 | export component About inherits Page { |
| 11 | GroupBox { |
| 12 | VerticalLayout { |
| 13 | vertical-stretch: 1; |
| 14 | spacing: Theme.spaces.medium; |
| 15 | alignment: start; |
| 16 | |
| 17 | Text { |
| 18 | vertical-stretch: 0; |
| 19 | horizontal-alignment: center; |
| 20 | text: "Developed by" ; |
| 21 | color: Theme.palette.slint-blue-100; |
| 22 | font-size: Theme.typo.header-item.size; |
| 23 | font-weight: Theme.typo.header-item.weight; |
| 24 | } |
| 25 | |
| 26 | Image { |
| 27 | preferred-height: 55px; |
| 28 | source: Images.slint-logo; |
| 29 | } |
| 30 | |
| 31 | // spacer |
| 32 | Rectangle { |
| 33 | vertical-stretch: 1; |
| 34 | } |
| 35 | |
| 36 | Text { |
| 37 | vertical-stretch: 0; |
| 38 | horizontal-alignment: center; |
| 39 | text: "Designed by" ; |
| 40 | color: Theme.palette.slint-blue-100; |
| 41 | font-size: Theme.typo.header-item.size; |
| 42 | font-weight: Theme.typo.header-item.weight; |
| 43 | } |
| 44 | |
| 45 | Image { |
| 46 | preferred-height: 42px; |
| 47 | source: Images.spyrosoft-logo; |
| 48 | } |
| 49 | } |
| 50 | } |
| 51 | } |
| 52 | |