Skip to content

Commit

Permalink
Merge 35856cb into b05a136
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvinndmo committed Apr 8, 2019
2 parents b05a136 + 35856cb commit 56fcf5f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
9 changes: 9 additions & 0 deletions src/components/Home/App.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white; }
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import { shallow } from 'enzyme'
import App from '../Home'
import App from './Home'

describe('App', () => {
it('Should render without crashing', function () {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Home.js → src/components/Home/Home.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { Component } from 'react'
import '../App.css'
import '../../App.css'

class App extends Component {
render () {
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/routers/Approuter.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { Component } from 'react'
import Login from '../components/Login'
import Home from '../components/Home'
import Login from '../components/Login/Login'
import Home from '../components/Home/Home'
import { BrowserRouter, Route, Switch } from 'react-router-dom'

const Approuter = () => (
Expand Down

0 comments on commit 56fcf5f

Please sign in to comment.