Skip to content

Commit cff2240

Browse files
committed
Video 18 Completed
1 parent 8046d5a commit cff2240

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
"web-vitals": "^1.1.2"
1414
},
1515
"scripts": {
16+
"predeploy": "npm run build",
17+
"deploy": "gh-pages -d build",
1618
"start": "react-scripts start",
1719
"build": "react-scripts build",
1820
"test": "react-scripts test",

src/App.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ import Alert from './components/Alert';
77
import {
88
BrowserRouter as Router,
99
Switch,
10-
Route,
11-
Link
10+
Route
1211
} from "react-router-dom";
1312

1413

src/components/Navbar.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export default function Navbar(props) {
1414
<ul className="navbar-nav me-auto mb-2 mb-lg-0">
1515
<li className="nav-item">
1616
<Link className="nav-link active" aria-current="page" to="/">Home</Link>
17+
{/* <a className="nav-link active" aria-current="page" href="#">Home</a> */}
1718
</li>
1819
<li className="nav-item">
1920
<Link className="nav-link" to="/about">{props.aboutText}</Link>

0 commit comments

Comments
 (0)