@@ -2,15 +2,12 @@ import React from 'react';
2
2
import Footer from './Footer' ;
3
3
import { withRouter } from 'react-router-dom' ;
4
4
5
- import logo from './assets/images/hand-yellow.svg'
5
+ import CoderockrLogo from './assets/images/hand-yellow.svg'
6
6
import githubLogo from './assets/images/github.svg'
7
7
import gitlabLogo from './assets/images/gitlab.svg'
8
8
import trelloLogo from './assets/images/trello.svg'
9
9
import './Home.css'
10
10
11
- const logotrello = require ( './assets/images/trello.svg' ) ;
12
- console . log ( logotrello ) ;
13
-
14
11
const base = window . location . href + 'callback'
15
12
const SETUPABLE = [
16
13
{
@@ -36,7 +33,7 @@ const SETUPABLE = [
36
33
const Home = ( ) => (
37
34
< div className = "Home" >
38
35
< header >
39
- < img src = { logo } className = "logo" alt = "Coderockr Logo " />
36
+ < CoderockrLogo className = "logo" />
40
37
< h1 className = "text" > CODEROCKR WAY PROJECT SETUP</ h1 >
41
38
</ header >
42
39
< div className = "container" >
@@ -50,11 +47,11 @@ const Home = () => (
50
47
< section className = "project-handlers" >
51
48
< h2 > Where is your project?</ h2 >
52
49
< ul className = "row project-handlers-buttons justify-content-md-center" >
53
- { SETUPABLE . map ( ( { name, logo, url, enabled } ) => (
50
+ { SETUPABLE . map ( ( { name, logo : Logo , url, enabled } ) => (
54
51
< li key = { name } className = "col-md-4" >
55
52
< a className = { `btn btn-primary ${ enabled ? null : 'disabled' } ` } href = { url }
56
53
alt = { enabled ? '' : `${ name } will be supported soon` } >
57
- < img src = { logo } className = "icon" alt = { ` ${ name } icon` } />
54
+ < Logo className = "icon" />
58
55
{ name }
59
56
</ a >
60
57
</ li >
0 commit comments