Skip to content

Commit

Permalink
move about info into config file
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoreilly committed May 5, 2024
1 parent 4d94883 commit 18fd113
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions core.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Name = "Cogent Core"
ID = "com.cogent.website"
About = "A free and open source software ecosystem for all platforms, built around a powerful, fast, and elegant framework"
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func main() {
return x(uc) * (128.0 / 612.0)
}))
})
core.NewText(frame).SetType(core.TextHeadlineMedium).SetText("A free and open source software ecosystem for all platforms, built around a powerful, fast, and elegant framework")
core.NewText(frame).SetType(core.TextHeadlineMedium).SetText(core.AppAbout)

Check failure on line 38 in main.go

View workflow job for this annotation

GitHub Actions / build

undefined: core.AppAbout
core.NewButton(frame).SetText("Learn about the Cogent Core framework").OnClick(func(e events.Event) {
core.TheApp.OpenURL("https://cogentcore.org/core")
})
Expand Down

0 comments on commit 18fd113

Please sign in to comment.