@(json: play.api.libs.json.JsObject)(implicit ctx: Context) @moreCss = { @cssTag("tournament_calendar.css") } @moreJs = { @jsAt(s"compiled/lichess.tournament-calendar${isProd??(".min")}.js") @embedJs { var app = LichessTournamentCalendar.app(document.getElementById('tournament_calendar'), { data: @safeJson(json), i18n: @jsI18n() }); } } @base.layout( title = "Tournament calendar", moreJs = moreJs, moreCss = moreCss) {