File tree Expand file tree Collapse file tree 3 files changed +18
-15
lines changed
Expand file tree Collapse file tree 3 files changed +18
-15
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ const Footer = () => {
9595 to = "/effulgence"
9696 className = "text-muted-foreground hover:text-primary transition-colors"
9797 >
98- Effulgence < Soon className = "text-2xs p-0 px-[4px] text-background bg-red-300" />
98+ Effulgence < Soon className = "text-2xs p-0 px-[4px] text-white dark:text- background dark: bg-red-300" />
9999 </ Link >
100100 </ li >
101101 </ ul >
@@ -121,12 +121,12 @@ const Footer = () => {
121121 </ a >
122122 </ li >
123123 < li >
124- < a
125- href = "# guides"
124+ < Link
125+ to = "/docs/ guides"
126126 className = "text-muted-foreground hover:text-primary transition-colors"
127127 >
128128 Guias
129- </ a >
129+ </ Link >
130130 </ li >
131131 </ ul >
132132 </ div >
@@ -163,10 +163,16 @@ const Footer = () => {
163163 </ a >
164164 </ div >
165165 < div className = "flex space-x-6 md:mt-0 py-2" >
166- < Link to = "/privacy" className = "text-muted-foreground hover:text-primary transition-colors" >
166+ < Link
167+ to = "/privacy"
168+ className = "text-muted-foreground hover:text-primary transition-colors"
169+ >
167170 Privacidade
168171 </ Link >
169- < Link to = "/terms" className = "text-muted-foreground hover:text-primary transition-colors" >
172+ < Link
173+ to = "/terms"
174+ className = "text-muted-foreground hover:text-primary transition-colors"
175+ >
170176 Termos
171177 </ Link >
172178 </ div >
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ interface SoonProps {
88export function Soon ( { className } : SoonProps = { } ) {
99 return (
1010 < Badge className = { cn (
11- "text-xs text-white border-transparent animate-pulse bg-red-500 text-red-500-foreground hover:bg-red-500/80" ,
11+ "text-xs text-white border-transparent animate-pulse bg-red-500 hover:bg-red-500/80" ,
1212 className
1313 ) } >
1414 Em Breve
Original file line number Diff line number Diff line change 1- import { useLocation } from "react-router-dom" ;
1+ import { Link , useLocation } from "react-router-dom" ;
22import { useEffect } from "react" ;
33
44const NotFound = ( ) => {
55 const location = useLocation ( ) ;
66
77 useEffect ( ( ) => {
8- console . error (
9- "404 Error: User attempted to access non-existent route:" ,
10- location . pathname
11- ) ;
8+ console . error ( "404 Error: User attempted to access non-existent route:" , location . pathname ) ;
129 } , [ location . pathname ] ) ;
1310
1411 return (
1512 < div className = "min-h-screen flex items-center justify-center bg-gray-100" >
1613 < div className = "text-center" >
1714 < h1 className = "text-4xl font-bold mb-4" > 404</ h1 >
1815 < p className = "text-xl text-gray-600 mb-4" > Oops! Page not found</ p >
19- < a href = "/" className = "text-blue-500 hover:text-blue-700 underline" >
20- Return to Home
21- </ a >
16+ < Link to = "/" className = "text-blue-500 hover:text-blue-700 underline" >
17+ Voltar para a página inicial
18+ </ Link >
2219 </ div >
2320 </ div >
2421 ) ;
You can’t perform that action at this time.
0 commit comments