Skip to content

Commit 16346e1

Browse files
update app
1 parent 8cd2f10 commit 16346e1

File tree

3 files changed

+25
-9
lines changed

3 files changed

+25
-9
lines changed

practice/practice-app/src/App.js

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11

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";
64

7-
export default function app()
8-
{
5+
export default function app(){
96
return(
107
<>
11-
<Navbar Home = "TextUtils"/>
12-
<Form/>
8+
<About/>
139
</>
1410
)
1511
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
}

project-1/project-app/src/App.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import './App.css';
22
import About from './components/About';
33
// import Navbar from './components/Navbar';
4-
// import TextForm from './components/TextForm';
4+
import TextForm from './components/TextForm';
55

66
function App() {
77
return (
@@ -10,6 +10,7 @@ function App() {
1010
<div className="container my-3">
1111
{/* <TextForm heading = "Enter the text to analyze below"/> */}
1212
<About/>
13+
<TextForm/>
1314
</div>
1415
</>
1516
);

0 commit comments

Comments
 (0)