1- import { useNavigate } from ' react-router-dom' ;
2- import ' ./Landing.css' ;
3- import { Header } from ' ./Header' ;
4- import { Footer } from ' ./Footer' ;
1+ import { useNavigate } from " react-router-dom" ;
2+ import " ./Landing.css" ;
3+ import { Header } from " ./Header" ;
4+ import { Footer } from " ./Footer" ;
55
66function Landing ( ) {
77 const navigate = useNavigate ( ) ;
@@ -39,10 +39,10 @@ function Landing() {
3939 return (
4040 < div className = "landing-container" >
4141 < Header >
42- < button onClick = { ( ) => navigate ( ' /teach' ) } className = "nav-button" >
42+ < button onClick = { ( ) => navigate ( " /teach" ) } className = "nav-button" >
4343 For Teachers
4444 </ button >
45- < button onClick = { ( ) => navigate ( ' /learn' ) } className = "nav-button" >
45+ < button onClick = { ( ) => navigate ( " /learn" ) } className = "nav-button" >
4646 For Students
4747 </ button >
4848 </ Header >
@@ -53,7 +53,8 @@ function Landing() {
5353 Interactive visual maps for teaching, learning, and collaborating
5454 </ h1 >
5555 < p className = "hero-subtitle" >
56- All stored locally in your browser—ensuring privacy and offline access.
56+ All stored locally in your browser—ensuring privacy and offline
57+ access.
5758 </ p >
5859 </ section >
5960
@@ -62,16 +63,28 @@ function Landing() {
6263 < div className = "role-card" >
6364 < div className = "role-icon" > 👩🏫</ div >
6465 < h3 > I'm a Teacher</ h3 >
65- < p > Create learning maps and share them with your students. Manage your collection and track what you've built.</ p >
66- < button onClick = { ( ) => navigate ( '/teach' ) } className = "role-button role-button-primary" >
66+ < p >
67+ Create learning maps and share them with your students. Manage your
68+ collection and track what you've built.
69+ </ p >
70+ < button
71+ onClick = { ( ) => navigate ( "/teach" ) }
72+ className = "role-button role-button-primary"
73+ >
6774 Go to My Maps
6875 </ button >
6976 </ div >
7077 < div className = "role-card" >
7178 < div className = "role-icon" > 👨🎓</ div >
7279 < h3 > I'm a Student</ h3 >
73- < p > Access learning maps shared by your teachers. Track your progress and work through topics at your own pace.</ p >
74- < button onClick = { ( ) => navigate ( '/learn' ) } className = "role-button role-button-secondary" >
80+ < p >
81+ Access learning maps shared by your teachers. Track your progress
82+ and work through topics at your own pace.
83+ </ p >
84+ < button
85+ onClick = { ( ) => navigate ( "/learn" ) }
86+ className = "role-button role-button-secondary"
87+ >
7588 Go to My Learning
7689 </ button >
7790 </ div >
@@ -82,9 +95,10 @@ function Landing() {
8295 < div className = "use-case-content" >
8396 < h2 > Perfect for Teachers and Students</ h2 >
8497 < p >
85- Teachers can build custom LearningMaps and share them instantly with their class.
86- Students can edit or study the same map, with every change kept locally in their
87- own browser. No accounts required, no data collected—just pure learning.
98+ Teachers can build custom LearningMaps and share them instantly with
99+ their class. Students can edit or study the same map, with every
100+ change kept locally in their own browser. No accounts required, no
101+ data collected—just pure learning.
88102 </ p >
89103 </ div >
90104 </ section >
@@ -128,8 +142,9 @@ function Landing() {
128142 { /* Local Storage Note */ }
129143 < section className = "info-banner" >
130144 < div className = "info-content" >
131- < strong > 🔒 Privacy First:</ strong > All maps are saved locally in your browser,
132- ensuring complete privacy and offline access. Your data never leaves your device.
145+ < strong > 🔒 Privacy First:</ strong > All maps are saved locally in your
146+ browser, ensuring complete privacy and offline access. Your data never
147+ leaves your device.
133148 </ div >
134149 </ section >
135150
0 commit comments