Passage en Node 18 + correction import react
This commit is contained in:
parent
b4d5a92117
commit
82b7281125
29088
package-lock.json
generated
Normal file
29088
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -10,7 +10,7 @@
|
||||
"react": "^17.0.1",
|
||||
"react-dom": "^17.0.1",
|
||||
"react-intl": "^5.10.9",
|
||||
"react-scripts": "4.0.1",
|
||||
"react-scripts": "5.0.1",
|
||||
"sass": "^1.30.0",
|
||||
"web-vitals": "^0.2.4"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
import './ButtonIcon.scss';
|
||||
|
||||
import React, { Component } from '../../../node_modules/react';
|
||||
import React, { Component } from 'react';
|
||||
|
||||
|
||||
export default class ButtonIcon extends Component {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import './ContactButton.scss';
|
||||
|
||||
import React, { Component } from '../../../node_modules/react';
|
||||
import React, { Component } from 'react';
|
||||
|
||||
|
||||
// import { connect } from "react-redux";
|
||||
|
@ -1,4 +1,4 @@
|
||||
import React, {Component} from '../../../node_modules/react';
|
||||
import React, {Component} from 'react';
|
||||
import { injectIntl } from 'react-intl';
|
||||
|
||||
import './ContactCard.scss'
|
||||
|
@ -1,4 +1,4 @@
|
||||
import React, {Component} from '../../../node_modules/react';
|
||||
import React, { Component } from 'react';
|
||||
import './ExperienceCard.scss'
|
||||
|
||||
// import { connect } from "react-redux";
|
||||
@ -13,35 +13,35 @@ export default class ExperienceCard extends Component {
|
||||
render() {
|
||||
var data = this.props.data;
|
||||
var imgSrc = data.logo;
|
||||
return <div class="card-content">
|
||||
<div class="media">
|
||||
<div class="media-left">
|
||||
<a href={data.url} target="_blank" rel="noreferrer">
|
||||
<figure class="image is-48x48">
|
||||
<img src={imgSrc} alt="Logo Entreprise"/>
|
||||
</figure>
|
||||
</a>
|
||||
</div>
|
||||
<div class="media-content">
|
||||
<p class="title is-4">{data.occupation}</p>
|
||||
<p class="subtitle is-6">{data.entreprise} - {data.location} - {data.duration}</p>
|
||||
<div class="tags">
|
||||
{data.tags.map(function(name, index){
|
||||
return <span key={ index } class="tag">{name}</span>;
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
{data.description}
|
||||
</div>
|
||||
{data.commentaire ? <div class="comment">
|
||||
{data.commentaire}
|
||||
</div> : ''}
|
||||
|
||||
</div>
|
||||
return <div class="card-content">
|
||||
<div class="media">
|
||||
<div class="media-left">
|
||||
<a href={data.url} target="_blank" rel="noreferrer">
|
||||
<figure class="image is-48x48">
|
||||
<img src={imgSrc} alt="Logo Entreprise" />
|
||||
</figure>
|
||||
</a>
|
||||
</div>
|
||||
<div class="media-content">
|
||||
<p class="title is-4">{data.occupation}</p>
|
||||
<p class="subtitle is-6">{data.entreprise} - {data.location} - {data.duration}</p>
|
||||
<div class="tags">
|
||||
{data.tags.map(function (name, index) {
|
||||
return <span key={index} class="tag">{name}</span>;
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
{data.description}
|
||||
</div>
|
||||
{data.commentaire ? <div class="comment">
|
||||
{data.commentaire}
|
||||
</div> : ''}
|
||||
|
||||
</div>
|
||||
}
|
||||
}
|
||||
}
|
||||
// export default connect(
|
||||
// ({ MenuComponent }) => ({ ...MenuComponent }),
|
||||
// dispatch => bindActionCreators({ ...MenuComponentActions }, dispatch)
|
||||
|
@ -2,7 +2,7 @@ import './FooterCard.scss';
|
||||
|
||||
import { injectIntl } from 'react-intl';
|
||||
|
||||
import React, { Component } from '../../../node_modules/react';
|
||||
import React, { Component } from 'react';
|
||||
import bulmaLogo from '../../images/made-with-bulma.webp';
|
||||
|
||||
|
||||
|
@ -2,7 +2,7 @@ import './MainCard.scss';
|
||||
|
||||
import { FormattedMessage, injectIntl } from 'react-intl';
|
||||
|
||||
import React, { Component } from '../../../node_modules/react';
|
||||
import React, { Component } from 'react';
|
||||
import headshotFond from '../../images/headshot_fond.webp';
|
||||
import headshotMain from '../../images/headshot_main.webp';
|
||||
import ButtonIcon from '../ButtonIcon/index';
|
||||
|
@ -2,7 +2,7 @@ import './MenuComponent.scss';
|
||||
|
||||
import { FormattedMessage, injectIntl } from 'react-intl';
|
||||
|
||||
import React, { Component } from '../../../node_modules/react';
|
||||
import React, { Component } from 'react';
|
||||
import { URL_add_parameter } from '../../services/parameters.service';
|
||||
|
||||
|
||||
|
@ -2,7 +2,7 @@ import './ProjectsCard.scss';
|
||||
|
||||
import { injectIntl } from 'react-intl';
|
||||
|
||||
import React, { Component } from '../../../node_modules/react';
|
||||
import React, { Component } from 'react';
|
||||
import ProjectCard from '../ProjectCard/index';
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user