From 91108f5fa341d184bbafe9db25c2b7ef6209617d Mon Sep 17 00:00:00 2001 From: BilelJegham Date: Sun, 29 Oct 2023 17:44:17 +0100 Subject: [PATCH] feat: lang switch --- src/components/NavBar.vue | 23 +++++-- src/components/UsernameLine.vue | 2 +- src/components/leaderboard/LeaderBoard.vue | 61 +++---------------- src/lang/index.ts | 27 +++++--- src/lang/locales/en.json | 6 +- src/views/EventView.vue | 14 +++-- src/views/FAQView.vue | 6 +- .../20231029115759_fixLeaderboardAuthor.sql | 44 +++++++++++++ supabase/seed.sql | 2 +- templates/chouquette/src/lang/locales/en.json | 6 +- 10 files changed, 118 insertions(+), 73 deletions(-) create mode 100644 supabase/migrations/20231029115759_fixLeaderboardAuthor.sql diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index d12d769..e9847ac 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -1,5 +1,5 @@