-
-
-
- {
- createQuestion({
- companyId: data.company,
- content: data.questionContent,
- location: data.location,
- questionType: data.questionType,
- role: data.role,
- seenAt: data.date,
- });
- }}
- />
- {
- setFilterDrawerOpen(!filterDrawerOpen);
- }}
- onSortChange={(value) => {
- // eslint-disable-next-line no-console
- console.log(value);
- }}
- />
-
-
- {(questions ?? []).map((question) => (
-
+
+ Home - {APP_TITLE}
+
+ {!hasLanded ? (
+
+ ) : (
+
+ {
- setFilterDrawerOpen(false);
- }}>
- {filterSidebar}
-
-
-
+
+ )}
+ >
);
}
diff --git a/apps/portal/src/pages/questions/lists.tsx b/apps/portal/src/pages/questions/lists.tsx
index f64f1014..756bc326 100644
--- a/apps/portal/src/pages/questions/lists.tsx
+++ b/apps/portal/src/pages/questions/lists.tsx
@@ -1,3 +1,4 @@
+import Head from 'next/head';
import { useState } from 'react';
import { Menu } from '@headlessui/react';
import {
@@ -9,6 +10,7 @@ import {
import QuestionListCard from '~/components/questions/card/question/QuestionListCard';
import { Button } from '~/../../../packages/ui/dist';
+import { APP_TITLE } from '~/utils/questions/constants';
import { SAMPLE_QUESTION } from '~/utils/questions/constants';
import createSlug from '~/utils/questions/createSlug';
@@ -103,67 +105,75 @@ export default function ListPage() {
>
);
return (
-
+
+
+
+ {
+ setFilterDrawerOpen(false);
+ }}>
+ {filterSidebar}
+
-
-
-
+
+
+ {
+ createQuestion({
+ companyId: data.company,
+ content: data.questionContent,
+ location: data.location,
+ questionType: data.questionType,
+ role: data.role,
+ seenAt: data.date,
+ });
+ }}
/>
- ))}
- {questions?.length === 0 && (
-
-
-
- {
+ setFilterDrawerOpen(!filterDrawerOpen);
+ }}
+ onSortChange={(value) => {
+ // eslint-disable-next-line no-console
+ console.log(value);
+ }}
+ />
+
Nothing found. Try changing your search filters.
+
+ {(questions ?? []).map((question) => (
+
+ ))}
+ {questions?.length === 0 && (
+
- )}
+
+
+
+ )}
Nothing found. Try changing your search filters.
+
-