remove beta mentions
parent
fe3ee253d0
commit
c3b4bee020
|
@ -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."
|
||||
),
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue