File tree Expand file tree Collapse file tree 5 files changed +515
-24
lines changed Expand file tree Collapse file tree 5 files changed +515
-24
lines changed Original file line number Diff line number Diff line change 1
- import { useNavigate } from "react-router-dom " ;
1
+ import BackLink from "./shared/components/BackLink " ;
2
2
3
3
export default function About ( ) {
4
- const navigate = useNavigate ( ) ;
5
-
6
4
return (
7
- < div className = "flex items-center h-dvh pt-16 sm:pt-0" >
5
+ < div className = "flex items-center pt-16 sm:mt-26 sm:pt-0" >
8
6
< div className = "relative max-w-2xl m-auto p-8 bg-[#F4F4F2] rounded-lg shadow-md" >
9
- < button
10
- className = "absolute top-4 left-4 flex text-[#4a90e2] hover:text-[#3a7bc8] font-semibold cursor-pointer"
11
- onClick = { ( ) => navigate ( - 1 ) }
12
- aria-label = "Go back"
13
- >
14
- < svg
15
- className = "w-6 h-6 mr-2"
16
- fill = "none"
17
- stroke = "currentColor"
18
- strokeWidth = { 2 }
19
- viewBox = "0 0 24 24"
20
- >
21
- < path
22
- strokeLinecap = "round"
23
- strokeLinejoin = "round"
24
- d = "M15 19l-7-7 7-7"
25
- />
26
- </ svg >
27
- Back
28
- </ button >
7
+ < BackLink />
29
8
< p className = "my-6" >
30
9
< strong > Tenant First Aid</ strong > is an AI-powered chatbot designed to
31
10
help tenants navigate rental issues, answer questions, and provides
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import Chat from "./Chat";
3
3
import About from "./About" ;
4
4
import SessionContextProvider from "./contexts/SessionContext" ;
5
5
import Navbar from "./pages/Chat/components/Navbar" ;
6
+ import Disclaimer from "./Disclaimer" ;
6
7
7
8
export default function App ( ) {
8
9
return (
@@ -12,6 +13,7 @@ export default function App() {
12
13
< Routes >
13
14
< Route path = "/" element = { < Chat /> } />
14
15
< Route path = "/about" element = { < About /> } />
16
+ < Route path = "/disclaimer" element = { < Disclaimer /> } />
15
17
</ Routes >
16
18
</ Router >
17
19
</ SessionContextProvider >
You can’t perform that action at this time.
0 commit comments