-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mathias Toussaint
committed
Oct 25, 2015
1 parent
171bd66
commit 8482bf0
Showing
4 changed files
with
52 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import React, { Component } from 'react'; | ||
|
||
export default class Product extends Component { | ||
render() { | ||
const styles = require('./Product.styl'); | ||
return ( | ||
<div className={styles.productContainer}> | ||
|
||
<img src="product.jpg"/> | ||
|
||
<div className={styles.mainInformations}> | ||
|
||
<div className={styles.mainInformationsLeft}> | ||
<h3>Brand</h3> | ||
<h3>Price</h3> | ||
</div> | ||
|
||
<div className={styles.mainInformationsRight}> | ||
<p>Nike</p> | ||
<p>120$</p> | ||
</div> | ||
|
||
</div> | ||
|
||
<div className={styles.additionalInformations}> | ||
<p>Tempore quo primis auspiciis in mundanum fulgorem surgeret victura dum erunt homines Roma, ut augeretur sublimibus incrementis, foedere pacis aeternae Virtus convenit atque Fortuna plerumque dissidentes, quarum si altera defuisset, ad perfectam non venerat summitatem.</p> | ||
</div> | ||
|
||
</div> | ||
); | ||
} | ||
} | ||
|
||
/* OLD TEST | ||
<div className={styles.productContainer}> | ||
<img src="product.jpg"/> | ||
<div className={styles.productInfos}> | ||
<h1>Title</h1> | ||
<h2>Price</h2> | ||
<div className={styles.productDescription}> | ||
<p>Description : Tempore quo primis auspiciis in mundanum fulgorem surgeret victura dum erunt homines Roma, ut augeretur sublimibus incrementis, foedere pacis aeternae Virtus convenit atque Fortuna plerumque dissidentes, quarum si altera defuisset, ad perfectam non venerat summitatem.</p> | ||
</div> | ||
</div> | ||
</div> | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters