Created the Feature component of the Features page

This commit is contained in:
Mathias Wagner 2022-09-12 21:08:02 +02:00
parent 5293f68415
commit 8d08201acd

View 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;