From 7e07abb46213b9c7fd3170f1d75788a621e6bbd8 Mon Sep 17 00:00:00 2001 From: jeremytchang <78522362+jeremytchang@users.noreply.github.com> Date: Mon, 1 Nov 2021 10:13:01 -0700 Subject: [PATCH] fix: Hackathon styling and resource update (#884) - Updated Loading component to default to always display if not passed in loading prop. Making it as dumb as possible - Updated Loading rendering logic and styling in scene components so layouts does not shift/change after loading is finished. - Updated side nav to be thinner to accomodate smaller viewports - Updated resources with new component and dataset tag - Added header to each page for easier navigability - Added hacker faq link to home/agenda page - Added additional text and field styling to resource page for better UX --- packages/hackathon/src/Hackathon.tsx | 2 +- .../src/components/Loading/Loading.tsx | 8 +-- .../src/scenes/AdminScene/AdminScene.tsx | 49 ++++++++++++------- .../src/scenes/HomeScene/HomeScene.tsx | 18 +++++-- .../src/scenes/JudgingScene/JudgingScene.tsx | 9 +++- .../scenes/ProjectsScene/ProjectsScene.tsx | 9 +++- .../scenes/ResourceScene/ResourceScene.tsx | 42 +++++++++------- .../src/scenes/ResourceScene/resource_data.ts | 6 +-- .../src/scenes/UsersScene/UsersScene.tsx | 24 +++++++-- 9 files changed, 114 insertions(+), 53 deletions(-) diff --git a/packages/hackathon/src/Hackathon.tsx b/packages/hackathon/src/Hackathon.tsx index ffb1ee79b..2ec7507f6 100644 --- a/packages/hackathon/src/Hackathon.tsx +++ b/packages/hackathon/src/Hackathon.tsx @@ -78,7 +78,7 @@ export const Hackathon: FC = () => { )} -