Skip to content

Commit

Permalink
remove BETA tag from opening page
Browse files Browse the repository at this point in the history
  • Loading branch information
schlawg committed Dec 23, 2024
1 parent c8da1ec commit 62a3c50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions modules/opening/src/main/ui/OpeningBits.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import ScalatagsTemplate.{ *, given }
final class OpeningBits(helpers: Helpers):
import helpers.{ *, given }

def beta = span(cls := "opening__beta")("BETA")

def pageModule(page: Option[OpeningPage])(using Context) =
PageModule(
"opening",
Expand Down
5 changes: 2 additions & 3 deletions modules/opening/src/main/ui/OpeningUi.scala
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ final class OpeningUi(helpers: Helpers, bits: OpeningBits, wiki: WikiUi):
searchAndConfig(page.query.config, "", ""),
resultsList(Nil),
boxTop(
h1("Chess openings", bits.beta),
h1("Chess openings"),
div(cls := "box__top__actions")(
a(href := routes.Opening.tree)("Name tree"),
a(href := s"${routes.UserAnalysis.index}#explorer")("Explorer")
Expand Down Expand Up @@ -96,8 +96,7 @@ final class OpeningUi(helpers: Helpers, bits: OpeningBits, wiki: WikiUi):
a(href := openingKeyUrl(k))(cls := className)(name)
}
)
),
beta
)
)
),
div(cls := "opening__intro")(
Expand Down

0 comments on commit 62a3c50

Please sign in to comment.