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
14 changes: 14 additions & 0 deletions src/components/TOS.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import React from 'react';

const TOS = () => {
return (
<div>
<h1>Terms of Service</h1>
<p>
// Place your terms of service text here...
</p>
</div>
);
}

export default TOS;
4 changes: 4 additions & 0 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import { type NextPage } from "next";
import Head from "next/head";
import Chat from "../components/Chat/Chat";
import { chatUserIdAtom } from "./_app";
import TOS from '../components/TOS';


const Home: NextPage = () => {
console.log("Loggin home page");
Expand Down Expand Up @@ -40,6 +42,8 @@ const Home: NextPage = () => {
<main className="h-full p-4">
<div className="text-2xl font-semibold">Test your Empathy!</div>
<Chat />
<TOS />

</main>
</>
);
Expand Down