From 22733f8f0ff3a2bd0b98d18ab9fc53bb7a02d367 Mon Sep 17 00:00:00 2001 From: sevenc-nanashi Date: Thu, 29 Aug 2024 19:29:28 +0900 Subject: [PATCH] Add: Add more button --- frontend/app/routes/_index.tsx | 8 ++++++++ frontend/app/routes/charts._index.tsx | 2 +- frontend/i18n/en.yml | 1 + frontend/i18n/ja.yml | 2 ++ 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/frontend/app/routes/_index.tsx b/frontend/app/routes/_index.tsx index 5688e1d..6d98931 100644 --- a/frontend/app/routes/_index.tsx +++ b/frontend/app/routes/_index.tsx @@ -87,6 +87,14 @@ export const Home = () => { fetchCharts={fetchNewCharts} onEmpty={() =>
{t("empty")}
} /> +
+ + {t("more")} + +
); diff --git a/frontend/app/routes/charts._index.tsx b/frontend/app/routes/charts._index.tsx index b095a77..26ddaf0 100644 --- a/frontend/app/routes/charts._index.tsx +++ b/frontend/app/routes/charts._index.tsx @@ -164,7 +164,7 @@ const Search = () => {

{t("queries")}

{open ? : } -
+
{currentQuery}
diff --git a/frontend/i18n/en.yml b/frontend/i18n/en.yml index 2a7a1f6..57487b0 100644 --- a/frontend/i18n/en.yml +++ b/frontend/i18n/en.yml @@ -25,6 +25,7 @@ home: welcome: "Welcome to Chart Cyanvas! If you are new to this site, please read <0>How to use." empty: "No charts found." openInSonolus: "Open in Sonolus" + more: "More" menu: search: "Search charts" diff --git a/frontend/i18n/ja.yml b/frontend/i18n/ja.yml index ee63ade..51be695 100644 --- a/frontend/i18n/ja.yml +++ b/frontend/i18n/ja.yml @@ -24,6 +24,8 @@ home: newCharts: "新着譜面" welcome: "Chart Cyanvasへようこそ!初めての方は<0>初めての方へを参照して下さい。" openInSonolus: "Sonolusで開く" + empty: "譜面が見付かりませんでした。" + more: "もっと見る" menu: search: "譜面検索" post: "譜面投稿"