Compare commits
6 Commits
V2.9.1
...
V2.9.2_prod
| Author | SHA1 | Date | |
|---|---|---|---|
| 92a0bc2f5a | |||
| 9a73c59197 | |||
| 46950b15d7 | |||
| 48e4108270 | |||
| 0c70c93d99 | |||
| bae6713dac |
@@ -30,7 +30,7 @@ const OgHead = props => {
|
||||
<meta name="twitter:image" content={props.image}/>
|
||||
|
||||
if (urlEnv=="development") {
|
||||
<meta name="robots" content="noindex, nofollow"></meta>
|
||||
// <meta name="robots" content="noindex, nofollow"></meta>
|
||||
}
|
||||
|
||||
{/* <meta httpEquiv='cache-control' content='no-store,no-cache'></meta>
|
||||
|
||||
@@ -12,6 +12,7 @@ import ReactHtmlParser, { processNodes, convertNodeToElement, htmlparser2 } from
|
||||
import {
|
||||
Button,
|
||||
} from '@material-ui/core';
|
||||
import Link from 'next/link'
|
||||
//US475
|
||||
import GooglePlaceAutocomplete from 'mui-places-autocomplete'
|
||||
import { geocodeByAddress } from 'react-places-autocomplete'
|
||||
@@ -154,12 +155,7 @@ class AccountEtape1 extends Component {
|
||||
//setOpen(false);
|
||||
};
|
||||
|
||||
onBlur(e) {
|
||||
console.log("blur")
|
||||
this.setState({ [e.target.name]: e.target.value });
|
||||
|
||||
this.soumettre(e.target.name, "unitaire");
|
||||
}
|
||||
|
||||
|
||||
|
||||
UNSAFE_componentWillReceiveProps(nextProps) {
|
||||
@@ -168,36 +164,22 @@ class AccountEtape1 extends Component {
|
||||
lastname: nextProps.user.lastname,
|
||||
phone: nextProps.user.phone,
|
||||
email: nextProps.user.email,
|
||||
currentJob: nextProps.user.currentJob,
|
||||
address1 : nextProps.user.address1,
|
||||
address2 : nextProps.user.address2,
|
||||
zipCode : nextProps.user.zipCode,
|
||||
city : nextProps.user.city,
|
||||
country : nextProps.user.country,
|
||||
linkedin: nextProps.user.linkedin,
|
||||
twitter: nextProps.user.twitter,
|
||||
website: nextProps.user.website,
|
||||
companyId: nextProps.companyId,
|
||||
geoloc: this.state.geoloc,
|
||||
value: this.state.value,
|
||||
route: this.state.route,
|
||||
street_number: this.state.street_number,
|
||||
locality: this.state.locality,
|
||||
administrative_area_level_2: this.state.administrative_area_level_2,
|
||||
administrative_area_level_1: this.state.administrative_area_level_1,
|
||||
country: this.state.country,
|
||||
postal_code: this.state.postal_code,
|
||||
formatted_address : this.state.formatted_address,
|
||||
lat:this.state.lat,
|
||||
lng: this.state.lng,
|
||||
appellationId : this.state.appellationId,
|
||||
valueMetier :nextProps.user.appellationLibelle,
|
||||
appellationLibelle : nextProps.user.appellationLibelle,
|
||||
value: nextProps.user.geoloc && nextProps.user.geoloc[0].formatted_address ? nextProps.user.geoloc[0].formatted_address :"",
|
||||
valueMetier: nextProps.user.appellationLibelle ? nextProps.user.appellationLibelle :"",
|
||||
geoloc: nextProps.user.geoloc && nextProps.user.geoloc[0].formatted_address ? nextProps.user.geoloc[0].formatted_address :"",
|
||||
formatted_address:nextProps.user.geoloc && nextProps.user.geoloc[0].formatted_address ? nextProps.user.geoloc[0].formatted_address :"",
|
||||
appellationLibelle:nextProps.user.appellationLibelle ? nextProps.user.appellationLibelle :"",
|
||||
errors: !!!nextProps.errors ? { errors: { message: "" } } : nextProps.errors,
|
||||
})
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
console.log("USER ................................");
|
||||
console.log(this.props.user);
|
||||
this.setState({
|
||||
firstname: this.props.user.firstname,
|
||||
lastname: this.props.user.lastname,
|
||||
@@ -222,25 +204,17 @@ class AccountEtape1 extends Component {
|
||||
administrative_area_level_1: "",
|
||||
country: "",
|
||||
postal_code: "",
|
||||
formatted_address:"",
|
||||
formatted_address:this.props.user.geoloc && this.props.user.geoloc[0].formatted_address ? this.props.user.geoloc[0].formatted_address :"",
|
||||
lat:"",
|
||||
lng:"",
|
||||
appellationId:"",
|
||||
appellationLibelle:""
|
||||
appellationLibelle:this.props.user.appellationLibelle ? this.props.user.appellationLibelle :"",
|
||||
})
|
||||
|
||||
}
|
||||
onChange = (e) => {
|
||||
|
||||
this.setState({
|
||||
value: e.target.value
|
||||
});
|
||||
|
||||
if (e.target.value === '') {
|
||||
console.log('cleared');
|
||||
//this.props.onSelectionChanged('');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
remplirLocation = (typeDonnee, donnee) =>{
|
||||
console.log("DEBUT remplirLocation");
|
||||
@@ -367,6 +341,28 @@ class AccountEtape1 extends Component {
|
||||
this.soumettre(e.target.name, "global")
|
||||
|
||||
}
|
||||
|
||||
onChange = (e) => {
|
||||
|
||||
this.setState({
|
||||
value: e.target.value
|
||||
});
|
||||
|
||||
if (e.target.value === '') {
|
||||
console.log('cleared');
|
||||
//this.props.onSelectionChanged('');
|
||||
}
|
||||
}
|
||||
|
||||
onBlur(e) {
|
||||
console.log("blur");
|
||||
console.log(e.target.value);
|
||||
console.log(e.target.name);
|
||||
this.setState({ [e.target.name]: e.target.value });
|
||||
|
||||
this.soumettre(e.target.name, "unitaire");
|
||||
}
|
||||
|
||||
soumettre(champ, type){
|
||||
console.log("soumettre");
|
||||
console.log(champ);
|
||||
@@ -480,6 +476,7 @@ class AccountEtape1 extends Component {
|
||||
// METIER
|
||||
// Filter logic
|
||||
getSuggestionsMetier = async (valueMetier) => {
|
||||
console.log("getSuggestionsMetier");
|
||||
const inputValue = valueMetier.trim().toLowerCase();
|
||||
let response = await fetch(publicRuntimeConfig.symphonyUrl+"api/getAppelationsLibelle?q=" + inputValue );
|
||||
// let response = await fetch("http://www.omdbapi.com/?s=" + inputValue + "&apikey=a591bb53");
|
||||
@@ -521,7 +518,10 @@ class AccountEtape1 extends Component {
|
||||
</span>
|
||||
</span>
|
||||
);
|
||||
|
||||
refreshPage() {
|
||||
window.location.replace("/");
|
||||
}
|
||||
|
||||
choisirMetier = (code) =>{
|
||||
console.log("choisir metier "+code);
|
||||
}
|
||||
@@ -585,7 +585,7 @@ class AccountEtape1 extends Component {
|
||||
|
||||
const inputPropsMetier = {
|
||||
placeholder: 'Saisir un métier',
|
||||
value:valueMetier,
|
||||
value:this.state.valueMetier,
|
||||
onChange: this.onChangeMetier
|
||||
};
|
||||
|
||||
@@ -698,7 +698,7 @@ class AccountEtape1 extends Component {
|
||||
<input type="hidden" id="appellation_id" value={this.state.appellationId =='null' || this.state.appellationId =='' ? '' :this.state.appellationId}></input>
|
||||
<input type="hidden" id="appellation_libelle" value={this.state.appellationLibelle =='null' || this.state.appellationLibelle =='' ? '' :this.state.appellationLibelle}></input>
|
||||
|
||||
<TextField
|
||||
{/* <TextField
|
||||
name="currentJob"
|
||||
id="outlined"
|
||||
label="Poste actuel"
|
||||
@@ -709,7 +709,7 @@ class AccountEtape1 extends Component {
|
||||
value={this.state.currentJob =='null' || this.state.currentJob =='' ? '' :this.state.currentJob}
|
||||
onChange={this.handleChange}
|
||||
onBlur={this.onBlur}
|
||||
/>
|
||||
/> */}
|
||||
<div className={classes.container}>
|
||||
<div
|
||||
className={classes.conteneurGoogle}
|
||||
@@ -728,6 +728,7 @@ class AccountEtape1 extends Component {
|
||||
variant="outlined"
|
||||
textFieldProps={{ id: "outlined-required" }}
|
||||
className={classes.textField}
|
||||
value="test"
|
||||
classes={{ root: classes.rootTextfield }}
|
||||
options={this.searchOptions}
|
||||
onSuggestionSelected={this.onSuggestionSelected}
|
||||
@@ -858,13 +859,14 @@ class AccountEtape1 extends Component {
|
||||
onBlur={this.onBlur}
|
||||
/>
|
||||
<Button
|
||||
type="submit"
|
||||
onClick={this.refreshPage}
|
||||
variant="contained"
|
||||
color="primary"
|
||||
|
||||
className={classes.button}>
|
||||
Enregistrer
|
||||
</Button>
|
||||
|
||||
</form>
|
||||
{/* <div id="F" className={classes.foot}>
|
||||
<Button variant="contained" className={classes.button + ' cypButtonSendApplication'} onClick={this.onSubmit}>Mettre à jour!</Button>
|
||||
|
||||
@@ -26,7 +26,7 @@ import BottomNavigation from '@material-ui/core/BottomNavigation';
|
||||
import RefreshIcon from '@material-ui/icons/Refresh';
|
||||
// import FavoriteIcon from '@material-ui/icons/Favorite'; import LocationOnIcon
|
||||
// from '@material-ui/icons/LocationOn';
|
||||
|
||||
import Link from 'next/link'
|
||||
import Box from '@material-ui/core/Box';
|
||||
|
||||
import {
|
||||
|
||||
@@ -46,16 +46,16 @@ module.exports = withPlugins(
|
||||
// frontServerUrl: 'http://localhost:3000',
|
||||
// cvThequeUrl: 'https://recruteur.talentstube.com',
|
||||
// PROD
|
||||
// symphonyUrl: 'https://recruteur.talentstube.com/',
|
||||
// blogUrl: 'https://blog.talentstube.com',
|
||||
// frontServerUrl: 'https://www.talentstube.com/',
|
||||
// cvThequeUrl: 'https://recruteur.talentstube.com',
|
||||
// PRE PROD
|
||||
symphonyUrl: 'https://pp.talentstube.com/',
|
||||
symphonyUrl: 'https://recruteur.talentstube.com/',
|
||||
blogUrl: 'https://blog.talentstube.com',
|
||||
frontServerUrl: 'https://pp.app.talentstube.com/',
|
||||
frontServerUrl: 'https://www.talentstube.com/',
|
||||
cvThequeUrl: 'https://recruteur.talentstube.com',
|
||||
version : 'V2.9.1',
|
||||
// PRE PROD
|
||||
// symphonyUrl: 'https://pp.talentstube.com/',
|
||||
// blogUrl: 'https://blog.talentstube.com',
|
||||
// frontServerUrl: 'https://pp.app.talentstube.com/',
|
||||
// cvThequeUrl: 'https://recruteur.talentstube.com',
|
||||
version : 'V2.9.2',
|
||||
adListDefaultUrl: '/statique/images/default/default_picture_company.jpg',
|
||||
cachedMediaUrl: '/media/cache/profile_thumb/uploads/img/',
|
||||
postedContentUrl: '/uploads/img/',
|
||||
|
||||
@@ -1,10 +1,50 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://www.talentstube.com/Entreprise/33190-les-francas-doubs/</loc>
|
||||
<lastmod>2021-04-26</lastmod>
|
||||
<priority>1.00</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://www.talentstube.com/Offre/148-educateur-de-jeunes-enfants-f-h</loc>
|
||||
<lastmod>2021-04-26</lastmod>
|
||||
<priority>1.00</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://www.talentstube.com/Offre/146-animateur-ado-f-h</loc>
|
||||
<lastmod>2021-04-17</lastmod>
|
||||
<priority>1.00</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://www.talentstube.com/Offre/144-soudeur-f-h</loc>
|
||||
<lastmod>2021-04-19</lastmod>
|
||||
<priority>1.00</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://www.talentstube.com/Offre/143-dessinateur-3-d-f-h</loc>
|
||||
<lastmod>2021-04-19</lastmod>
|
||||
<priority>1.00</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://www.talentstube.com/Offre/142-charge-daffaires-f-h</loc>
|
||||
<lastmod>2021-03-24</lastmod>
|
||||
<priority>1.00</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://www.talentstube.com/Player?id=146&url=/Offre/146-animateur-ado-f-h&videoId=535772088&typeEntite=Offre&nameCompany=Les%20Francas%20du%20Doubs&nameOffre=Animateur%20Ado%20(F/H)</loc>
|
||||
<lastmod>2021-02-10</lastmod>
|
||||
<priority>1.00</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://www.talentstube.com/Player?id=135&url=/Offre/135-commercial-b-to-c-f-h&videoId=502499843&typeEntite=Offre&nameCompany=Fym%20Action&nameOffre=Commercial%20B%20to%20C%20(F/H)</loc>
|
||||
<lastmod>2021-02-10</lastmod>
|
||||
<priority>1.00</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://www.talentstube.com/Player?id=135&url=/Offre/135-commercial-b-to-c-f-h&videoId=502499843&typeEntite=Offre&nameCompany=Fym%20Action&nameOffre=Commercial%20B%20to%20C%20(F/H)</loc>
|
||||
<lastmod>2021-02-10</lastmod>
|
||||
<priority>1.00</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://www.talentstube.com/Player?id=135&url=/Offre/135-commercial-b-to-c-f-h&videoId=502499843&typeEntite=Offre&nameCompany=Fym%20Action&nameOffre=Commercial%20B%20to%20C%20(F/H)</loc>
|
||||
<lastmod>2021-02-10</lastmod>
|
||||
|
||||
@@ -71,8 +71,9 @@ class Player extends Component {
|
||||
render() {
|
||||
const { classes, id, url, typeEntite, videoId, nameCompany, nameOffre } = this.props
|
||||
const urlEnv = process.env.NODE_ENV;
|
||||
let nofollow = true;
|
||||
urlEnv == "development" ? nofollow = true : nofollow = false;
|
||||
//pour la MEP
|
||||
let nofollow = false;
|
||||
urlEnv == "development" ? nofollow = false : nofollow = false;
|
||||
|
||||
console.log(id);
|
||||
console.log(typeEntite);
|
||||
|
||||
Reference in New Issue
Block a user