Ajout des moyens de contact

+ Corrections diverses
This commit is contained in:
2020-12-27 22:43:02 +01:00
parent 5111261e43
commit d89388e8ec
12 changed files with 9091 additions and 8577 deletions

View File

@@ -0,0 +1,26 @@
import React, {Component} from '../../../node_modules/react';
import './ContactButton.scss'
// import { connect } from "react-redux";
// import { bindActionCreators } from "redux";
// import * as contactButtonActions from "../../store/contactButton/actions";
export default class ContactButton extends Component {
// constructor(props) {
// super(props);
// this.state = {};
// }
render() {
return <div class="column is-3">
<a target="_blank" rel="noreferrer noopener" href={this.props.link} class="hide button is-large is-fullw-mobile"
title={this.props.title}>
<span class="icon">
<i class={"fab " + this.props.icon}></i>
</span>
<span>{this.props.name}</span>
</a>
</div>;
}
}
// export default connect(
// ({ contactButton }) => ({ ...contactButton }),
// dispatch => bindActionCreators({ ...contactButtonActions }, dispatch)
// )( contactButton );

View File

@@ -0,0 +1,4 @@
.component-contact-button{
}

View File

@@ -0,0 +1,2 @@
import ContactButton from "./ContactButton"
export default ContactButton;