-
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.
Merge pull request #19 from toussam/product
redesign product page
- Loading branch information
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