diff --git a/atcoder-problems-frontend/src/pages/TablePage/index.tsx b/atcoder-problems-frontend/src/pages/TablePage/index.tsx index ddaf4a2f..62032e81 100644 --- a/atcoder-problems-frontend/src/pages/TablePage/index.tsx +++ b/atcoder-problems-frontend/src/pages/TablePage/index.tsx @@ -130,6 +130,7 @@ export const TablePage: React.FC = (props) => { "ARC", "AGC", "AWC", + "ADT", "ABC-Like", "ARC-Like", "AGC-Like", @@ -149,6 +150,8 @@ export const TablePage: React.FC = (props) => { ? "AtCoder Grand Contest" : activeTab === "AWC" ? "AtCoder Weekday Contest" + : activeTab === "ADT" + ? "AtCoder Daily Training" : activeTab === "PAST" ? "PAST" : `${activeTab} Contest` diff --git a/atcoder-problems-frontend/src/utils/ContestClassifier.ts b/atcoder-problems-frontend/src/utils/ContestClassifier.ts index ffe342c4..73077336 100644 --- a/atcoder-problems-frontend/src/utils/ContestClassifier.ts +++ b/atcoder-problems-frontend/src/utils/ContestClassifier.ts @@ -61,7 +61,9 @@ export const classifyContest = ( if (/^awc\d{4}$/.exec(contest.id)) { return "AWC"; } - if (/^adt_/.exec(contest.id)) { + if ( + /^adt_/.exec(contest.id) && + !["adt_top"].includes(contest.id)) { return "ADT"; } if (