Skip to content

Commit

Permalink
feat(ui): Finish about page
Browse files Browse the repository at this point in the history
  • Loading branch information
RooobinYe committed Aug 15, 2024
1 parent 6788472 commit 38786d5
Showing 1 changed file with 45 additions and 5 deletions.
50 changes: 45 additions & 5 deletions ui/views/page/about.slint
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
import { Token } from "../../global.slint";
import { Page, Empty } from "../../components/index.slint";
import { SCarousel } from "../../modules/surrealism-ui/index.slint";
import { EventoImageToken } from "../../assets/image/image_token.slint";
import { EventoStyleToken } from "../../logic/style_token.slint";
import { DefaultSCarouselProps } from "../../modules/surrealism-ui/themes/src/carousel.slint";
import { AboutSlint } from "std-widgets.slint";

export global AboutPageBridge { }
// Made with Slint badge
export component AboutSlint inherits Window {
height: 175px;
AboutSlint { }
}

export component AboutPage inherits Page {
// TODO: implement About
// optional
export component AboutWebLink inherits Page {
background := Empty { }

layout := VerticalLayout {
Expand All @@ -25,8 +32,41 @@ export component AboutPage inherits Page {
border-width: 4px;
border-color: red;
Text {
text: "关于页面\n ";
text: "网页版链接:evento.sast.fun\nGitHub 仓库:github.com/NJUPT-SAST/sast-evento/\n";
}
}
}
}

export global AboutPageBridge { }

export component AboutPage inherits Page {
// // TODO: implement About
// // optional
// background := Empty { }

// layout := VerticalLayout {
// visible: false;
// x: 0;
// y: 0;
// width: 100%;
// height: 100%;
// }

// body := Empty {
// x: 0;
// y: 0;
// width: 100%;
// height: 100%;
// placeholder := Rectangle {
// border-width: 4px;
// border-color: red;
// Text {
// text: "关于页面\n ";
// }
// }
// }

AboutSlint {}
AboutWebLink {}
}

0 comments on commit 38786d5

Please sign in to comment.