Skip to content

Commit

Permalink
feat(HomeView): implement Home view
Browse files Browse the repository at this point in the history
  • Loading branch information
kiki-le-singe committed Dec 2, 2016
1 parent 7f6bbb2 commit b8a4c74
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 20 deletions.
14 changes: 0 additions & 14 deletions src/common/views/Home/Home.jsx

This file was deleted.

3 changes: 0 additions & 3 deletions src/common/views/Home/Home.scss

This file was deleted.

3 changes: 0 additions & 3 deletions src/common/views/Home/index.js

This file was deleted.

19 changes: 19 additions & 0 deletions src/common/views/HomeView/HomeView.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import React from 'react'
import Helmet from 'react-helmet'

// require the logo image both from client and server
const logoImage = require('./kiki.jpg')

export default function Home() {
return (
<div className="view view__home">
<Helmet title="Home" />

<h2>Home</h2>

<div className="view__content">
<p><img src={logoImage} alt="Kiki" /></p>
</div>
</div>
)
}
3 changes: 3 additions & 0 deletions src/common/views/HomeView/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import HomeView from './HomeView'

export default HomeView
Binary file added src/common/views/HomeView/kiki.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b8a4c74

Please sign in to comment.