From e1ac51c31f16f0075bcaa64e8927fd02744c7d8f Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Mon, 27 Apr 2026 09:24:25 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20focus=20modern=20grid=20on=20TIOBE=20To?= =?UTF-8?q?p=2020=20with=20'Xem=20t=E1=BA=A5t=20c=E1=BA=A3'=20expand=20tog?= =?UTF-8?q?gle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Default view shows only TIOBE-ranked languages (19 chips total) for a cleaner first impression. A single button at the top of the modern panel toggles to the full 664-language list. Card counts now read 'X TIOBE · Y khác'. Chips of TIOBE-ranked languages get a slightly heavier border to stand out. - js/tiobe-top.js: TIOBE Top 20 (April 2026) keyed by GH Linguist names - js/main.js: tag entries with rank, sort TIOBE-first then alphabetical - js/render-elements.js: chip distinction + view-toggle mount - index.html: view-toggle slot + updated disclaimer - style.css: .chip-tiobe / .chip-other / .view-toggle-btn rules --- index.html | 3 ++- js/main.js | 14 +++++++++++--- js/render-elements.js | 34 +++++++++++++++++++++++++++++----- js/tiobe-top.js | 25 +++++++++++++++++++++++++ style.css | 41 +++++++++++++++++++++++++++++++++++++++++ 5 files changed, 108 insertions(+), 9 deletions(-) create mode 100644 js/tiobe-top.js diff --git a/index.html b/index.html index a3c885b..7a015b4 100644 --- a/index.html +++ b/index.html @@ -67,10 +67,11 @@