Created the Feature component of the Features page
This commit is contained in:
parent
5293f68415
commit
8d08201acd
17
src/pages/Features/components/Feature/Feature.jsx
Normal file
17
src/pages/Features/components/Feature/Feature.jsx
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
import "./styles.sass";
|
||||||
|
import Button from "@/common/components/Button/index.js";
|
||||||
|
|
||||||
|
const Feature = (props) => (
|
||||||
|
<div className={"feature-container " + (props.reverse ? "reverse" : "")}>
|
||||||
|
<div className="content-container">
|
||||||
|
<h3>{props.title}</h3>
|
||||||
|
<p>{props.description}</p>
|
||||||
|
<Button text={"Add " + props.name} image={props.icon} />
|
||||||
|
</div>
|
||||||
|
<div className="image-container">
|
||||||
|
<img src={props.image} alt=""/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
|
||||||
|
export default Feature;
|
Loading…
x
Reference in New Issue
Block a user