Skip to content

Commit

Permalink
#148: updates links in about screen to point to logorrr's issue tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
rladstaetter committed Sep 3, 2023
1 parent 50ac4db commit 5d50957
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions app/src/main/scala/app/logorrr/views/about/AboutScreen.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package app.logorrr.views.about

import app.logorrr.meta.AppMeta
import app.logorrr.util.{HLink, ImageCp, LogoRRRFonts}
import javafx.geometry.Insets
import javafx.geometry.{Insets, Pos}
import javafx.scene.control._
import javafx.scene.image.ImageView
import javafx.scene.layout.{BorderPane, VBox}
Expand All @@ -13,16 +13,17 @@ object AboutScreen {
val logo = ImageCp("/app/logorrr/icon/logorrr-icon-128.png", 128, 128)

val links = Seq(
HLink("https://www.logorrr.app/", "LogoRRR Homepage")
, HLink("https://www.twitter.com/logorrr/", "LogoRRR on twitter")
, HLink("https://www.github.com/rladstaetter/LogoRRR/", "LogoRRR on github (source code)")
, HLink("https://www.buymeacoffee.com/rladstaetter/", "Support LogoRRR via buymeacoffee.com"))
HLink("https://www.logorrr.app/", "https://www.logorrr.app/")
, HLink("https://www.github.com/rladstaetter/LogoRRR/", "Source code")
, HLink("https://github.com/rladstaetter/LogoRRR/issues/", "Report a bug"))

case class MonoLabel(text: String, size: Int) extends Label(text) {
setStyle(LogoRRRFonts.jetBrainsMono(size))
}

class HLinkView(links: Seq[HLink]) extends VBox {
setAlignment(Pos.CENTER_LEFT)
setSpacing(10)
setPrefWidth(400)
setPadding(new Insets(30, 20, 20, 20))

Expand Down

0 comments on commit 5d50957

Please sign in to comment.