File tree Expand file tree Collapse file tree 2 files changed +524
-226
lines changed Expand file tree Collapse file tree 2 files changed +524
-226
lines changed Original file line number Diff line number Diff line change 1
- import React , { Component } from 'react' ;
1
+ import React from 'react' ;
2
2
import './App.css' ;
3
3
import LinkButton from './components/LinkButton/LinkButton' ;
4
4
import Navbar from './components/Navbar/Navbar' ;
5
5
import CardsContainer from './components/ProjectList/CardsContainer' ;
6
6
import SocialShare from './components/SocialShare/SocialShare' ;
7
7
8
- class App extends Component {
9
- render ( ) {
10
- return (
11
- < div className = "App" >
12
- < Navbar />
13
- < div className = "App-header" >
14
- < h1 > Make your first open source contribution in 5 minutes</ h1 >
15
- </ div >
16
- < LinkButton />
17
- < CardsContainer />
18
- < SocialShare />
19
- </ div >
20
- ) ;
21
- }
8
+ const App = ( ) => {
9
+ return (
10
+ < div className = "App" >
11
+ < Navbar />
12
+ < div className = "App-header" >
13
+ < h1 > Make your first open source contribution in 5 minutes</ h1 >
14
+ </ div >
15
+ < LinkButton />
16
+ < CardsContainer />
17
+ < SocialShare />
18
+ </ div >
19
+ ) ;
22
20
}
23
21
24
22
export default App ;
You can’t perform that action at this time.
0 commit comments