From 57e1c4e9fb25671ee8e2d722bddd1c485ea8205a Mon Sep 17 00:00:00 2001 From: Jeff Sieu Date: Fri, 21 Oct 2022 15:40:40 +0800 Subject: [PATCH] [questions][chore] add dummy pages --- .../portal/src/components/questions/QuestionsNavigation.ts | 2 +- apps/portal/src/pages/questions/history.tsx | 7 +++++++ apps/portal/src/pages/questions/my-questions.tsx | 7 +++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 apps/portal/src/pages/questions/history.tsx create mode 100644 apps/portal/src/pages/questions/my-questions.tsx diff --git a/apps/portal/src/components/questions/QuestionsNavigation.ts b/apps/portal/src/components/questions/QuestionsNavigation.ts index bea2a957..58278119 100644 --- a/apps/portal/src/components/questions/QuestionsNavigation.ts +++ b/apps/portal/src/components/questions/QuestionsNavigation.ts @@ -2,7 +2,7 @@ import type { ProductNavigationItems } from '~/components/global/ProductNavigati const navigation: ProductNavigationItems = [ { href: '/questions/lists', name: 'My Lists' }, - { href: '/questions/my', name: 'My Questions' }, + { href: '/questions/my-questions', name: 'My Questions' }, { href: '/questions/history', name: 'History' }, ]; diff --git a/apps/portal/src/pages/questions/history.tsx b/apps/portal/src/pages/questions/history.tsx new file mode 100644 index 00000000..a96104f2 --- /dev/null +++ b/apps/portal/src/pages/questions/history.tsx @@ -0,0 +1,7 @@ +export default function HistoryPage() { + return ( +
+

History

+
+ ); +} diff --git a/apps/portal/src/pages/questions/my-questions.tsx b/apps/portal/src/pages/questions/my-questions.tsx new file mode 100644 index 00000000..a78a8bd4 --- /dev/null +++ b/apps/portal/src/pages/questions/my-questions.tsx @@ -0,0 +1,7 @@ +export default function MyQuestionsPage() { + return ( +
+

My Questions

+
+ ); +}