File tree 3 files changed +25
-9
lines changed
practice/practice-app/src
project-1/project-app/src
3 files changed +25
-9
lines changed Original file line number Diff line number Diff line change 1
1
2
- import React from 'react' ;
3
- import Navbar from './components/Navbar' ;
4
- import Form from './components/Form' ;
5
- import './App.css'
2
+ import React from "react" ;
3
+ import About from "./components/About" ;
6
4
7
- export default function app ( )
8
- {
5
+ export default function app ( ) {
9
6
return (
10
7
< >
11
- < Navbar Home = "TextUtils" />
12
- < Form />
8
+ < About />
13
9
</ >
14
10
)
15
11
}
Original file line number Diff line number Diff line change
1
+ import React from "react" ;
2
+
3
+ export default function About ( ) {
4
+ return (
5
+ < >
6
+ < div className = "container" >
7
+ < nav class = "nav" >
8
+ < a class = "nav-link active" aria-current = "page" href = "#" > Active</ a >
9
+ < a class = "nav-link" href = "#" > Link</ a >
10
+ < a class = "nav-link" href = "#" > Link</ a >
11
+ < a class = "nav-link disabled" > Disabled</ a >
12
+ </ nav >
13
+ </ div >
14
+ < div className = "container" >
15
+ < button type = "submit" className = "btn btn-primary" > dark mode</ button >
16
+ </ div >
17
+ </ >
18
+ )
19
+ }
Original file line number Diff line number Diff line change 1
1
import './App.css' ;
2
2
import About from './components/About' ;
3
3
// import Navbar from './components/Navbar';
4
- // import TextForm from './components/TextForm';
4
+ import TextForm from './components/TextForm' ;
5
5
6
6
function App ( ) {
7
7
return (
@@ -10,6 +10,7 @@ function App() {
10
10
< div className = "container my-3" >
11
11
{ /* <TextForm heading = "Enter the text to analyze below"/> */ }
12
12
< About />
13
+ < TextForm />
13
14
</ div >
14
15
</ >
15
16
) ;
You can’t perform that action at this time.
0 commit comments