-
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
1 parent
464ceb0
commit 9c5e0c7
Showing
4 changed files
with
199 additions
and
3 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,34 @@ | ||
import React, { Component } from 'react'; | ||
|
||
|
||
import HomeCardPage from '/imports/ui/pages/HomeCardPage.jsx'; | ||
|
||
|
||
export default class HomeCard extends React.Component{ | ||
constructor(props){ | ||
super(props); | ||
} | ||
|
||
render(){ | ||
console.log(this.props) | ||
return( | ||
<div className='complainContainer'> | ||
<i className='remove red link icon threadRemoveIcon'></i> | ||
<img src='images/logo.png'/> | ||
<h3>Complain title goes here</h3> | ||
<p className='complainItems'> | ||
<span><i className='wait icon'></i>5:05 pm</span> | ||
<a><i className='talk outline icon'></i>11 replies</a> | ||
<a><i className='attach icon'></i></a> | ||
</p> | ||
<div className='clr'></div> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. | ||
</p> | ||
<button className="circular ui icon blue button complainAddBtn" > | ||
<i className="icon add"></i> | ||
</button> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import React, { Component } from 'react'; | ||
|
||
import SampleLayout from '/imports/ui/layouts/SampleLayout.jsx'; | ||
import HomeCard from '/imports/ui/components/HomeCard.jsx'; | ||
|
||
export default class HomeCardPage extends Component{ | ||
|
||
render(){ | ||
console.log("SamplePage being rendered"); | ||
|
||
return( | ||
<SampleLayout content={<HomeCard combo={this.props}/>}/> | ||
); | ||
} | ||
} |