Skip to content

Commit abf81ea

Browse files
committed
all-set
1 parent bbaf7f9 commit abf81ea

File tree

7 files changed

+15
-8
lines changed

7 files changed

+15
-8
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"react": "^19.1.0",
1111
"react-dom": "^19.1.0",
1212
"react-router-dom": "^7.5.3",
13-
"react-scripts": "5.0.1",
13+
"react-scripts": "^5.0.1",
1414
"web-vitals": "^2.1.4"
1515
},
1616
"scripts": {

src/App.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1-
1+
import React from 'react';
2+
import Home from './pages/Home';
3+
import Navbar from './components/Navbar';
4+
import Footer from './components/Footer';
25

36
function App() {
47
return (
58
<div className="App">
6-
9+
<Navbar/>
10+
<Home/>
11+
<Footer/>
712
</div>
813
);
914
}
1015

11-
export default App;
16+
export default App;

src/components/Footer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React from 'react';
2+
import '../styles/Home.css';
23

34
function Footer() {
45
return (

src/components/Navbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { Link } from 'react-router-dom';
2+
import '../styles/Home.css';
33

44
function Navbar() {
55
return (

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import ReactDOM from 'react-dom/client';
33
import './index.css';
44
import App from './App';
5-
import reportWebVitals from './reportWebVitals';
5+
// import reportWebVitals from './reportWebVitals';
66

77
const root = ReactDOM.createRoot(document.getElementById('root'));
88
root.render(
@@ -14,4 +14,4 @@ root.render(
1414
// If you want to start measuring performance in your app, pass a function
1515
// to log results (for example: reportWebVitals(console.log))
1616
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
17-
reportWebVitals();
17+
// reportWebVitals();

src/pages/Home.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React from 'react';
2+
import '../styles/Home.css';
23

34
function App() {
45
// roadmaps section

0 commit comments

Comments
 (0)