Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/components/FAQ/FAQ.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React from 'react';
export const FAQ = () => {
return (
<div>
<h1>FAQs</h1>
<h2>Question 1</h2>
<p>Answer to question 1</p>
<h2>Question 2</h2>
<p>Answer to question 2</p>
</div>
);
};
export default FAQ;
3 changes: 3 additions & 0 deletions src/pages/faq.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import FAQ from '../components/FAQ/FAQ';
const FAQPage = () => <FAQ />
export default FAQPage;
2 changes: 2 additions & 0 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ const Home: NextPage = () => {
</Head>
<main className="h-full p-4">
<div className="text-2xl font-semibold">Test your Empathy!</div>
<Link href="/faq">Go to FAQ</Link>
<Chat />

</main>
</>
);
Expand Down