Skip to content

Instantly share code, notes, and snippets.

@darde
Created August 7, 2018 18:52
Show Gist options
  • Save darde/790fa5cb5c9d0e6037b6cf2b1c3f611c to your computer and use it in GitHub Desktop.
Save darde/790fa5cb5c9d0e6037b6cf2b1c3f611c to your computer and use it in GitHub Desktop.
react-i18next-example/src/components/Home/index.jsx
import React from 'react';
import photo from './photo.jpg';
const Home = () => (
<div className='preview'>
<h1>Lighthouses</h1>
<div className="cover">
<figure className='center'>
<img src={photo} alt="Lighthouse picture"/>
</figure>
</div>
<p className='center'>Know the most beautiful lighthouses of the world.</p>
</div>
);
export default Home;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment