1+ import { Header } from "@repo/ui" ;
2+ import { Sun , Moon } from "lucide-react" ;
3+ import { useEffect , useState } from "react" ;
4+
5+ export default function InfoPage ( ) {
6+ const savedTheme = localStorage . getItem ( "theme" ) ;
7+ const [ theme , setTheme ] = useState < string > ( savedTheme ?? 'dark' ) ;
8+
9+ const toggleTheme = ( ) => {
10+ setTheme ( theme === "dark" ? "light" : "dark" ) ;
11+ } ;
12+
13+ useEffect ( ( ) => {
14+ document . body . dataset . theme = theme ;
15+ localStorage . setItem ( "theme" , theme ) ;
16+ } , [ theme ] ) ;
17+
18+ return (
19+ < div >
20+ < Header title = "About the Envision AI Tech Assistant" className = "text-4xl font-bold mb-4" />
21+ < p >
22+ < b > What it is?</ b >
23+ < br />
24+ The Envision Technologist AI Assistant is a trained AI solution that answers technical questions about imaging exams.
25+ It provides guidance on best practices, exam technique, and other practical topics.
26+ It gives technologists fast, reliable guidance at the point of care, helping to produce high quality studies with fewer errors and less rework.
27+ Immediate answers reduce the need to interrupt radiologists for routine questions while keeping exams moving efficiently and consistently.
28+ < br /> < br />
29+ < b > Is it accurate?</ b >
30+ < br />
31+ The assistant was trained using thousands of instructional files and relevant medical websites.
32+ All training sources were curated and reviewed by Dr. Sana to ensure clinical relevance and accuracy.
33+ Ongoing feedback helps improve performance.
34+ Use thumbs down 👎 to flag responses that are unclear or incorrect, and thumbs up 👍 to confirm helpful answers.
35+ </ p >
36+ < div className = "fixed bottom-0 left-0 right-0 p-4 text-center" >
37+ { theme === "dark" ? < Sun onClick = { toggleTheme } /> : < Moon onClick = { toggleTheme } /> }
38+ </ div >
39+ </ div >
40+ ) ;
41+ }
0 commit comments