31 lines
639 B
JavaScript
31 lines
639 B
JavaScript
//Modules
|
|
import React from 'react';
|
|
|
|
//Style
|
|
import "./Cta.css"
|
|
|
|
class CTA extends React.Component {
|
|
constructor(props) {
|
|
super(props);
|
|
this.state = {
|
|
BTNText : this.props.BtnText,
|
|
ContentText : this.props.ContentText,
|
|
}
|
|
}
|
|
|
|
render() {
|
|
|
|
|
|
return (
|
|
<div className="Cta mt-5">
|
|
<div className="container">
|
|
<h1 className="mb-5">{this.props.title}</h1>
|
|
<a className="AP-Btn-outline">{this.props.BtnText}</a>
|
|
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
}
|
|
|
|
export default CTA; |