From 17290562c83182bc3d70fb748a8ddef5cb93a8d5 Mon Sep 17 00:00:00 2001 From: Ben Grant Date: Mon, 31 May 2021 20:33:37 +1000 Subject: [PATCH] Cleaned up styles, squishy crab, better language switching --- crabfit-frontend/public/index.html | 2 +- crabfit-frontend/src/App.tsx | 6 +- .../CalendarField/CalendarField.tsx | 22 ++----- crabfit-frontend/src/components/Logo/Logo.tsx | 31 +++++++++ .../src/components/Logo/logoStyle.ts | 64 +++++++++++++++++++ .../src/components/Settings/Settings.tsx | 21 +++++- crabfit-frontend/src/components/index.ts | 1 + crabfit-frontend/src/i18n/index.ts | 2 +- crabfit-frontend/src/pages/Event/Event.tsx | 30 ++------- .../src/pages/Event/eventStyle.ts | 21 ------ crabfit-frontend/src/pages/Help/Help.tsx | 18 ++---- crabfit-frontend/src/pages/Help/helpStyle.ts | 32 ---------- crabfit-frontend/src/pages/Home/Home.tsx | 4 +- .../src/pages/Privacy/Privacy.tsx | 17 ++--- .../{dayjs_locales.js => dayjs_locales.ts} | 0 crabfit-frontend/src/stores/index.ts | 2 +- 16 files changed, 140 insertions(+), 133 deletions(-) create mode 100644 crabfit-frontend/src/components/Logo/Logo.tsx create mode 100644 crabfit-frontend/src/components/Logo/logoStyle.ts rename crabfit-frontend/src/res/{dayjs_locales.js => dayjs_locales.ts} (100%) diff --git a/crabfit-frontend/public/index.html b/crabfit-frontend/public/index.html index 7e8066b..0ff263d 100644 --- a/crabfit-frontend/public/index.html +++ b/crabfit-frontend/public/index.html @@ -36,7 +36,7 @@ -