From c3b4bee020728a568971b401d00dfef4fbcfe62e Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Wed, 23 Dec 2020 14:04:22 +0100 Subject: [PATCH] remove beta mentions --- app/views/dgt.scala | 2 +- app/views/puzzle/theme.scala | 2 +- ui/puzzle/css/_side.scss | 14 -------------- ui/puzzle/src/view/side.ts | 8 +------- 4 files changed, 3 insertions(+), 23 deletions(-) diff --git a/app/views/dgt.scala b/app/views/dgt.scala index e01d93f1e0..d898af3dbc 100644 --- a/app/views/dgt.scala +++ b/app/views/dgt.scala @@ -14,7 +14,7 @@ object dgt { def index(implicit ctx: Context) = layout("index")( - h1("Lichess <3 DGT (BETA)"), + h1("Lichess <3 DGT"), p( "This page allows you to connect your DGT board to Lichess, and to use it for playing games." ), diff --git a/app/views/puzzle/theme.scala b/app/views/puzzle/theme.scala index 140e303c2a..cc3067176c 100644 --- a/app/views/puzzle/theme.scala +++ b/app/views/puzzle/theme.scala @@ -17,7 +17,7 @@ object theme { moreCss = cssTag("puzzle.page") )( main(cls := "page box")( - h1("Puzzle themes (V2 BETA)"), + h1("Puzzle themes"), div(cls := "puzzle-themes")( themes map { case (cat, themes) => frag( diff --git a/ui/puzzle/css/_side.scss b/ui/puzzle/css/_side.scss index 32de98d8b0..c15753d155 100644 --- a/ui/puzzle/css/_side.scss +++ b/ui/puzzle/css/_side.scss @@ -96,20 +96,6 @@ border: none; } } - - &__beta { - @extend %box-neat; - margin-top: 1vmin; - padding: 1em; - background: mix($c-brag, $c-bg-box, 15%); - strong { - display: block; - font-size: 1.2em; - font-weight: normal; - color: $c-brag; - margin-bottom: .5em; - } - } } &__theme { diff --git a/ui/puzzle/src/view/side.ts b/ui/puzzle/src/view/side.ts index c9b1e22a2c..cac6746f76 100644 --- a/ui/puzzle/src/view/side.ts +++ b/ui/puzzle/src/view/side.ts @@ -19,8 +19,7 @@ function puzzleInfos(ctrl: Controller, puzzle: Puzzle): VNode { h('p', [ ...ctrl.trans.vdom('puzzleId', h('a', { attrs: { href: `/training/${puzzle.id}` } - }, '#' + puzzle.id)), - h('strong', ' V2 BETA') + }, '#' + puzzle.id)) ]), h('p', ctrl.trans.vdom('ratingX', ctrl.vm.mode === 'play' ? h('span.hidden', ctrl.trans.noarg('hidden')) : h('strong', puzzle.rating))), h('p', ctrl.trans.vdom('playedXTimes', h('strong', numberFormat(puzzle.plays)))) @@ -107,11 +106,6 @@ export function config(ctrl: Controller): MaybeVNode { }, }, ctrl.trans.noarg(diff)) )) - ]) : null, - ctrl.difficulty ? h('div.puzzle__side__config__beta', [ - h('strong', "Puzzles v2 are brand new!"), - "They don't have stable ratings yet, so you may find them too hard or too easy.", h('br'), - "Please bear with us, it should only last a few days!" ]) : null ]); }