From 3903252f8703e625c50ef2d894ecf4b81ad9e768 Mon Sep 17 00:00:00 2001 From: MathyouMB Date: Sun, 5 Sep 2021 16:38:24 -0400 Subject: [PATCH 1/2] code challenge setup --- src/App.svelte | 1 - src/components/Countdown/Countdown.svelte | 100 ++++++++++++++++++ src/components/Countdown/index.ts | 1 + .../CountdownOne/CountdownOne.svelte | 97 +++++++++++++++++ src/components/CountdownOne/index.ts | 1 + src/components/Header/Header.svelte | 23 ++-- .../HeaderInformation.svelte | 9 +- src/components/Input/Input.svelte | 5 +- .../MainQuestion/MainQuestion.svelte | 8 +- src/components/Navbar/Navbar.svelte | 14 +-- .../QuestionAnswer/QuestionAnswer.svelte | 4 +- .../QuestionCard/QuestionCard.svelte | 16 ++- .../QuestionsGrid/QuestionsGrid.svelte | 13 ++- src/components/index.ts | 2 + src/data/questions/questions.data.ts | 48 ++++----- src/pages/Home/Home.svelte | 16 ++- src/pages/Question/Question.svelte | 95 ++++++++++++++--- .../getCurrentQuestions.request.ts | 2 +- .../getExpiredQuestions.request.ts | 2 +- .../getQuestion/getQuestion.request.ts | 2 +- .../getQuestions/getQuestions.request.ts | 4 +- src/types.ts | 5 +- 22 files changed, 394 insertions(+), 74 deletions(-) create mode 100644 src/components/Countdown/Countdown.svelte create mode 100644 src/components/Countdown/index.ts create mode 100644 src/components/CountdownOne/CountdownOne.svelte create mode 100644 src/components/CountdownOne/index.ts diff --git a/src/App.svelte b/src/App.svelte index 4ec88ed..75ae725 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -13,6 +13,5 @@ } -