From 4eb6d1eee0133d6e4aa59ad61006592bc1bf3a25 Mon Sep 17 00:00:00 2001 From: tylerapfledderer Date: Thu, 13 Feb 2025 18:01:34 -0500 Subject: [PATCH] feat(pages/quizzes): migrate to tailwind --- src/pages/quizzes.tsx | 56 +++++++++++++++++-------------------------- 1 file changed, 22 insertions(+), 34 deletions(-) diff --git a/src/pages/quizzes.tsx b/src/pages/quizzes.tsx index 5e690b30fb5..497e728c788 100644 --- a/src/pages/quizzes.tsx +++ b/src/pages/quizzes.tsx @@ -3,7 +3,6 @@ import { GetStaticProps, InferGetStaticPropsType, NextPage } from "next" import { useTranslation } from "next-i18next" import { serverSideTranslations } from "next-i18next/serverSideTranslations" import { FaGithub } from "react-icons/fa" -import { Box, Flex, Icon, Stack, Text } from "@chakra-ui/react" import { BasePageProps, Lang, QuizKey, QuizStatus } from "@/lib/types" @@ -17,6 +16,7 @@ import QuizzesList from "@/components/Quiz/QuizzesList" import QuizzesModal from "@/components/Quiz/QuizzesModal" import QuizzesStats from "@/components/Quiz/QuizzesStats" import { useLocalQuizData } from "@/components/Quiz/useLocalQuizData" +import { Flex, HStack, Stack } from "@/components/ui/flex" import { existsNamespace } from "@/lib/utils/existsNamespace" import { getLastDeployDate } from "@/lib/utils/getLastDeployDate" @@ -78,7 +78,7 @@ const QuizzesHubPage: NextPage< ) return ( - + - - - - +
+ + +
- - - - - {t("want-more-quizzes")} - - - - {t("contribute")} - - +
+ +
+

{t("want-more-quizzes")}

+ +

{t("contribute")}

+
- - + + {t("add-quiz")} - +
- +
- +
- - +
+
- - +
+
) }