From b7f5bc004cb5d0876613212e920137bd8c71491d Mon Sep 17 00:00:00 2001 From: Yangshun Tay Date: Wed, 9 Nov 2022 10:46:40 +0800 Subject: [PATCH] [questions][feat] update landing page --- .../components/questions/LandingComponent.tsx | 190 +++++++++--------- .../questions/QuestionsNavigation.tsx | 2 +- 2 files changed, 97 insertions(+), 95 deletions(-) diff --git a/apps/portal/src/components/questions/LandingComponent.tsx b/apps/portal/src/components/questions/LandingComponent.tsx index 7996a036..a8c77d4f 100644 --- a/apps/portal/src/components/questions/LandingComponent.tsx +++ b/apps/portal/src/components/questions/LandingComponent.tsx @@ -4,6 +4,8 @@ import type { QuestionsQuestionType } from '@prisma/client'; import type { TypeaheadOption } from '@tih/ui'; import { Button, Select } from '@tih/ui'; +import Container from '~/components/shared/Container'; + import { companyOptionToSlug } from '~/utils/questions/companySlug'; import { QUESTION_TYPES } from '~/utils/questions/constants'; import { locationOptionToSlug } from '~/utils/questions/locationSlug'; @@ -65,100 +67,100 @@ export default function LandingComponent({ onLanded }: LandingComponentProps) { }, [defaultLocation, location]); return ( -
-
-
-
- Question Bank -

- Tech Interview Question Bank -

+
+
+ +
+
+
+

+ Tech Interview Question Bank +

+

+ Discover the latest tech interview questions asked by top + companies. Learn from answers by others. +

+
+
+
+
+
+
+
+
+ +
+

Find questions

+
+

about

+ { - handleChangeType(value.toUpperCase() as QuestionsQuestionType); - }} - /> -

from

- { - handleChangeCompany(value); - }} - /> -

in

- { - handleChangeLocation(value); - }} - /> -
-
-
-
-
-