File tree Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 1+ import { NavLink } from "react-router" ;
2+
13export function Login ( ) {
24 return (
35 < div >
46 < h1 > Welcome to the App!</ h1 >
57 < p > This is a simple React Router application.</ p >
8+ < NavLink to = "/app/app" > Application</ NavLink >
69 </ div >
710 ) ;
811}
Original file line number Diff line number Diff line change 1+ import { NavLink } from "react-router" ;
12import logoDark from "./logo-dark.svg" ;
23import logoLight from "./logo-light.svg" ;
34
@@ -25,19 +26,7 @@ export function Welcome() {
2526 What's next?
2627 </ p >
2728 < ul >
28- { resources . map ( ( { href, text, icon } ) => (
29- < li key = { href } >
30- < a
31- className = "group flex items-center gap-3 self-stretch p-3 leading-normal text-blue-700 hover:underline dark:text-blue-500"
32- href = { href }
33- target = "_blank"
34- rel = "noreferrer"
35- >
36- { icon }
37- { text }
38- </ a >
39- </ li >
40- ) ) }
29+ < NavLink to = "/" > Login</ NavLink >
4130 </ ul >
4231 </ nav >
4332 </ div >
You can’t perform that action at this time.
0 commit comments