Compare commits

...

78 Commits

Author SHA1 Message Date
llaniau c71fe2b452 Inscription tel 2021-02-24 15:41:44 +01:00
llaniau ee45ef810b Correction de bugs 2021-02-24 14:01:30 +01:00
llaniau 63bd801281 retour de recette et page accueil 2021-02-22 18:01:33 +01:00
llaniau ddb1abbe70 sitemap 2021-02-18 14:00:35 +01:00
llaniau e7b9298a3b Param pre prod 2021-02-16 17:18:58 +01:00
llaniau ea69a5f308 Nouvelle page accueil redirect 2021-02-16 17:14:19 +01:00
llaniau 8fe612824b referencement , fonts 2021-02-15 18:17:04 +01:00
llaniau e02f90634b sitemap 2021-02-11 14:10:41 +01:00
llaniau c9284e800a sous titre 2021-02-11 10:24:49 +01:00
llaniau 3e26ba8bca MEP V2.6.2 2021-02-10 16:28:54 +01:00
llaniau f53743a03e Version V2.6.2 2021-02-10 15:15:21 +01:00
llaniau d90682c710 Referencement player 2021-02-10 15:03:31 +01:00
llaniau 5456dfd4c4 Optimisation referencement + geoloc 2021-02-08 09:14:31 +01:00
llaniau df81b18194 async defer 2021-02-02 08:37:21 +01:00
llaniau ed9bfff65d Optimisation referencement (typo, et async) 2021-02-02 08:37:05 +01:00
llaniau 39d29567ce Optimisation referencement 2021-02-01 22:38:27 +01:00
llaniau 10897f633d siteMap optimisé 2021-01-24 20:01:23 +01:00
llaniau 41916bc451 sitempa et robots.txt 2021-01-24 12:40:38 +01:00
llaniau 06e6b615b1 MEP V2.5.4 2021-01-21 14:46:23 +01:00
llaniau ce95cb2d66 Ne pas afficher champ geoloc 2021-01-21 13:44:28 +01:00
llaniau fe1747ea90 version V2.5.4 2021-01-20 18:17:32 +01:00
llaniau f6edb107b2 retour recette Corentin 2021-01-20 18:15:39 +01:00
llaniau 28ae59b7e4 lmodif taille image mini 2021-01-20 11:30:14 +01:00
llaniau 65b6a9b9dc Reglage partage facebook 2021-01-20 11:24:46 +01:00
llaniau d0ce6516dc Og head partage image 2021-01-20 11:03:58 +01:00
llaniau 12c3b2e1cd version 2.5.2 2021-01-20 10:21:41 +01:00
llaniau 3fc5bc6424 non referencement test4 2021-01-19 19:39:17 +01:00
llaniau f0fe21a14e Layoutback 2021-01-19 16:28:38 +01:00
llaniau 9c19993bcc Bug Og suite retour pre prod 2021-01-19 15:59:19 +01:00
llaniau 00fdb164af bug og entreprise 2021-01-18 17:33:14 +01:00
llaniau 6e6ac8e440 Correction OgHead 2021-01-18 17:25:43 +01:00
llaniau 8259112aac Bug og suite 2021-01-18 16:10:26 +01:00
llaniau b0f66eb9fd Changement _document.js pour mettre un og par def 2021-01-18 11:12:49 +01:00
llaniau c08f3db680 bug og suite 2021-01-18 10:33:33 +01:00
llaniau de1a56285d Bug og suite 2021-01-18 10:30:23 +01:00
llaniau 1e78256886 Bug Og 2021-01-18 10:20:08 +01:00
llaniau 37c54c4dd0 Pb og facebook sur image 2021-01-18 10:15:07 +01:00
llaniau 21c61e6128 OgHead en haut 2021-01-18 10:03:11 +01:00
llaniau 32e3826c27 facebook id pour poartage og 2021-01-18 09:58:56 +01:00
llaniau 9d647525b3 Mise en place dev@talentstube.com 2021-01-18 09:43:57 +01:00
llaniau ed19b99bba US482.488 Permettre aux d'envoyer plusieurs videos 2021-01-14 17:02:31 +01:00
llaniau 9c38c8c03d Mise en place de stats 2021-01-13 17:28:54 +01:00
llaniau f200235ced LayoutBack avec popup 2021-01-12 18:50:33 +01:00
llaniau 92a93452bb US451 : Chgt mise en page sticky 2021-01-11 15:56:43 +01:00
llaniau 5626e2d592 US451 : refonte page entreprise 2021-01-06 17:25:30 +01:00
llaniau a52c855ec2 Init V2.5.1 2021-01-06 13:39:42 +01:00
llaniau 16e5218f16 MEP V2.5.0 2021-01-05 17:52:08 +01:00
llaniau 68e5abb088 Bug sur le cv papier 2021-01-05 13:37:09 +01:00
llaniau b52f05002b Bug cv papier 2021-01-04 18:13:23 +01:00
llaniau e1bb5de959 Bug reducer Media mediaCv 2021-01-04 17:56:23 +01:00
llaniau aaf1226ea0 US 430 : refonte parcours talent 2021-01-04 14:07:50 +01:00
llaniau e06cb60bfb Parcours talents avec Cv papier en etape2 2020-12-30 17:06:09 +01:00
llaniau 11eedf3a8b Modif du mail d'inscription 2020-12-29 09:54:13 +01:00
llaniau f9a8b598da Bug chromebook 2020-12-29 09:09:54 +01:00
llaniau b488e3399c Envoi mail template mailjet 2020-12-28 16:29:18 +01:00
llaniau c82cd3be1e Envoi contact liste mailjet 2020-12-28 16:28:36 +01:00
llaniau fed0d99e64 Envoi contact dans liste mailjet 2020-12-28 16:28:13 +01:00
llaniau 24e05ff7fc version pre prod 2020-12-24 10:20:37 +01:00
llaniau 9af90d3fd0 Bug65, 152,165,140 2020-12-24 10:06:14 +01:00
llaniau 0b3d5c9ebb Bug 169 sur les candidatures spontanées 2020-12-21 10:06:44 +01:00
llaniau c3f4832b30 Packaging MEP V2.4.0 2020-12-15 13:32:35 +01:00
llaniau 4bd6e8c580 Probleme confirmAccount 2020-12-15 10:15:56 +01:00
llaniau 8e896114bf changement de version dans next config 2020-12-15 09:09:23 +01:00
llaniau f757997392 Retour recette Audrey Corentin 2020-12-14 18:17:42 +01:00
llaniau 67b3c97806 no follow 2020-12-13 23:47:51 +01:00
llaniau ee636e27ff US 238 : Mise en place de la version 2020-12-11 16:14:48 +01:00
llaniau ff5055c411 US 435 et 355 sur le module webRTC new look 2020-12-11 15:34:22 +01:00
llaniau d5b1fcd74a Reglage mise en page Offre emploi 2020-12-10 17:31:58 +01:00
llaniau 5ace82986f US 443: Stocker id annonce dans le mail 2020-12-10 16:57:22 +01:00
llaniau c989b6ddfe Point mise en page Corentin 2020-12-10 16:52:29 +01:00
llaniau f3f94e9b51 Navigation intelligente lors du login 2020-12-09 14:08:35 +01:00
llaniau 6c34cad1e7 Social Share 2020-12-03 16:43:29 +01:00
llaniau cb5268bf27 Header maj 2020-12-03 16:20:51 +01:00
llaniau 7b77b2195d US403, US413, US404 2020-12-03 16:17:52 +01:00
llaniau dad7e6b2eb US 420,412,421,414 2020-12-02 16:40:57 +01:00
llaniau 146d1a5061 Mise en place du nouveau parcours talent 2020-12-01 19:21:23 +01:00
llaniau ed626137cf Correction entreprise rattaché à territoir en prod 2020-12-01 11:23:22 +01:00
llaniau 224cedac65 Bug video territoire 2020-11-26 15:03:54 +01:00
96 changed files with 9203 additions and 1051 deletions
+1 -17
View File
@@ -5,9 +5,6 @@ import {
UPLOAD_MEDIA_PRES_REQUEST,
UPLOAD_MEDIA_PRES_FAILURE,
UPLOAD_MEDIA_PRES_SUCCESS,
UPLOAD_MEDIA_CV_REQUEST,
UPLOAD_MEDIA_CV_FAILURE,
UPLOAD_MEDIA_CV_SUCCESS,
} from "../types";
@@ -41,19 +38,6 @@ import {
res
});
export const uploadMediaCv = payload => ({
type: UPLOAD_MEDIA_CV_REQUEST,
payload
});
export const uploadMediaCvFailure = errors => ({
type: UPLOAD_MEDIA_CV_FAILURE,
errors
});
export const uploadMediaCvSuccess = res => ({
type: UPLOAD_MEDIA_CV_SUCCESS,
res
});
+25
View File
@@ -0,0 +1,25 @@
import {
UPLOAD_MEDIA_CV_REQUEST,
UPLOAD_MEDIA_CV_FAILURE,
UPLOAD_MEDIA_CV_SUCCESS,
} from "../types";
export const uploadMediaCv = payload => ({
type: UPLOAD_MEDIA_CV_REQUEST,
payload
});
export const uploadMediaCvFailure = errors => ({
type: UPLOAD_MEDIA_CV_FAILURE,
errors
});
export const uploadMediaCvSuccess = res => ({
type: UPLOAD_MEDIA_CV_SUCCESS,
res
});
+4
View File
@@ -9,6 +9,8 @@ import BusinessCenterIcon from '@material-ui/icons/BusinessCenter';
import Business from '@material-ui/icons/Business';
import Typography from '@material-ui/core/Typography';
import WatchLater from '@material-ui/icons/WatchLater';
import Home from '@material-ui/icons/Home';
import People from '@material-ui/icons/People';
const variantIcon = {
assignment: AssignmentIcon,
@@ -17,6 +19,8 @@ const variantIcon = {
business_center: BusinessCenterIcon,
business: Business,
watch_later: WatchLater,
home: Home,
people: People,
};
const styles = theme => ({
@@ -4,8 +4,10 @@ import { withStyles } from '@material-ui/core/styles';
import AssignmentIcon from '@material-ui/icons/Assignment';
import RoomIcon from '@material-ui/icons/Room';
import LocationOnIcon from '@material-ui/icons/LocationOn';
import HomeOnIcon from '@material-ui/icons/Home';
import WatchLater from '@material-ui/icons/WatchLater';
import BusinessCenterIcon from '@material-ui/icons/BusinessCenter';
import People from '@material-ui/icons/People';
import Typography from '@material-ui/core/Typography';
import Business from '@material-ui/icons/Business';
@@ -13,9 +15,11 @@ const variantIcon = {
assignment: AssignmentIcon,
room: RoomIcon,
location_on: LocationOnIcon,
home: HomeOnIcon,
watch_later: WatchLater,
business_center: BusinessCenterIcon,
business: Business,
people: People,
};
const styles = theme => ({
+1 -1
View File
@@ -8,7 +8,7 @@ const styles = theme => ({
padding: theme.spacing(0, 4),
},
text: {
fontFamily: 'Dosis',
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
fontSize: '1,2em',
fontWeight: '500',
color: theme.palette.primary.main,
+6 -3
View File
@@ -6,12 +6,13 @@ const OgHead = props => {
return (
<Head>
<title key="title">{props.seo_title}</title>
{/* <meta name="robots" content="noindex, nofollow"></meta> */}
<meta name="description" kenoindexy="description" content={props.seo_description} />
<meta name="keywords" content={props.seo_key}/>
<meta key="og:url" property="og:url" content={props.seo_url} />
<meta key="og:type" property="og:type" content="article" />
<meta key="og:title" property="og:title" content={props.seo_title} />
<meta property="fb:app_id" content="1800752833559014" data-react-helmet="true"></meta>
<meta
key="og:description"
property="og:description"
@@ -19,16 +20,18 @@ const OgHead = props => {
/>
<meta name="keywords" content={props.seo_key}/>
<meta key="og:image" property="og:image" content={props.image} />
<meta key="og:image:width" property="og:image:width" content="355" />
<meta key="og:image:height" property="og:image:height" content="200" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:site" content="@TalentsTube"/>
<meta name="twitter:title" content={props.seo_title}/>
<meta name="twitter:description" content={props.seo_description}/>
<meta name="twitter:image" content={props.image}/>
<meta name="robots" content="noindex, nofollow"></meta>
{/* <meta httpEquiv='cache-control' content='no-store,no-cache'></meta>
<meta httpEquiv='expires' content='0'></meta>
<meta httpEquiv='pragma' content='no-cache'></meta> */}
{/* <link rel="canonical" href={ props.seo_url} /> */}
<link rel="canonical" href={ props.seo_url} />
</Head>
)
+1 -1
View File
@@ -72,7 +72,7 @@ export default function VideoVimeo(props) {
<section className={className +' '+classesOverride}>
<iframe className='player'
src={"https://player.vimeo.com/video/"+ videoId + options+"?autoplay="+autoplay}
src={"https://player.vimeo.com/video/"+ videoId + options+"?texttrack=fr&autoplay="+autoplay}
frameBorder="0"
title={title}
webkitallowfullscreen="true" mozallowfullscreen="true" allowFullScreen></iframe>
+2 -2
View File
@@ -24,8 +24,8 @@ const theme = createMuiTheme({
},
offerlistitem: {
title: '#1E2327',
icon: '#BBBCBD',
text: '#787B7D',
icon: '#1E2327',
text: '#1E2327',
},
answer: {
main: '#E8E8E8',
+4 -4
View File
@@ -368,7 +368,7 @@ class AccountEtape1 extends Component {
className={classes.textField}
classes={{ root: classes.rootTextfield }}
variant="outlined"
value={this.state.currentJob ? this.state.currentJob : ''}
value={this.state.currentJob =='null' || this.state.currentJob =='' ? '' :this.state.currentJob}
onChange={this.handleChange}
onBlur={this.onBlur}
/>
@@ -442,7 +442,7 @@ class AccountEtape1 extends Component {
classes={{ root: classes.rootTextfield }}
variant="outlined"
placeholder="http://www.linkedin.com/in/"
value={this.state.linkedin ? this.state.linkedin : ''}
value={this.state.linkedin =='null' || this.state.linkedin =='' ? '' :this.state.linkedin}
onChange={this.handleChange}
onBlur={this.onBlur}
@@ -456,7 +456,7 @@ class AccountEtape1 extends Component {
classes={{ root: classes.rootTextfield }}
variant="outlined"
placeholder="http://twitter.com/.."
value={this.state.twitter ? this.state.twitter : ''}
value={this.state.twitter =='null' || this.state.twitter =='' ? '' :this.state.twitter}
onChange={this.handleChange}
onBlur={this.onBlur}
/>
@@ -469,7 +469,7 @@ class AccountEtape1 extends Component {
classes={{ root: classes.rootTextfield }}
variant="outlined"
placeholder="http://monsite.fr"
value={this.state.website ? this.state.website : ''}
value={this.state.website =='null' || this.state.website =='' ? '' :this.state.website}
onChange={this.handleChange}
onBlur={this.onBlur}
/>
+9 -4
View File
@@ -104,6 +104,9 @@ const styles = theme => ({
fontSize: '2.5em',
color: "#1689FB",
textAlign: "right"
},
buttons :{
display: "inline-table",
}
});
const Recorder = dynamic(() => import ('../organisms/Recorder'), {ssr: false})
@@ -119,7 +122,7 @@ class Etape2 extends React.Component {
componentDidMount() {
localStorage.setItem('loginRedirect', window.location)
localStorage.setItem('loginRedirect', window.location.pathname)
if (!!!localStorage.getItem('ttJWT')) {
Router.push("/Login")
@@ -207,7 +210,7 @@ class Etape2 extends React.Component {
<section className={classes.container}>
<Fragment>
{this.AfficherSuccess()}
{ loading ? <LoaderVideo/> : <div></div> }
{ loading ? <LoaderVideo textePrincipal="Votre vidéo est en cours denvoi..." texteSecondaire="Veuillez rester sur la page pendant le chargement qui peut durer plusieurs minutes."/> : <div></div> }
<div className={classes.root}>
<Hidden xsUp>
@@ -218,14 +221,15 @@ class Etape2 extends React.Component {
<Grid container
justify="center"
alignItems="center"
spacing={2}>
spacing={2}
className={classes.buttons}>
<Grid item xs={12} sm={12} md={12} lg={6} lg={6}>
{ /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ?
(
<Fragment>
<Fragment >
<input
type="file" accept="video/*" capture="camcorder"
className={classes.input}
@@ -250,6 +254,7 @@ class Etape2 extends React.Component {
<div className={classes.recorderContainer}>
<Recorder uploader={this.props.uploadMediaPres} titreBouton="Remplacer ma vidéo"/>
</div>
)
}
+4 -4
View File
@@ -2,7 +2,7 @@ import React, { Fragment } from 'react';
import { connect } from "react-redux";
import { fetchCurrentUserRequest } from '../../actions/user'
import { fetchCompanyRequest } from '../../actions/companies'
import { uploadMediaCv } from '../../actions/media'
import { uploadMediaCv } from '../../actions/mediaCv'
import { withStyles } from '@material-ui/core/styles'
import { makeStyles } from '@material-ui/styles';
import { Button, Typography, Divider, Hidden } from '@material-ui/core';
@@ -69,7 +69,7 @@ class Etape3 extends React.Component {
};
componentDidMount() {
localStorage.setItem('loginRedirect', window.location)
localStorage.setItem('loginRedirect', window.location.pathname)
if(!!!localStorage.getItem('ttJWT'))
{
@@ -191,7 +191,7 @@ class Etape3 extends React.Component {
return (
<Fragment>
{ loading ?
<LoaderVideo /> :
<LoaderVideo textePrincipal="Votre candidature vidéo est en cours denvoi..." texteSecondaire="Veuillez rester sur la page pendant le chargement qui peut durer plusieurs minutes."/> :
<Fragment>
{this.AfficherSuccess()}
@@ -246,7 +246,7 @@ function mapStateToProps(state) {
// console.log(state.media.message)
return {
user: state.user ,
cvLink : state.media.message,
cvLink : state.mediaCv.message,
loading: !!state.media.loading,
cv : true,
//errors: errorMessageSelector(state),
@@ -119,7 +119,47 @@ const useStyles = makeStyles(theme => ({
},
resetContainer: {
padding: theme.spacing(3)
}
},
iconButton:{
marginTop: "50px",
[theme.breakpoints.down('md')]: {
marginTop: "50px",
},
},
button: {
textTransform: 'inherit',
marginTop: theme.spacing(4),
marginBottom: theme.spacing(2),
padding: theme.spacing(1.2, 1),
borderRadius: '3px',
color: theme.palette.secondary.main,
backgroundColor: theme.palette.primary.important,
},
title:{
fontFamily: 'Roboto',
fontSize: '1.625em',
fontWeight: '600',
padding: theme.spacing(3, 0),
},
texteEtape:{
fontSize: '1em',
fontWeight: '300',
},
conteneur:{
width:'400px',
},
tabContainer:{
display: 'flex',
flexDirection: 'column',
alignItems:'center',
textAlign:'center',
align:'center',
alignSelf:'center',
},
}));
const AccountProfile = props => {
@@ -136,70 +176,118 @@ const AccountProfile = props => {
const {publicRuntimeConfig} = getConfig()
return (
<Grid
container
spacing={4}
direction="row"
justify="space-between"
alignItems="flex-start">
<Fragment >
<div className={classes.tabContainer}>
<div className={classes.conteneur}>
<Typography gutterBottom align="center" >
<span className={classes.title}>
<img
alt="talents-tube"
src='/statique/images/inscription/candidature-video-envoyee.svg'
className={classes.iconButton}/>
</span>
</Typography>
<Typography gutterBottom align="center" >
<span className={classes.title}>Bravo !<br></br>
Votre candidature a été envoyée
</span>
</Typography>
<Typography gutterBottom align="center" className={classes.conteneur}>
<div className={classes.texteEtape}>
Pour suivre létat davancement de vos candidatures, rendez-vous sur votre espace <b>Mon compte</b>.
</div>
</Typography>
<Typography gutterBottom align="center" className={classes.text}>
<Button
variant="contained"
className={classes.button}
classes={{ root: classes.rootButton }}
onClick={() => Router.push('/Candidatures')}
>
Accéder à Mon compte
</Button>
</Typography>
{/* <section className={classes.bottomContainer}>
<Button
variant="contained"
className={classes.button}
classes={{ root: classes.rootButton }}
onClick={() => Router.push('/Login')}
>
Connexion
</Button>
</section> */}
</div>
</div>
</Fragment>
// <Grid
// container
// spacing={4}
// direction="row"
// justify="space-between"
// alignItems="flex-start">
<Grid item lg={9} md={6} xl={8} xs={12}>
<Fragment>
<Hidden>&nbsp;</Hidden>
<Hidden>&nbsp;</Hidden>
// <Grid item lg={9} md={6} xl={8} xs={12}>
// <Fragment>
// <Hidden>&nbsp;</Hidden>
// <Hidden>&nbsp;</Hidden>
<Card
variant="outlined"
style={{
width: 420 + "px",
textAlign:"center"
}}>
<CardActions></CardActions>
<CardContent>
<Typography>
Tu n'as pas tout dit dans ta vidéo?<br/>
Pour mettre toutes les chances de ton côté,
<b> dépose ton CV old school (format pdf, word)!</b>
</Typography>
</CardContent>
// <Card
// variant="outlined"
// style={{
// width: 420 + "px",
// textAlign:"center"
// }}>
// <CardActions></CardActions>
// <CardContent>
// <Typography>
// Tu n'as pas tout dit dans ta vidéo?<br/>
// Pour mettre toutes les chances de ton côté,
// <b> dépose ton CV old school (format pdf, word)!</b>
// </Typography>
// </CardContent>
</Card>
<Hidden>&nbsp;</Hidden>
<Card
variant="outlined"
style={{
width: 420 + "px",
textAlign:"center"
}}>
<CardContent>
<AccountEtape3></AccountEtape3>
</CardContent>
</Card>
<Hidden>&nbsp;</Hidden>
<Hidden>&nbsp;</Hidden>
<Card
variant="outlined"
style={{
width: 420 + "px",
textAlign:"center"
}}>
<CardContent>
// </Card>
// <Hidden>&nbsp;</Hidden>
// <Card
// variant="outlined"
// style={{
// width: 420 + "px",
// textAlign:"center"
// }}>
// <CardContent>
// <AccountEtape3></AccountEtape3>
// </CardContent>
// </Card>
// <Hidden>&nbsp;</Hidden>
// <Hidden>&nbsp;</Hidden>
// <Card
// variant="outlined"
// style={{
// width: 420 + "px",
// textAlign:"center"
// }}>
// <CardContent>
<Button
variant="contained"
color="primary"
onClick={() => Router.push(`/Candidatures`)}
className={classes.button}>
Voir mes candidatures
</Button>
</CardContent>
</Card>
</Fragment>
// <Button
// variant="contained"
// color="primary"
// onClick={() => Router.push(`/Candidatures`)}
// className={classes.button}>
// Voir mes candidatures
// </Button>
// </CardContent>
// </Card>
// </Fragment>
</Grid>
<Grid item lg={3} md={6} xl={4} xs={12}></Grid>
// </Grid>
// <Grid item lg={3} md={6} xl={4} xs={12}></Grid>
</Grid>
// </Grid>
);
};
+586 -65
View File
@@ -1,6 +1,6 @@
import React, { Component, Fragment } from 'react'
import React, { Component, Fragment, useState } from 'react'
import { withStyles } from '@material-ui/core/styles';
import { Button, Typography } from '@material-ui/core';
import { Button, Typography, Divider, Hidden } from '@material-ui/core';
import TextField from '@material-ui/core/TextField';
import Input from '@material-ui/core/Input';
import { connect } from 'react-redux'
@@ -10,6 +10,28 @@ import Avatar from '@material-ui/core/Avatar';
import KeyboardArrowRightIcon from '@material-ui/icons/KeyboardArrowRight';
import Loader from './../templates/loader'
import getConfig from 'next/config'
import 'video-react/dist/video-react.css';
import { Player } from 'video-react';
import KeyboardArrowDownIcon from '@material-ui/icons/KeyboardArrowDown';
import GooglePlaceAutocomplete from 'mui-places-autocomplete'
import { geocodeByAddress } from 'react-places-autocomplete'
import FormControl from '@material-ui/core/FormControl'
import Dialog from '@material-ui/core/Dialog';
import DialogActions from '@material-ui/core/DialogActions';
import DialogContent from '@material-ui/core/DialogContent';
import DialogContentText from '@material-ui/core/DialogContentText';
import DialogTitle from '@material-ui/core/DialogTitle';
import { uploadMediaCv } from '../../actions/mediaCv'
import GetApp from '@material-ui/icons/GetApp';
// import PlacesAutocomplete from 'react-places-autocomplete';
// import {
// geocodeByAddress,
// geocodeByPlaceId,
// getLatLng,
// } from 'react-places-autocomplete';
// import GoogleAutoComplete from 'react-google-autocomplete-address-fields';
const styles = theme => ({
container: {
@@ -61,10 +83,7 @@ const styles = theme => ({
},
rootButton: {
textTransform: 'inherit',
border: '1px solid',
'&:hover': {
border: '1px solid',
},
},
button: {
textTransform: 'inherit',
@@ -74,32 +93,89 @@ const styles = theme => ({
color: theme.palette.secondary.main,
backgroundColor: theme.palette.primary.important,
},
importButton: {
color: theme.palette.primary.main,
backgroundColor: theme.palette.secondary.main,
padding: theme.spacing(3, 2),
margin: theme.spacing(1),
boxShadow: '0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.14)',
'&:hover': {
backgroundColor: theme.palette.secondary.main,
},
InputKeyboardArrowRightIcon: {
fontSize: '2.5em',
color: theme.palette.secondary.main,
},
containerImport:{
width:"100%",
textAlign:"left",
align:"left",
alignItems:"flex-start",
border: 0,
margin: 0,
display: "inline-flex",
padding: 0,
position: "relative",
flexDirection: "column",
verticalAlign: "top",
marginBottom:"20px !important"
},
});
importButton: {
padding: '4px 8px',
textTransform: 'inherit',
border: '2px solid #1E2327',
color: '#1E2327',
},
remplacerButton: {
color: '#1E2327',
borderColor: '#1E2327',
border: '2px solid',
padding: '9.6px 8px',
margin:'15px 0px 25px 0px',
textTransform: 'inherit',
},
popup: {
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
fontWeight: '400',
color: '#8E9092'
},
player:{
width:"100px"
},
labelGeoloc:{
paddingLeft:"14px",
fontSize: "0.8rem",
color:"#1E2327",
fontFamily: '"Roboto", "Helvetica", "Arial", sans-serif',
fontWeight: "400",
lineHeight: "1",
letterSpacing: "0.00938em", }
,conteneurGoogle:{
border:"1px solid rgb(200, 200, 200)",
borderRadius :"5px",
padding:"5px 0px",
},
conteneurGoogleComposant:{
paddingLeft:"14px"
}
});
export const getCountryFromAddress = (address) => {
if (!address) {
return '';
}
try {
const country = address.address_components.filter(component => component.types.includes('country')).map(c => c.long_name)[0];
console.log('using country for filter ' + country);
return country;
} catch (error) {
console.log(error);
return '';
}
}
const { publicRuntimeConfig } = getConfig()
//https://xd.adobe.com/view/ba98331a-9145-4d67-7e27-25a36e519ef4-cca9/screen/a96779d7-bdb3-410a-8f19-e6987acb98ee/Candidature-Step-3
class Answer extends Component {
constructor(props) {
super(props);
// This binding is necessary to make `this` work in the callback
this.onSubmit = this.onSubmit.bind(this);
const viewValue = this.props.value;
this.onSuggestionSelected = this.onSuggestionSelected.bind(this);
this.onChange = this.onChange.bind(this);
}
state = {
@@ -108,52 +184,353 @@ class Answer extends Component {
lastname: '',
phone: '',
currentJob: '',
geoloc: '',
value:'',
route: '',
street_number: '',
locality: '',
administrative_area_level_2: '',
administrative_area_level_1: '',
country: '',
postal_code: '',
formatted_address:"",
lat:"",
lng:"",
linkedin: '',
twitter: '',
website: '',
mediaId: null,
mediaUrl: null,
thumbnails:null,
heure: null,
companyId: null,
address:'',
errorMessage:'',
open: false,
loading: true,
openSnack: false,
cv:false,
};
handleChange = (e) => {
this.setState({ [e.target.name]: e.target.value })
}
UNSAFE_componentWillReceiveProps(nextProps) {
this.setState({
firstname: nextProps.user.firstname,
lastname: nextProps.user.lastname,
phone: nextProps.user.phone,
currentJob: nextProps.user.currentJob,
linkedin: nextProps.user.linkedin,
twitter: nextProps.user.twitter,
website: nextProps.user.website,
firstname: this.state.firstname,
lastname: this.state.lastname,
phone: this.state.phone,
currentJob: this.state.currentJob,
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,
linkedin: this.state.linkedin,
twitter: this.state.twitter,
website: this.state.website,
mediaId: nextProps.mediaId,
mediaUrl: nextProps.mediaUrl,
thumbnails: nextProps.thumbnails,
heure: nextProps.heure,
companyId: nextProps.companyId,
cvLink: nextProps.cvLink,
loading: nextProps.loading,
openSnack: !!!_.isEmpty(nextProps.errors),
})
if (nextProps.loading) {
const success = {};
success.message ="CV mis à jour";
console.log("CV mis à jour!!!")
this.setState({ success });
}
}
componentDidMount() {
console.log("ANSWER ! ");
console.log(this.props);
this.setState({
firstname: this.props.user.firstname,
lastname: this.props.user.lastname,
phone: this.props.user.phone,
currentJob: this.props.user.currentJob,
value: this.props.user.geoloc && this.props.user.geoloc[0].formatted_address ? this.props.user.geoloc[0].formatted_address :"",
geoloc: this.props.user.geoloc && this.props.user.geoloc[0].formatted_address ? this.props.user.geoloc[0].formatted_address :"",
route: "",
street_number: "",
locality: "",
administrative_area_level_2: "",
administrative_area_level_1: "",
country: "",
postal_code: "",
formatted_address:"",
lat:"",
lng:"",
linkedin: this.props.user.linkedin,
twitter: this.props.user.twitter,
website: this.props.user.website,
video: this.props.answer,
mediaUrl : this.props.mediaUrl,
thumbnails : this.props.thumbnails,
heure : this.props.heure,
loading: false,
cvLink: this.props.user.cv
})
console.log(this.state);
}
inputFilesystemChange = (e) => {
this.uploadMediaCv(e)
}
uploadMediaCv = (e) => {
var file = e.target.files[0]
const data = new FormData()
data.append('upload', file)
this.props.uploadMediaCv(data)
}
AfficherSuccess() {
if (!this.state.success || !this.state.success.message) {
console.log("Erreur Upload CV");
return "";
} else if (this.state.success.length != 0 && this.state.success.message != "") {
return (
<Snackbar open={open} autoHideDuration={1000} onClose={() => this.setState({open: false})}>
<Alert onClose={() => this.setState({open: false})} severity="success">
{ReactHtmlParser(this.state.success.message)}
</Alert>
</Snackbar>
);
}
return "";
}
AfficherLienCv() {
console.log("afficher lien");
if (this.state.cvLink !="") {
return (
<Fragment>
<Typography >
<a href={publicRuntimeConfig.symphonyUrl + publicRuntimeConfig.postedContentCv + this.state.cvLink}
target="_blank"
style={{
color:'#1E2327',
'&:hover': {
color: '#1E2327',
},
backgroundColor: '#F3F3F4',
width:'100%',
fontWeight: '500',
fontSize: '1em',
padding:'15px',
margin:'20px 0',
}}
>
Visualiser mon CV
</a>
<br />
</Typography>
</Fragment>
);
}
return "";
}
openDialog() {
this.setState({ open: true });
}
closeDialog() {
this.setState({ open: false });
}
refreshDialog() {
this.setState({ open: false });
window.location.reload();
}
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");
if(typeDonnee=='"street_number"') {
console.log(typeDonnee);
console.log(donnee);
this.setState({ street_number: donnee.replace('"', '') })
}else if(typeDonnee=='"route"') {
console.log(typeDonnee);
console.log(donnee);
this.setState({ route: donnee.replace('"', '') })
}else if(typeDonnee=='"locality"') {
console.log(typeDonnee);
console.log(donnee);
this.setState({ locality: donnee.replace('"', '') })
}else if(typeDonnee=='"administrative_area_level_2"') {
console.log(typeDonnee);
console.log(donnee);
this.setState({ administrative_area_level_2: donnee.replace('"', '') })
}else if(typeDonnee=='"administrative_area_level_1"') {
console.log(typeDonnee);
console.log(donnee);
this.setState({ administrative_area_level_1: donnee.replace('"', '') })
}else if(typeDonnee=='"country"') {
console.log(typeDonnee);
console.log(donnee);
this.setState({ country: donnee.replace('"', '') })
}else if(typeDonnee=='"postal_code"') {
console.log(typeDonnee);
console.log(donnee);
this.setState({ postal_code: donnee.replace('"', '') })
}
console.log("FIN remplirLocation");
}
onSuggestionSelected = (suggestion) => {
console.log('Selected suggestion:', suggestion)
const address = suggestion.description;
this.setState({ geoloc: address})
this.setState({
value: address
});
geocodeByAddress(address)
.then(address => {
if(address[0].address_components[0]){
this.remplirLocation(JSON.stringify(address[0].address_components[0].types[0]), JSON.stringify(address[0].address_components[0].long_name))
}
if(address[0].address_components[1]){
this.remplirLocation(JSON.stringify(address[0].address_components[1].types[0]), JSON.stringify(address[0].address_components[1].long_name))
}
if(address[0].address_components[2]){
this.remplirLocation(JSON.stringify(address[0].address_components[2].types[0]), JSON.stringify(address[0].address_components[2].long_name))
}
if(address[0].address_components[3]){
this.remplirLocation(JSON.stringify(address[0].address_components[3].types[0]), JSON.stringify(address[0].address_components[3].long_name))
}
if(address[0].address_components[4]){
this.remplirLocation(JSON.stringify(address[0].address_components[4].types[0]), JSON.stringify(address[0].address_components[4].long_name))
}
if(address[0].address_components[5]){
this.remplirLocation(JSON.stringify(address[0].address_components[5].types[0]), JSON.stringify(address[0].address_components[5].long_name))
}
if(address[0].address_components[6]){
this.remplirLocation(JSON.stringify(address[0].address_components[6].types[0]), JSON.stringify(address[0].address_components[6].long_name))
}
if(address[0].geometry){
let gps =JSON.stringify(address[0].geometry.location);
const obj = JSON.parse(gps);
this.setState({ formatted_address: JSON.stringify(address[0].formatted_address) })
this.setState({ lat: obj.lat.toString()})
this.setState({ lng: obj.lng.toString()})
}
// console.log("GEOLOC ON geocodeByAddress")
// console.log(this.state.geoloc)
// document.getElementById("geoloc").value =JSON.stringify(address[0]);
// this.props.onSelectionChanged(address[0]);
})
.catch(error => console.error('Error', error))
}
onSuggestionSelected(suggestion) {
// Add your business logic here. In this case we just log...
console.log('Selected suggestion:', suggestion)
}
renderFunc = ({ getInputProps, getSuggestionItemProps, suggestions, loading }) => (
<div>
<input className={styles.inputSearchBar} {...getInputProps()} />
<div >
{loading && <div>Loading...</div>}
{suggestions.map(suggestion => {
const className = suggestion.active ? 'suggestion-item--active' : 'suggestion-item';
const style = suggestion.active
? { backgroundColor: 'red', cursor: 'pointer',border: '1px solid' }
: { backgroundColor: '#123456', cursor: 'pointer',border: '1px solid' };
return (<div {...getSuggestionItemProps(suggestion,{className,style})}>
<span >{suggestion.description}</span>
</div>
)
})}
</div>
</div>
);
callbackFunc = ( autoCompleteData ) => {
//You can use the address data, passed by autocomplete as you want.
}
handleChange = (e) => {
this.setState({ [e.target.name]: e.target.value })
}
onSubmit = (e) => {
e.preventDefault()
//TODO : Vérifier si le nom et prénom sont renseignés
console.log("firstname")
console.log(this.state.firstname)
const data = new FormData()
data.append('firstname', this.state.firstname)
data.append('lastname', this.state.lastname)
data.append('phone', this.state.phone)
data.append('currentJob', this.state.currentJob)
console.log("GEOLOC ON SUBMIT")
console.log(this.state)
data.append('geoloc', this.state.geoloc)
data.append('street_number', this.state.street_number.replace('"', ''))
data.append('route', this.state.route.replace('"', ''))
data.append('locality', this.state.locality.replace('"', ''))
data.append('administrative_area_level_2', this.state.administrative_area_level_2.replace('"', ''))
data.append('administrative_area_level_1', this.state.administrative_area_level_1.replace('"', ''))
data.append('country', this.state.country.replace('"', ''))
data.append('postal_code', this.state.postal_code.replace('"', ''))
data.append('formatted_address', this.state.formatted_address.replace('"', ''))
data.append('lat', this.state.lat)
data.append('lng', this.state.lng)
//
data.append('linkedin', this.state.linkedin)
data.append('twitter', this.state.twitter)
data.append('website', this.state.website)
@@ -166,38 +543,67 @@ class Answer extends Component {
// //TODO Envoyer un mail a chaque user
// console.log(user.email)
// )
// US 471 : TODO envoyer le lien du cv pour le mettre dans la candidature (this.state.cvLink)
console.log(this.state.cvLink, "lien CV")
this.props.postAdAnswerRequest(
{
adId: this.props.adId,
companyId: this.props.companyId,
mediaId: this.props.mediaId
mediaId: this.props.mediaId,
mediaUrl: this.props.mediaUrl,
thumbnails : this.props.thumbnails,
heure: this.props.heure
})
}
inputFilesystemChange = (e) => {
// inputFilesystemChange = (e) => {
console.log("inputFilesystemChange");
var file = e.target.files[0]
this.setState({ picture: file })
// console.log("inputFilesystemChange");
// var file = e.target.files[0]
// this.setState({ picture: file })
const data = new FormData()
data.append('file', file)
this.props.updateUserPictureRequest(data)
// const data = new FormData()
// data.append('file', file)
// this.props.updateUserPictureRequest(data)
// }
recupererAdresse =()=>{
geocodeByAddress('1 rue de la laine, Questembert')
.then(results => getLatLng(results[0]))
.then(({ lat, lng }) =>
console.log('Successfully got latitude and longitude', { lat, lng })
)
geocodeByAddress('1 rue de la laine, Questembert')
.then(results => console.log(results))
.catch(error => console.error(error));
}
render() {
const { classes, user } = this.props
const logoUrl = user.picture;
const { loading } = this.state;
const inputProps = {
value: this.state.address,
onChange: this.onChange,
}
const searchOptions = {
componentRestrictions: { country: ['fr'] },
}
return (
<section className={classes.container}>
<form className={classes.form}
autoComplete="off">
{!!logoUrl && <Avatar className={classes.logo}
classes={{ img: classes.MuiAvatarImg }}
src={publicRuntimeConfig.symphonyUrl + publicRuntimeConfig.postedContentUrl + logoUrl} alt="candidatLogo" />}
{!!user.pictureLoading && <Loader />}
{!!!user.pictureLoading && !!!logoUrl &&
{/* {!!user.pictureLoading && <Loader />} */}
{/* {!!!user.pictureLoading && !!!logoUrl &&
(<Fragment><input
type="file" accept="image/*" capture="filesystem"
className={classes.input}
@@ -217,19 +623,35 @@ class Answer extends Component {
<KeyboardArrowRightIcon className={classes.InputKeyboardArrowRightIcon} />
</Button>
</label></Fragment>)
}
<TextField
name="lastname"
required
id="outlined-required"
label="Nom"
className={classes.textField}
classes={{ root: classes.rootTextfield }}
variant="outlined"
value={this.state.lastname}
onChange={this.handleChange}
} */}
<Player fluid={false} width={"75%"} height={350}
playsInline className={classes.player}
src={publicRuntimeConfig.symphonyUrl + "uploads/videos/"+this.state.mediaUrl}
//src={this.state.mediaUrl}
// src="https://media.w3.org/2010/05/sintel/trailer_hd.mp4"
/>
<Button className={classes.remplacerButton} onClick={this.openDialog.bind(this)}>
Remplacer ma vidéo
</Button>
<Dialog open={this.state.open}>
<DialogTitle> Souhaitez-vous remplacer votre vidéo de réponse ?</DialogTitle>
<DialogContent className={classes.popup}> Cette vidéo et tous les éléments de votre candidature seront définitivement supprimés. Vous pourrez importer ou réaliser une nouvelle vidéo de réponse. </DialogContent>
<DialogActions>
<Button onClick={this.closeDialog.bind(this)} autoFocus>
Annuler
</Button>
<Button onClick={this.refreshDialog.bind(this)} >
Remplacer
</Button>
</DialogActions>
</Dialog>
<TextField
name="firstname"
required
@@ -240,8 +662,71 @@ class Answer extends Component {
variant="outlined"
value={this.state.firstname}
onChange={this.handleChange}
error={!!_.isEmpty(this.state.firstname)}
helperText={!!_.isEmpty(this.state.firstname) && "Veuillez saisir votre prénom"}
/>
<TextField
name="lastname"
required
id="outlined-required"
label="Nom"
className={classes.textField}
classes={{ root: classes.rootTextfield }}
variant="outlined"
value={this.state.lastname}
onChange={this.handleChange}
error={!!_.isEmpty(this.state.lastname)}
helperText={!!_.isEmpty(this.state.lastname) && "Veuillez saisir votre nom"}
required
/>
<div
className={classes.conteneurGoogle}
classes={{ root: classes.rootTextfield }}
style={{ position: 'relative', zIndex:2, width: '100%' }}>
<label htmlFor="outlined-required"
className={classes.labelGeoloc}>
Adresse
</label>
<div className={classes.conteneurGoogleComposant}>
<GooglePlaceAutocomplete
style={{ paddingLeft:'14px !important', left: 0, right: 0, zIndex: '2 !important', width: '100%' }}
name="location"
label="Location"
id="outlined-required"
variant="outlined"
textFieldProps={{ id: "outlined-required" }}
className={classes.textField}
classes={{ root: classes.rootTextfield }}
options={this.searchOptions}
onSuggestionSelected={this.onSuggestionSelected}
textFieldProps={{ onChange: (e) => this.onChange(e), value: this.state.value, placeholder: 'Ex : Rue de Rivoli, Paris, France', fullWidth: true, size:"small"}}
types={['(regions)']}
componentRestrictions={{country: 'fr'}}
renderTarget={() => (
<div
style={{
width: '100%',
zIndex:9
}}
>
</div>
)}
/>
</div>
{/* <Input
name="geoloc"
id="geoloc"
label="geoloc"
ref="geoloc"
onChange={this.handleChange}
value={this.state.geoloc =='null' || this.state.geoloc =='' ? '' :this.state.geoloc}
/> */}
</div>
<TextField
name="phone"
id="outlined"
@@ -252,6 +737,7 @@ class Answer extends Component {
value={this.state.phone}
onChange={this.handleChange}
type="tel"
helperText="Renseignez votre numéro de téléphone pour permettre au recruteur de vous contacter"
/>
<TextField
@@ -271,10 +757,33 @@ class Answer extends Component {
className={classes.textField}
classes={{ root: classes.rootTextfield }}
variant="outlined"
value={this.state.currentJob}
value={this.state.currentJob =='null' || this.state.currentJob =='' ? '' :this.state.currentJob}
onChange={this.handleChange}
/>
{this.AfficherSuccess()}
<div className={classes.containerImport}>
<input
type="file"
accept=".doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document, .pdf, .odt"
className={classes.input+' cypButtonImportVid'}
style={{ display: 'none' }}
id="import-button-file"
onChange={this.inputFilesystemChange}
/>
<label htmlFor="import-button-file">
<Button component="span" className={classes.importButton} classes={{ root: classes.rootButton }}>
<GetApp className={classes.icon} /> Importer mon CV
</Button>
</label>
<Hidden>&nbsp;</Hidden>
{this.AfficherLienCv()}
</div>
<TextField
name="linkedin"
id="outlined"
@@ -283,7 +792,7 @@ class Answer extends Component {
classes={{ root: classes.rootTextfield }}
variant="outlined"
placeholder="http://www.linkedin.com/in/"
value={this.state.linkedin}
value={this.state.linkedin =='null' || this.state.linkedin =='' ? '' :this.state.linkedin}
onChange={this.handleChange}
/>
@@ -296,7 +805,7 @@ class Answer extends Component {
classes={{ root: classes.rootTextfield }}
variant="outlined"
placeholder="http://twitter.com/.."
value={this.state.twitter}
value={this.state.twitter =='null' || this.state.twitter =='' ? '' :this.state.twitter}
onChange={this.handleChange}
/>
@@ -308,9 +817,10 @@ class Answer extends Component {
classes={{ root: classes.rootTextfield }}
variant="outlined"
placeholder="http://monsite.fr"
value={this.state.website}
value={this.state.website =='null' || this.state.website =='' ? '' :this.state.website}
onChange={this.handleChange}
/>
</form>
<div id="F" className={classes.foot}>
<Button variant="contained" className={classes.button + ' cypButtonSendApplication'} onClick={this.onSubmit}>Envoyer ma candidature</Button>
@@ -321,13 +831,24 @@ class Answer extends Component {
}
function mapStateToProps(state, ownProps) {
// console.log(state.media.message.heure);
return {
user: state.user,
loading: !!state.user.loading,
user: state.user ,
cvLink : state.mediaCv.message,
loading: !!state.media.loading,
cv : true,
// user: state.user,
// loading: !!state.user.loading,
pictureLoading: !!state.user.pictureLoading,
errors: state.user.errors || ownProps.errors,
mediaId: state.media.message && state.media.message.mediaId,
mediaUrl: state.media.message && state.media.message.originalUrl,
thumbnails: state.media.message && state.media.message.thumbnails,
mediaUrlVimeo: state.media.message && state.media.message.uriVimeo,
mediaFileName: state.media.message && state.media.message.filename,
heure: state.media.message && state.media.message.heure,
};
}
export default withStyles(styles)(connect(mapStateToProps, { postAdAnswerRequest, updateUserRequest, updateUserPictureRequest })(Answer))
export default withStyles(styles)(connect(mapStateToProps, { postAdAnswerRequest, updateUserRequest, updateUserPictureRequest, uploadMediaCv })(Answer))
+1 -1
View File
@@ -139,7 +139,7 @@ class CompanyRowComponent extends React.Component {
render() {
const { classes, theme, rowData } = this.props;
const imgDefaultUrl = "/static/images/default/default_picture_company.svg"
const imgDefaultUrl = "https://blog.talentstube.com/wp-content/uploads/2021/01/default_picture_company.jpg"
const imgUrl = (rowData.presentation_video && rowData.presentation_video.thumbnails[0] && rowData.presentation_video.thumbnails[0].sizes[4]) ? rowData.presentation_video.thumbnails[0].sizes[4].link : imgDefaultUrl
const logoUrl = publicRuntimeConfig.symphonyUrl + publicRuntimeConfig.cachedMediaUrl + rowData.logo
+18 -3
View File
@@ -5,10 +5,11 @@ import { Fragment } from 'react';
import NewsLetterRegistration from './NewsLetterRegistration'
import dynamic from 'next/dynamic'
import Button from '@material-ui/core/Button'
import getConfig from 'next/config'
const PWAInstallSnack = dynamic(() => import('./PWAInstallSnack'), {
ssr: false
});
const { publicRuntimeConfig } = getConfig();
const styles = theme => ({
root: {
@@ -58,7 +59,7 @@ const styles = theme => ({
titleContainer: {
color: theme.palette.primary.darkMain,
fontSize: '1.5em',
fontFamily: 'Dosis',
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
fontWeight: '600',
[theme.breakpoints.up('md')]: {
fontSize: '1.2em',
@@ -112,7 +113,7 @@ const styles = theme => ({
},
},
titleReactApp: {
fontFamily: 'Dosis',
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
fontSize: '1.5em',
fontWeight: '600',
paddingTop: theme.spacing(4),
@@ -152,6 +153,11 @@ const styles = theme => ({
justifyContent: 'center',
padding: theme.spacing(6, 4),
},
version:{
marginTop: '15px',
fontSize: '0.7em',
fontWeight: '300',
}
});
@@ -215,6 +221,12 @@ function Footer(props) {
</Typography>
</a>
</Link>
<a href="https://blog.talentstube.com" target="_blank">
<Typography gutterBottom color="secondary" component="p" className={classes.textContainer}
>
Blog
</Typography>
</a>
</section>
<section className={classes.container}>
<Typography color="secondary" component="p" className={classes.titleContainer}>
@@ -277,6 +289,9 @@ function Footer(props) {
<a href="https://www.bretagne.bzh/" target="_blank" className={classes.darkMenuItem} rel="noopener">
<img alt="Région Bretagne" src='/static/images/logos/Logo-region.svg' className={classes.footerLogo} />
</a>
<Typography className={classes.version} align="center" >
{publicRuntimeConfig.version}
</Typography>
</section>
</div>
);
@@ -0,0 +1,246 @@
import Link from 'next/link'
import { withStyles } from '@material-ui/core/styles'
import { Typography } from '@material-ui/core';
import { Fragment } from 'react';
import NewsLetterRegistration from './NewsLetterRegistration'
import dynamic from 'next/dynamic'
import Button from '@material-ui/core/Button'
import getConfig from 'next/config'
const { publicRuntimeConfig } = getConfig();
const styles = theme => ({
root: {
display: 'flex',
flexDirection: 'column',
backgroundColor: "#1E2327",
[theme.breakpoints.up('md')]: {
display: 'flex',
flexDirection: 'row',
alignItems: 'flex-start',
justifyContent: 'space-around',
backgroundColor: "#1E2327",
padding: theme.spacing(10, 18),
},
'& a': {
textDecoration: 'none',
color:"#fff"
},
},
container: {
display: 'flex',
flexDirection: 'column',
alignItems: 'flex-start',
padding: theme.spacing(0, 5),
paddingBottom: theme.spacing(3.5),
'&:first-child': {
paddingTop: theme.spacing(4),
},
[theme.breakpoints.up('md')]: {
padding: 0,
'&:first-child': {
paddingTop: 0,
},
},
},
containerRegion: {
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
backgroundColor: theme.palette.secondary.main,
padding: theme.spacing(3),
[theme.breakpoints.up('md')]: {
padding: theme.spacing(8, 0),
},
},
titleContainer: {
color: "#fff",
fontSize: '1.5em',
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
fontWeight: '600',
[theme.breakpoints.up('md')]: {
fontSize: '1.2em',
paddingBottom: theme.spacing(2),
},
},
textContainer: {
fontWeight: '300',
fontSize: '0.9em',
[theme.breakpoints.up('md')]: {
fontWeight: '300',
fontSize: '0.8em',
},
},
textContainerRegion: {
fontWeight: '300',
fontSize: '0.9em',
color: theme.palette.primary.dark,
},
footerLogo: {
width: '15vw',
[theme.breakpoints.up('md')]: {
width: '4vw',
},
},
footerLogoTT: {
width: '70%',
[theme.breakpoints.up('md')]: {
paddingBottom: theme.spacing(1),
width: '100%'
},
},
containerReactApp: {
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'space-between',
height: 'auto',
paddingTop: theme.spacing(4),
backgroundColor: "#000",
[theme.breakpoints.down('xs')]: {
height: '100vh',
},
[theme.breakpoints.up('md')]: {
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-around',
height: '35vh',
padding: theme.spacing(6, 1),
position: 'relative',
},
},
titleReactApp: {
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
fontSize: '1.5em',
fontWeight: '600',
paddingTop: theme.spacing(4),
paddingLeft: theme.spacing(4),
paddingRight: theme.spacing(4),
[theme.breakpoints.up('md')]: {
order: 1,
width: '20%',
textAlign: 'left',
},
},
buttonReactApp: {
textTransform: 'inherit',
margin: theme.spacing(0, 8),
padding: theme.spacing(1.2, 2),
[theme.breakpoints.up('md')]: {
order: 3,
margin: 'inherit',
marginRight: '5vw',
},
},
imageReactApp: {
width: '100%',
[theme.breakpoints.up('sm')]: {
width: 'auto',
},
[theme.breakpoints.up('md')]: {
width: '25%',
order: 2,
position: 'absolute',
bottom: 0,
},
},
containerNewsletter: {
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
padding: theme.spacing(6, 4),
},
version:{
marginTop: '15px',
fontSize: '0.7em',
fontWeight: '300',
}
});
function Footer(props) {
const { classes } = props;
return (
<div>
<section className={classes.containerNewsletter}>
<NewsLetterRegistration />
</section>
<div className={classes.root}>
<section className={classes.container}>
<img alt="talents-tube" src='/static/images/logos/TalentsTube_logo-blanc.svg' className={classes.footerLogoTT} />
</section>
<section className={classes.container}>
<Typography color="secondary" component="p" className={classes.titleContainer}>
Informations
</Typography>
<Link href="/Cgu" >
<a>
<Typography gutterBottom color="secondary" component="p" className={classes.textContainer}>
CGU
</Typography>
</a>
</Link>
<Link href="/MentionsLegales" >
<a>
<Typography gutterBottom color="secondary" component="p" className={classes.textContainer}>
Mentions légales
</Typography>
</a>
</Link>
<Link href="/Confidentialite" >
<a>
<Typography gutterBottom color="secondary" component="p" className={classes.textContainer}>
Politique de confidentialité et Protection <br />des données
</Typography>
</a>
</Link>
<Link href="" >
<a href="https://blog.talentstube.com/contact" target="_blank">
<Typography gutterBottom color="secondary" component="p" className={classes.textContainer}>
Contact
</Typography>
</a>
</Link>
</section>
<section className={classes.container}>
<Typography color="secondary" component="p" className={classes.titleContainer}>
Rencontrons-nous
</Typography>
<Typography gutterBottom color="secondary" component="p" className={classes.textContainer}>
3, rue Louis de Broglie
</Typography>
<Typography gutterBottom color="secondary" component="p" className={classes.textContainer}>
56 000 Vannes
</Typography>
<Typography gutterBottom component="p" className={classes.textContainer}>
<a href="tel:+33230050631" >02.30.05.06.31 </a>
</Typography>
{/* <Typography gutterBottom color="secondary" component="p" className={classes.textContainer}>
contact@talentstube.com
</Typography> */}
</section>
</div>
<section className={classes.containerRegion}>
<Typography gutterBottom component="p" className={classes.textContainerRegion} align="center" >
Entreprise soutenue par
</Typography>
<a href="https://www.bretagne.bzh/" target="_blank" className={classes.darkMenuItem} rel="noopener">
<img alt="Région Bretagne" src='/static/images/logos/Logo-region.svg' className={classes.footerLogo} />
</a>
<Typography className={classes.version} align="center" >
{publicRuntimeConfig.version}
</Typography>
</section>
</div>
);
}
export default withStyles(styles)(Footer)
@@ -1,7 +1,8 @@
import React from 'react';
const NextButton = ({ hasNext, onClick, style, className, text }) => hasNext ? (
<button type="button" onClick={onClick} style={style} className={className}>Suivant</button>
// <button type="button" onClick={onClick} style={style} className={className}>Suivant</button>
<div></div>
) :
null;
@@ -0,0 +1,35 @@
// import React, { useState } from 'react';
// import Pagination from '@material-ui/lab/Pagination';
// import PaginationItem from '@material-ui/lab/PaginationItem';
// export default function GriddleCustomPageDropdown(props) {
// let [page] = React.useState(1);
// let PageDropDown = null;
// const setPage = (event, newPage) => {
// console.log('test');
// setPage(newPage);
// };
// return (
// <Pagination count={props.maxPages} defaultPage={props.currentPage} onChange={props.setPage}/>
// );
// }
// const [page, setPage] = useState(1);
// const handleChangePage = (event, newPage) => {
// setPage(newPage);
// };
// const PageDropDown = ({ maxPages, currentPage, setPage }) => <Pagination count={maxPages} defaultPage={currentPage} onChangePage={handleChangePage}/> ;
// export default PageDropDown;
import React from 'react';
import Pagination from '@material-ui/lab/Pagination';
const NextButton = ({ maxPages, currentPage, setPage, className, text }) => maxPages ? (
<Pagination count={maxPages} defaultPage={currentPage} onChange={setPage} shape="rounded"/>
) :
null;
export default NextButton;
@@ -1,8 +1,9 @@
import React from 'react';
const PreviousButton = ({ hasPrevious, onClick, style, className, text }) => hasPrevious ? (
<button type="button" onClick={onClick} style={style} className={className}>Précédent</button>
) :
// <button type="button" onClick={onClick} style={style} className={className}>Précédent</button>
<div></div>
) :
null;
export default PreviousButton;
+102 -39
View File
@@ -40,6 +40,7 @@ import ActiveLink from "./../atoms/Activelink";
import axios from 'axios';
import setAuthorizationHeader from "../../data/setAuthorizationHeader";
import getConfig from 'next/config'
import Router from 'next/router'
const styles = theme => ({
root: {
@@ -224,6 +225,9 @@ const styles = theme => ({
justifyContent: 'space-between',
padding: 0,
},
appBar:{
position:'fixed'
},
appBarDesktopSection: {
display: 'flex',
alignItems: 'center',
@@ -302,11 +306,11 @@ class Header extends React.Component {
left: false,
bottom: false,
right: false,
toggle: true
toggle: true,
};
componentDidMount() {
}
@@ -327,12 +331,26 @@ class Header extends React.Component {
}
toggle = () => this.setState(state => ({ toggle: !state.toggle }))
chargerPage =(type)=> {
console.log(type);
//Router.replace(page);
sessionStorage.setItem(type+'_currentPage',1);
}
redirectionrecruteur=(props) => {
console.log("redirection recruteur")
localStorage.removeItem("ttJWT");
//this.openDialog()
props.requestLogout();
window.location.href = "https://recruteur.talentstube.com/";
}
render() {
const { classes } = this.props;
const { publicRuntimeConfig } = getConfig();
console.log("user",this.props.user)
return (
<div className={classes.root}>
<Drawer anchor="left" open={this.state.left} onClose={this.toggleDrawer('left', false)}>
@@ -354,6 +372,7 @@ class Header extends React.Component {
<Divider />
<div className={classes.links}>
{/* Menu Accueil /Offres Entreprises */}
<div className={classes.linkGroup}>
<ActiveLink activeClassName={classes.active} href="/" >
<a className={classes.darkMenuItem}><ListItem classes={{ root: classes.rootListItemIcon }}>
@@ -383,16 +402,27 @@ class Header extends React.Component {
</ListItemText>
</ListItem></a>
</ActiveLink>
<a className={classes.darkMenuItem + ' ' + classes.darkMenuItemSpecific} href="https://blog.talentstube.com/" target="_blank">
<ListItem classes={{ root: classes.rootListItem }}>
<NotesIcon className={classes.icon} />
<ListItemText classes={{ primary: classes.ListItemText }} primary='Blog'>
</ListItemText>
</ListItem>
</a>
</div>
{/* FIN Menu Accueil /Offres Entreprises */}
{/* Menu recruteur */}
<div>
<div className={classes.blogLinkGroup}>
{/* <div className={classes.blogLinkGroup}>
<a href={publicRuntimeConfig.blogUrl} className={classes.lightMenuItem}><ListItem classes={{ root: classes.rootListItemIcon }}>
<NotesIcon className={classes.icon} />
<ListItemText classes={{ primary: classes.ListItemText }} primary='Blog'>
</ListItemText>
</ListItem>
</a>
</div>
</div> */}
<div className={classes.recruteurLinkGroup}>
<a href={publicRuntimeConfig.symphonyUrl } className={classes.lightMenuItem}><ListItem classes={{ root: classes.rootListItemIcon }}>
<SupervisorAccountIcon className={classes.icon} />
@@ -401,6 +431,7 @@ class Header extends React.Component {
</ListItem></a>
</div>
</div>
{/* FIN Menu recruteur*/}
</div>
</List>
@@ -415,9 +446,11 @@ class Header extends React.Component {
role="button"
onClick={this.toggleDrawer('right', false)}
onKeyDown={this.toggleDrawer('right', false)}
>{!!this.props.loading &&
>
{!!this.props.loading &&
(<Loader />
)}
)
}
{!!!this.props.loading && !!!this.props.fetched
&&
<div className={classes.fullList + ' ' + classes.darkFullList}>
@@ -440,7 +473,7 @@ class Header extends React.Component {
</ListItem></a>
</Link>
{/* TODO */}
<Link href="/Login?inscription=true" >
<Link href="/Inscription" >
<a className={classes.lightMenuItem + ' cypRegister'}><ListItem classes={{ primary: classes.ListItemText }} classes={{ root: classes.rootListItem }}>
<PersonAddIcon className={classes.icon} />
<ListItemText primary='Inscription'>
@@ -460,14 +493,16 @@ class Header extends React.Component {
</a>
</div>
</List>
</div>}
{!!!this.props.loading && !!this.props.fetched &&
</div>
}
{!!!this.props.loading && !!this.props.fetched &&
<Fragment>
{this.props.user.picture ?
<img alt="talents-tube" src={publicRuntimeConfig.symphonyUrl +publicRuntimeConfig.postedContentUrl+ this.props.user.picture} className={classes.menuAvatar} />
:
<img alt="talents-tube" src='/static/images/default/account-avatar-default.svg' className={classes.menuAvatar} />
}
<ListItem classes={{ root: classes.rootListItem }} className={classes.ListItemUserConnected}>
<Typography gutterBottom component="h1" className={classes.menuUserName}>
{this.props.user.firstname + " " + this.props.user.lastname}
@@ -480,29 +515,51 @@ class Header extends React.Component {
<Divider className={classes.darkDivider} />
{/* TODO:real links */}
<Link href="/Candidatures" >
<a className={classes.lightMenuItem}><ListItem classes={{ root: classes.rootListItemIcon }}>
<FolderSharedIcon className={classes.icon} />
<ListItemText primary='Mes candidatures'>
</ListItemText>
</ListItem></a>
</Link>
<Link href="/profileStep" >
<a className={classes.lightMenuItem}><ListItem classes={{ root: classes.rootListItemIcon }}>
<AccountCircleIcon className={classes.icon} />
<ListItemText primary='Mon compte'>
</ListItemText>
</ListItem></a>
</Link>
<Link href="/Parametres" >
<a className={classes.lightMenuItem}><ListItem classes={{ root: classes.rootListItemIcon }}>
<SettingsIcon className={classes.icon} />
<ListItemText primary='Paramètres de notification'>
</ListItemText>
</ListItem></a>
</Link>
{this.props.user.type=="TALENT"
?
<div>
<Link href="/Candidatures" >
<a className={classes.lightMenuItem}><ListItem classes={{ root: classes.rootListItemIcon }}>
<FolderSharedIcon className={classes.icon} />
<ListItemText primary='Mes candidatures'>
</ListItemText>
</ListItem></a>
</Link>
<Link href="/profileStep" >
<a className={classes.lightMenuItem}>
<ListItem classes={{ root: classes.rootListItemIcon }}>
<AccountCircleIcon className={classes.icon} />
<ListItemText primary='Mon compte'>
</ListItemText>
</ListItem>
</a>
</Link>
<Link href="/Parametres" >
<a className={classes.lightMenuItem}><ListItem classes={{ root: classes.rootListItemIcon }}>
<SettingsIcon className={classes.icon} />
<ListItemText primary='Paramètres de notification'>
</ListItemText>
</ListItem></a>
</Link>
</div>
:
this.redirectionrecruteur(this.props)
// <div>
// <a href={publicRuntimeConfig.symphonyUrl + "/"} className={classes.lightMenuItem}>
// <ListItem classes={{ root: classes.rootListItemIcon }}>
// <SettingsIcon className={classes.icon} />
// <ListItemText primary='Espace recruteur'>
// </ListItemText>
// </ListItem></a>
// </div>
}
<Link href="/" >
<a onClick={() => {
localStorage.removeItem("ttJWT");
@@ -538,13 +595,13 @@ class Header extends React.Component {
<List className={classes.desktopMenuList}>
<div>
<ActiveLink activeClassName={classes.active} href="/Offres" >
<a className={classes.desktopMenuItem}>
<ActiveLink activeClassName={classes.active} href="/Offres" >
<a className={classes.desktopMenuItem} >
<ListItemText primary="Offres d'emploi">
</ListItemText>
</a>
</ActiveLink>
<ActiveLink activeClassName={classes.active} href="/Entreprises" >
<ActiveLink activeClassName={classes.active} href="/Entreprises" >
<a className={classes.desktopMenuItem}>
<ListItemText primary='Nos entreprises'>
</ListItemText>
@@ -556,12 +613,18 @@ class Header extends React.Component {
</ListItemText>
</a>
</ActiveLink>
<a className={classes.desktopMenuItem} target="_blank" href="https://blog.talentstube.com/">
<ListItemText primary='Blog'>
</ListItemText>
</a>
</div>
<div>
{!!!this.props.loading && !!!this.props.fetched &&
<Fragment>
<Link href="/Login?inscription=true" >
<Link href="/Inscription" >
<a className={classes.desktopMenuItem}>
<ListItem classes={{ root: classes.rootListItemDesktop }}>
<Button
@@ -588,7 +651,7 @@ class Header extends React.Component {
</Link>
</Fragment>
}
{!!!this.props.loading && !!this.props.fetched &&
{!!!this.props.loading && !!this.props.fetched &&
<IconButton
edge="end"
aria-label="Profile"
@@ -0,0 +1,634 @@
import React, { Fragment, Children } from 'react';
import AppBar from '@material-ui/core/AppBar';
import Toolbar from '@material-ui/core/Toolbar';
import IconButton from '@material-ui/core/IconButton';
import { withStyles, getMuiTheme } from '@material-ui/core/styles';
import MenuIcon from '@material-ui/icons/Menu';
import Link from 'next/link'
import Drawer from '@material-ui/core/Drawer';
import Divider from '@material-ui/core/Divider';
import HomeIcon from '@material-ui/icons/HomeOutlined';
import OfferIcon from '@material-ui/icons/LocalOfferOutlined';
import CompanyIcon from '@material-ui/icons/DomainOutlined';
import HelpIcon from '@material-ui/icons/HelpOutline';
import VideoIcon from '@material-ui/icons/OndemandVideoOutlined';
import NotesIcon from '@material-ui/icons/NotesOutlined';
import SupervisorAccountIcon from '@material-ui/icons/SupervisorAccount';
import PersonIcon from '@material-ui/icons/Person';
import PersonAddIcon from '@material-ui/icons/PersonAdd';
import WorkOutlineIcon from '@material-ui/icons/WorkOutline';
import AccountCircleOutlinedIcon from '@material-ui/icons/AccountCircleOutlined';
import FolderSharedIcon from '@material-ui/icons/FolderShared';
import AccountCircleIcon from '@material-ui/icons/AccountCircle';
import PermContactCalendar from '@material-ui/icons/PermContactCalendar';
import VideoCam from '@material-ui/icons/Videocam';
import SettingsIcon from '@material-ui/icons/Settings';
import PowerSettingsNewIcon from '@material-ui/icons/PowerSettingsNew';
import ArrowForward from '@material-ui/icons/ArrowForward';
import List from '@material-ui/core/List';
import ListItem from '@material-ui/core/ListItem';
import { ListItemText } from '@material-ui/core';
import Loader from '../templates/loader'
import { connect } from 'react-redux'
import { fetchCurrentUserRequest } from "../../actions/user";
import { requestLogout } from "../../actions/auth";
import Button from '@material-ui/core/Button';
import withWidth, { isWidthUp } from '@material-ui/core/withWidth'
import Typography from '@material-ui/core/Typography';
import { withRouter } from "next/router";
import ActiveLink from "../atoms/Activelink";
import axios from 'axios';
import setAuthorizationHeader from "../../data/setAuthorizationHeader";
import getConfig from 'next/config'
import Router from 'next/router'
import ButtonBase from "@material-ui/core/ButtonBase";
import ArrowLeft from '@material-ui/icons/KeyboardArrowLeft';
import LoadingBar from 'react-redux-loading-bar'
const styles = theme => ({
root: {
width: '100%',
position: 'relative',
zIndex: '999',
'& a': {
textDecoration: 'none'
}
},
toolbar: {
height: '64px',
},
grow: {
flexGrow: 1,
},
menuButton: {
marginLeft: -12,
marginRight: 20,
display: 'block'
},
menuLogo: {
cursor: 'pointer',
[theme.breakpoints.down('md')]: {
width: '200px'
},
[theme.breakpoints.down('sm')]: {
width: '130px'
},
},
menuAvatar: {
width: '2.5em',
borderRadius: '50%',
marginTop: theme.spacing(2),
marginLeft: theme.spacing(2),
},
menuUserName: {
color: theme.palette.menu.emailText,
fontSize: '1.3rem',
fontWeight: '500',
},
menuUserEmail: {
color: theme.palette.menu.emailText,
fontSize: '0.9rem',
fontWeight: '200',
},
darkDivider: {
background: 'whitesmoke',
opacity: '0.1',
},
List: {
display: 'flex',
flexDirection: 'column',
justifyContent: 'space-between',
height: '100%',
paddingTop: 0,
paddingBottom: 0,
'&>a:first-child': {
minHeight: '64px',
height: '64px',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
},
[theme.breakpoints.up('md')]: {
'&>a:first-child': {
height: '64px',
},
'&>a:first-child li': {
height: '64px',
alignItems: 'center',
},
},
},
fullList: {
width: 'auto',
cursor: 'pointer',
paddingBottom: 0
},
lightFullList: {
height: '100vh',
backgroundColor: theme.palette.background.default,
},
darkFullList: {
backgroundColor: theme.palette.background.dark,
},
lightMenuItem: {
color: theme.palette.menu.lightText,
textDecoration: 'none',
},
darkMenuItem: {
color: theme.palette.menu.darkText,
textDecoration: 'none',
},
darkMenuItemSpecific: {
'&:hover,&:active': {
color: theme.palette.primary.main,
}
},
links: {
display: 'flex',
flexDirection: 'column',
justifyContent: 'space-between',
height: '100%',
},
linkGroup: {
padding: theme.spacing(1.2, 0),
paddingLeft: 0,
},
videothequeLinkGroup: {
backgroundColor: theme.palette.background.videotheque,
},
blogLinkGroup: {
backgroundColor: theme.palette.background.blog,
},
recruteurLinkGroup: {
backgroundColor: theme.palette.background.recruteur,
},
rootListItem: {
padding: theme.spacing(1, 2),
cursor: 'pointer',
display: 'flex',
flexDirection: 'row',
alignItems: 'flex-start',
},
rootListItemIcon: {
padding: theme.spacing(1, 2),
cursor: 'pointer',
display: 'flex',
flexDirection: 'row',
alignItems: 'center',
},
ListItemUserConnected: {
flexDirection: 'column',
},
ListItemText: {
fontSize: '1em',
},
icon: {
paddingRight: theme.spacing(2.5),
},
iconAccount: {
color: theme.palette.primary.dark,
},
title: {
color: theme.palette.secondary.main,
fontSize: '1.5em'
},
email: {
color: theme.palette.menu.emailText,
fontSize: '0.9em'
},
button: {
padding: theme.spacing(0.5, 1),
textTransform: 'inherit',
'& svg': {
width: '0.7em',
height: '0.7em',
},
},
active: {
'& span, & svg': {
color: theme.palette.primary.main + ' !important',
},
},
//DESKTOP PART
desktopMenuItem: {
[theme.breakpoints.down('md')]: {
padding: theme.spacing(0.4),
},
'& span.MuiTypography-root': {
fontSize: '0.8rem',
fontWeight: '500',
},
},
desktopMenuList: {
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between',
padding: 0,
},
appBar:{
position:'fixed'
},
appBarDesktopSection: {
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
},
appBarDesktopSection1: {
padding: theme.spacing(0, 2),
height: '100%',
borderRight: 'solid 1px whitesmoke',
},
appBarDesktopSection2: {
width: '100%',
justifyContent: 'space-between',
padding: theme.spacing(0, 2),
'& ul': {
width: '95%',
},
'& ul>div': {
display: 'flex',
},
'& ul > div:nth-child(1) a span': {
color: theme.palette.primary.dark,
'&:hover, &:active': {
color: theme.palette.primary.main,
}
},
'& .MuiListItemText-root': {
padding: theme.spacing(0, 1),
[theme.breakpoints.down('md')]: {
padding: theme.spacing(0),
},
},
'& a:last-child .MuiButtonBase-root span': {
color: theme.palette.secondary.main,
},
},
appBarDesktopSection3: {
padding: theme.spacing(0, 2),
height: '100%',
backgroundColor: theme.palette.primary.dark,
'& a': {
display: 'flex',
alignItems: 'flex-end',
},
'& span, & svg': {
color: theme.palette.secondary.main,
},
},
toolbarDesktop: {
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between',
height: '64px',
},
desktopMenuButtonLogin: {
background: theme.palette.primary.main,
borderColor: theme.palette.primary.main,
},
rootListItemDesktop: {
[theme.breakpoints.up('md')]: {
padding: theme.spacing(1),
},
},
iconDesktop: {
paddingRight: theme.spacing(2.5),
[theme.breakpoints.up('md')]: {
paddingRight: 0,
},
},
});
let urlEnv;
class HeaderPersonnalise extends React.Component {
state = {
top: false,
left: false,
bottom: false,
right: false,
toggle: true
};
redirectionrecruteur=(props) => {
console.log("redirection recruteur")
localStorage.removeItem("ttJWT");
//this.openDialog()
props.requestLogout();
window.location.href = "https://recruteur.talentstube.com/";
}
componentDidMount() {
}
toggleDrawer = (side, open) => () => {
this.setState({
[side]: open,
});
};
onRedirectAccount = e => {
urlEnv = (process.env.NODE_ENV !== 'production') ? '//localhost/app_dev.php' : process.env.SERVER_URL;
e.preventDefault();
var redirectAccountUrl = urlEnv + "/api/talent?bearer=" + localStorage.getItem("ttJWT");
window.open(redirectAccountUrl);
}
toggle = () => this.setState(state => ({ toggle: !state.toggle }))
chargerPage =(type)=> {
console.log(type);
//Router.replace(page);
sessionStorage.setItem(type+'_currentPage',1);
}
render() {
const { classes } = this.props;
const { publicRuntimeConfig } = getConfig();
return (
<div className={classes.root}>
<Drawer anchor="right" open={this.state.right} onClose={this.toggleDrawer('right', false)}>
<div
tabIndex={0}
role="button"
onClick={this.toggleDrawer('right', false)}
onKeyDown={this.toggleDrawer('right', false)}
>{!!this.props.loading &&
(<Loader />
)}
{!!!this.props.loading && !!!this.props.fetched
&&
<div className={classes.fullList + ' ' + classes.darkFullList}>
<List>
<Link href="/" >
<a className={classes.darkMenuItem + ' cypFrontPage'}><ListItem classes={{ root: classes.rootListItemIcon }}>
<img alt="talents-tube" src='/statique/images/logos/TalentsTube_logo-blanc.svg' className={classes.menuLogo} />
</ListItem></a>
</Link>
<Divider light={true} />
<div className={classes.linkGroup}>
<Link href="/Login" >
<a className={classes.lightMenuItem + ' cypConnexion'}><ListItem classes={{ root: classes.rootListItemIcon }} >
<PersonIcon className={classes.icon} />
<ListItemText classes={{ primary: classes.ListItemText }} primary='Connexion'>
</ListItemText>
</ListItem></a>
</Link>
{/* TODO */}
<Link href="/Inscription" >
<a className={classes.lightMenuItem + ' cypRegister'}><ListItem classes={{ primary: classes.ListItemText }} classes={{ root: classes.rootListItem }}>
<PersonAddIcon className={classes.icon} />
<ListItemText primary='Inscription'>
</ListItemText>
</ListItem></a>
</Link>
</div>
<Divider light={true} />
<div className={classes.linkGroup}>
<a href={publicRuntimeConfig.symphonyUrl + "/"} className={classes.lightMenuItem}><ListItem classes={{ primary: classes.ListItemText }} classes={{ root: classes.rootListItemIcon }}>
<WorkOutlineIcon className={classes.icon} />
<ListItemText primary='Connexion recruteurs'>
</ListItemText>
</ListItem>
</a>
</div>
</List>
</div>}
{!!!this.props.loading && !!this.props.fetched &&
<Fragment>
{this.props.user.picture ?
<img alt="talents-tube" src={publicRuntimeConfig.symphonyUrl +publicRuntimeConfig.postedContentUrl+ this.props.user.picture} className={classes.menuAvatar} />
:
<img alt="talents-tube" src='/static/images/default/account-avatar-default.svg' className={classes.menuAvatar} />
}
<ListItem classes={{ root: classes.rootListItem }} className={classes.ListItemUserConnected}>
<Typography gutterBottom component="h1" className={classes.menuUserName}>
{this.props.user.firstname + " " + this.props.user.lastname}
</Typography>
<Typography gutterBottom component="h3" className={classes.menuUserEmail} >
{this.props.user.email}
</Typography>
</ListItem>
<Divider className={classes.darkDivider} />
{this.props.user.type=="TALENT"
?
<div>
<Link href="/Candidatures" >
<a className={classes.lightMenuItem}><ListItem classes={{ root: classes.rootListItemIcon }}>
<FolderSharedIcon className={classes.icon} />
<ListItemText primary='Mes candidatures'>
</ListItemText>
</ListItem></a>
</Link>
<Link href="/profileStep" >
<a className={classes.lightMenuItem}>
<ListItem classes={{ root: classes.rootListItemIcon }}>
<AccountCircleIcon className={classes.icon} />
<ListItemText primary='Mon compte'>
</ListItemText>
</ListItem>
</a>
</Link>
<Link href="/Parametres" >
<a className={classes.lightMenuItem}><ListItem classes={{ root: classes.rootListItemIcon }}>
<SettingsIcon className={classes.icon} />
<ListItemText primary='Paramètres de notification'>
</ListItemText>
</ListItem></a>
</Link>
</div>
:
this.redirectionrecruteur(this.props)
// <div>
// <a href={publicRuntimeConfig.symphonyUrl + "/"} className={classes.lightMenuItem}>
// <ListItem classes={{ root: classes.rootListItemIcon }}>
// <SettingsIcon className={classes.icon} />
// <ListItemText primary='Espace recruteur'>
// </ListItemText>
// </ListItem></a>
// </div>
}
<Link href="/" >
<a onClick={() => {
localStorage.removeItem("ttJWT");
return this.props.requestLogout();
}} className={classes.lightMenuItem}><ListItem classes={{ root: classes.rootListItemIcon }}>
<PowerSettingsNewIcon className={classes.icon} />
<ListItemText primary='Déconnexion'>
</ListItemText>
</ListItem></a>
</Link>
</Fragment>
}
</div>
</Drawer>
{isWidthUp('md', this.props.width) ?
(<AppBar position="static" className={classes.appBar}>
<Toolbar disableGutters={true} className={classes.toolbarDesktop}>
<section className={classes.appBarDesktopSection + ' ' + classes.appBarDesktopSection1}>
<Link href="/" >
<a className={classes.darkMenuItem}>
<ListItem classes={{ root: classes.rootListItemDesktop }}>
<img alt="talents-tube" src='/statique/images/logos/TalentsTube_logo-color.svg' className={classes.desktopMenuLogo} />
</ListItem>
</a>
</Link>
</section>
<section className={classes.appBarDesktopSection + ' ' + classes.appBarDesktopSection2}>
{/* <IconButton className={classes.menuButton} onClick={this.toggleDrawer('left', true)}
color="inherit" aria-label="Open drawer">
<MenuIcon />
</IconButton> */}
<List className={classes.desktopMenuList}>
<div>
<ActiveLink activeClassName={classes.active} href="/Offres" >
<a className={classes.desktopMenuItem} >
<ListItemText primary="Offres d'emploi">
</ListItemText>
</a>
</ActiveLink>
<ActiveLink activeClassName={classes.active} href="/Entreprises" >
<a className={classes.desktopMenuItem}>
<ListItemText primary='Nos entreprises'>
</ListItemText>
</a>
</ActiveLink>
<ActiveLink activeClassName={classes.active} href="/Help" >
<a className={classes.desktopMenuItem}>
<ListItemText primary='Comment ça marche ?'>
</ListItemText>
</a>
</ActiveLink>
<a className={classes.desktopMenuItem} target="_blank" href="https://blog.talentstube.com/">
<ListItemText primary='Blog'>
</ListItemText>
</a>
</div>
<div>
{!!!this.props.loading && !!!this.props.fetched &&
<Fragment>
<Link href="/Inscription" >
<a className={classes.desktopMenuItem}>
<ListItem classes={{ root: classes.rootListItemDesktop }}>
<Button
variant="outlined"
className={classes.button + ' ' + classes.desktopMenuButtonRegister}>
<PersonAddIcon className={classes.iconDesktop} />
<ListItemText classes={{ primary: classes.ListItemText }} primary='Inscription'></ListItemText>
</Button >
</ListItem>
</a>
</Link>
<Link href="/Login" >
<a className={classes.desktopMenuItem}>
<ListItem classes={{ root: classes.rootListItemDesktop }}>
<Button
variant="outlined"
className={classes.button + ' ' + classes.desktopMenuButtonLogin}>
<PersonIcon className={classes.iconDesktop} />
<ListItemText classes={{ primary: classes.ListItemText }} primary='Connexion'></ListItemText>
</Button >
</ListItem>
</a>
</Link>
</Fragment>
}
{!!!this.props.loading && !!this.props.fetched &&
<IconButton
edge="end"
aria-label="Profile"
aria-controls={'primary-search-account-menu'}
aria-haspopup="true"
onClick={this.toggleDrawer('right', true)}
className={classes.iconAccount + ' cypConnexionMenu'}
>
<AccountCircleOutlinedIcon />
</IconButton>
}
</div>
</List>
</section>
<section className={classes.appBarDesktopSection + ' ' + classes.appBarDesktopSection3}>
<a href={publicRuntimeConfig.symphonyUrl + "/"} className={classes.desktopMenuItem}>
<ListItemText primary='Espace recruteurs'>
</ListItemText>
<ArrowForward className={classes.icon} />
</a>
</section>
</Toolbar>
</AppBar>)
:
(
<AppBar position="static" className={classes.appBar}>
<Toolbar className={classes.toolbar}>
{/* <IconButton className={classes.menuButton} onClick={this.toggleDrawer('left', true)}
color="inherit" role="button">
<MenuIcon />
</IconButton> */}
<ButtonBase name='back'
focusRipple
className={classes.back}
focusVisibleClassName={classes.focusVisible}
onClick={() => Router.push("/"+this.props.retour)}>
<ArrowLeft color="primary" classes={{ root: classes.icon }}></ArrowLeft>
</ButtonBase>
<div className={classes.grow} />
<Link href="/" >
<a><img alt="talents-tube" src='/statique/images/logos/TalentsTube_logo-color.svg' className={classes.menuLogo} /></a>
</Link>
<div className={classes.grow} />
<IconButton
edge="end"
aria-label="Profile"
aria-controls={'primary-search-account-menu'}
aria-haspopup="true"
onClick={this.toggleDrawer('right', true)}
className={classes.iconAccount + ' cypConnexionMenu'}
>
<AccountCircleOutlinedIcon />
</IconButton>
</Toolbar>
</AppBar>
)}
</div >
);
}
}
function mapStateToProps(state) {
return {
user: state.user,
fetched: !!state.user.fetched,
loading: !!state.user.loading
};
}
export default (connect(mapStateToProps, { fetchCurrentUserRequest, requestLogout })(withStyles(styles)(withWidth()(HeaderPersonnalise))));
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -42,7 +42,7 @@ const styles = theme => ({
},
margin: '1vh 2vh 1vh 2vh',
[theme.breakpoints.up('sm')]: {
margin: '1vh 0 1vh 0',
margin: '2vh 0 2vh 0',
},
},
detailsContainer: {
@@ -156,7 +156,7 @@ class OffreRowComponent extends React.Component {
</Typography>
<div>
{rowData.is_promoted && (
<Chip label="Pourvue" className={classes.chip} />
<Chip label="Offre pourvue" className={classes.chip} />
)}
{!rowData.is_promoted && (
@@ -22,8 +22,8 @@ const styles = theme => ({
},
askToInstallText: {
fontSize: '1.4em',
fontWeight: '500',
fontFamily: 'Dosis',
fontWeight: '600',
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
},
installApp: {
width: '100%',
+193 -25
View File
@@ -7,6 +7,7 @@ import axios from 'axios'
import setAuthorizationHeader from "../../data/setAuthorizationHeader";
import 'videojs/dist/video-js.css';
import 'videojs-record/dist/css/videojs.record.css';
import ArrowRight from '@material-ui/icons/ArrowRight';
dynamic(() => import('webrtc-adapter'), {
ssr: false
@@ -17,8 +18,31 @@ const RTCRecorder = dynamic(() => import('RecordRTC'), {
const videoJsOptions = {
controls: true,
width: '550',
languages: {
fr: {
Replay: 'Jouer'
}
},
autoplay:true,
preload:"auto",
playsinline : false,
//videoEngine: 'webm-wasm',
//liveui : true,
fluid: true,
nativeControlsForTouch:false,
controlBar: {
// hide fullscreen and volume controls
fullscreenToggle: false,
volumePanel: false,
deviceButton: false,
recordIndicator:true,
recordToggle: false,
PictureInPictureToggle:false,
PlayToggle:false
},
poster: '/statique/images/webrtc/module-video-talents-tube.svg',
plugins: {
/*
// wavesurfer section is only needed when recording audio-only
@@ -40,37 +64,107 @@ const videoJsOptions = {
}
}
};
const styles = theme => ({
root: {
margin: theme.spacing(1),
maxWidth: '400px', [theme.breakpoints.down('md')]: {
maxWidth: `${100 - (theme.spacing(1))}vw`
const styles = theme => ({
primary: {
color: theme.palette.primary.main,
},
sendContainer: {
textAlign: 'center'
root: {
position: 'relative',
textAlign: 'center',
paddingTop: theme.spacing(10),
justifyContent: 'center',
},
button: {
color: '#FFFFFF',
padding: '9.6px 16px',
borderColor: '#25D89A',
border: '2px solid',
margin:'15px 8px 25px 8px',
textTransform: 'inherit',
marginLeft: theme.spacing(8),
marginRight: theme.spacing(8),
marginTop: theme.spacing(4),
marginBottom: theme.spacing(2),
padding: theme.spacing(1.2, 2),
//borderRadius: '3px',
[theme.breakpoints.up('sm')]: {
margin: 'auto',
},
backgroundColor:'#25D89A',
},
buttonRelancer:{
color: '#1E2327',
borderColor: '#1E2327',
border: '2px solid',
margin: '15px 8px 25px 8px',
padding: '9.6px 16px',
textTransform: 'inherit',
color: '#1E2327',
borderColor: '#1E2327',
},
}
})
buttonArret: {
color: '#FFFFFF',
borderColor: '#FF5A5F',
border: '2px solid',
padding: '9.6px 16px',
margin:'15px 8px 25px 8px',
textTransform: 'inherit',
backgroundColor:'#FF5A5F',
},
buttonLire: {
color: '#FFFFFF',
padding: '9.6px 16px',
margin:'15px 8px 25px 8px',
textTransform: 'inherit',
backgroundColor:'#1689FB',
},
conteneurVideo:{
width:'550px!important'
},
sendContainer: {
left: '-40px'
},
})
// const styles = theme => ({
// root: {
// margin: theme.spacing(1),
// maxWidth: '400px', [theme.breakpoints.down('md')]: {
// maxWidth: `${100 - (theme.spacing(1))}vw`
// },
// sendContainer: {
// textAlign: 'center'
// },
// bouton: {
// textTransform: 'inherit',
// marginLeft: theme.spacing(1),
// marginRight: theme.spacing(1),
// padding: theme.spacing(1.2, 2),
// color: theme.palette.secondary.main,
// backgroundColor: theme.palette.primary.important,
// },
// conteneurVideo:{
// width:'550px!important'
// }
// }
// })
class Recorder extends Component {
state={
canSend:false
canSend:false,
isActiveLancer:true,
isActiveArreter:false,
isActiveLancerReplay:false,
lancerText:"Démarrer lenregistrement",
lancerStyleRelance : 0,
}
handleLancer = (replay)=>{
this.setState({
isActiveLancer: !this.state.isActiveLancer,
isActiveArreter: !this.state.isActiveArreter,
lancerText : "Refaire une vidéo",
})
replay==1 ? this.setState({isActiveLancerReplay: 1}) : this.setState({isActiveLancerReplay: 0})
this.setState({lancerStyleRelance: 1})
}
async componentDidMount() {
var record = (await import('videojs-record')).default
// instantiate Video.js
@@ -81,10 +175,42 @@ class Recorder extends Component {
' and recordrtc ' + RTCRecorder.VERSION;
videojs.log(version_info);
});
var vid= this.player;
this.player.bigPlayButton.hide();
// When you pass text in options it just creates a control text,
// which is displayed as tooltip when hovered on
// this button viz the span in you div,
var myButton = this.player.controlBar.addChild("button");
// There are many functions available for button component
// like below mentioned in this docs
// https://docs.videojs.com/button.
// You can set attributes and clasess as well.
// Getting html DOM
var myButtonDom = myButton.el();
//var myButtonDom2 = myButton2.el();
// Since now you have the html dom element
// you can add click events
// Now I am setting the text as you needed.
// myButtonDom.innerHTML = "Youi";
myButtonDom.onclick = function(){
//alert("Redirecting");
vid.pause();
}
// device is ready
this.player.on('deviceReady', () => {
console.info('device is ready!');
this.player.record().start();
this.setState({canSend:false});
});
@@ -129,9 +255,44 @@ class Recorder extends Component {
this.props.uploader(formData);
}
recordPlayer = () => {
// console.log('accessing recording: ', this.player.recordedData)
if (this.player) {
//this.player.recorder.start()
this.player.ready();
this.player.record().getDevice();
this.handleLancer(0);
}
}
playPlayerAuto = () => {
// console.log('accessing recording: ', this.player.recordedData)
if (this.player) {
//this.player.recorder.start()
this.player.autoplay('play');
}
}
pausePlayerAuto = () => {
// console.log('accessing recording: ', this.player.recordedData)
if (this.player) {
//this.player.recorder.start()
this.player.autoplay('pause');
}
}
arretPlayer = () => {
// console.log('accessing recording: ', this.player.recordedData)
if (this.player) {
this.player.record().stop();
this.handleLancer(1);
}
}
render() {
const { classes, titreBouton } = this.props;
let titreButtonLabel= "Envoyer";
let titreButtonLabel= "Choisir cette vidéo";
if (titreBouton) {
@@ -140,17 +301,24 @@ class Recorder extends Component {
console.log(titreButtonLabel);
}
return (
<div>
<div className={classes.conteneurVideo}>
<div data-vjs-player>
<video id="myVideo" ref={node => this.videoNode = node} className="video-js vjs-default-skin" playsInline></video>
<video id="myVideo" width='550' ref={node => this.videoNode = node} className="video-js vjs-default-skin" playsInline></video>
</div>
<div className={classes.sendContainer}>
{ this.state.canSend && <Button type="submit" variant="outlined" color="primary"
{this.state.isActiveLancer ? <Button className={this.state.lancerStyleRelance==1 ? classes.buttonRelancer: classes.button} onClick={this.recordPlayer}>{this.state.lancerText}</Button> : null }
{this.state.isActiveArreter ?<Button className={classes.buttonArret} onClick={this.arretPlayer}>Arrêter l'enregistrement</Button> : null }
{/* {this.state.isActiveLancerReplay ?<Button cyp="ButtonApply" variant="contained" className={classes.buttonLire} onClick={this.playPlayerAuto}><ArrowRight className={ classes.InputKeyboardArrowRightIcon }/>Relire</Button>: null } */}
{ this.state.canSend && <Button type="submit" className={classes.button}
className={classes.button}
onClick={this.sendBlob}>
{titreButtonLabel}
</Button>}
</div>
<div id="controleNav">
</div>
</div>
);
}
+65 -21
View File
@@ -10,6 +10,7 @@ import InputAdornment from '@material-ui/core/InputAdornment';
import { withStyles } from '@material-ui/core/styles';
import { registerUserRequest, subscribeToNewsletterRequest } from "../../actions/user"
import SocialButtonsAuth from '../atoms/SocialButtonsAuth';
import Snack from '../atoms/snack'
const styles = theme => ({
container: {
@@ -107,20 +108,25 @@ class Register extends React.Component {
data: {
firstname: '',
lastname: '',
phone: '',
email: '',
password: '',
checkNewsletter: false,
checkCGU: false,
adId : ''
},
errors: {
email:null,
password:null,
firstname:null,
phone:null,
lastname:null,
phone:null,
checkCGU:null
},
loading: false,
showPassword: false
showPassword: false,
passwordValid : false
}
validate = data => {
@@ -131,18 +137,28 @@ class Register extends React.Component {
if (!!!data.lastname) errors.lastname = "Requis";
if (!data.checkCGU) errors.checkCGU = "Requis";
if(data.password.length <8){
errors.password = "Too short";
}
return errors;
};
componentDidMount() {
this.setState({
data: {...this.state.data, adId: localStorage.getItem('adId')},
})
}
onRegister = e => {
e.preventDefault();
const errors = this.validate(this.state.data);
let errors = this.validate(this.state.data);
this.setState({ errors: errors });
// console.log('adId')
// console.log(this.state.data)
if (Object.keys(errors).length === 0) {
this.props.registerUserRequest(this.state.data)
console.log(this.props.registerUserRequest(this.state.data))
if (this.state.data.checkNewsletter)
this.props.subscribeToNewsletterRequest({ email: this.state.data.email })
@@ -156,10 +172,12 @@ class Register extends React.Component {
loading: nextProps.loading
})
}
onChange = e =>
onChange = e => {
this.setState({
data: { ...this.state.data, [e.target.name]: e.target.value }
});
}
handleCheckBoxChange = name => event => {
this.setState({ data: { ...this.state.data, [name]: event.target.checked } });
};
@@ -173,7 +191,7 @@ class Register extends React.Component {
};
render() {
const { classes } = this.props;
const { classes, erreurs } = this.props;
const { data, errors } = this.state;
return (
@@ -181,17 +199,7 @@ class Register extends React.Component {
<form className={classes.form}>
<TextField
value={data.lastname}
onChange={this.onChange}
id="nom"
name="lastname"
label="Nom"
margin="normal"
variant="outlined"
required
error={!!errors.lastname}
/>
<TextField
value={data.firstname}
onChange={this.onChange}
@@ -202,8 +210,36 @@ class Register extends React.Component {
variant="outlined"
required
error={!!errors.firstname}
helperText={!!errors.firstname && "Veuillez saisir votre prénom."}
/>
<TextField
className={classes.champ}
value={data.lastname}
onChange={this.onChange}
id="nom"
name="lastname"
label="Nom"
margin="normal"
variant="outlined"
required
error={!!errors.lastname}
helperText={!!errors.lastname && "Veuillez saisir votre nom."}
/>
<TextField
className={classes.champ}
value={data.phone}
onChange={this.onChange}
id="telephone"
name="phone"
label="Téléphone"
margin="normal"
variant="outlined"
/>
<TextField
value={data.email}
onChange={this.onChange}
@@ -214,14 +250,14 @@ class Register extends React.Component {
type="email"
variant="outlined"
required
error={!!errors.email}
autoComplete="username email"
error={!!errors.email || !!erreurs}
helperText={!!errors.email ? "Saisissez une adresse e-mail valide." : !!erreurs && erreurs}
/>
<TextField
className={clsx(classes.margin, classes.textField)}
label="Password"
label="Mot de passe"
name="password"
id="adornment-password"
variant="outlined"
@@ -230,6 +266,7 @@ class Register extends React.Component {
value={this.state.password}
onChange={this.onChange}
error={!!errors.password}
helperText={!!errors.password && "Votre mot de passe doit contenir au minimum 8 caractères."}
InputProps={{
endAdornment: (
<InputAdornment position="end">
@@ -273,6 +310,7 @@ class Register extends React.Component {
label="Je déclare avoir pris connaissance et accepte les termes et les CGU *"
required
/>
<Link href={`/Cgu`} >Lien vers les CGU</Link>
<Button type="submit" variant="contained" className={classes.button + ' ' + classes.buttonImportant + ' cypButtonRegister'} onClick={this.onRegister}>
S'inscrire
</Button>
@@ -300,7 +338,12 @@ class Register extends React.Component {
</Link>
</Typography>
</div>
<Snack name= 'snackWarning'
variant= 'warning'
message={errors.message}
/>
</div>
);
}
}
@@ -309,6 +352,7 @@ function mapStateToProps(state) {
return {
loading: !!state.user.loading,
errors: !!state.user.errors ?state.user.errors: {
phone:null,
email:null,
password:null,
firstname:null,
+70 -16
View File
@@ -5,6 +5,7 @@ import { loadCSS } from 'fg-loadcss';
import { makeStyles } from '@material-ui/core/styles';
import { red } from '@material-ui/core/colors';
import Icon from '@material-ui/core/Icon';
import Hidden from '@material-ui/core/Hidden';
const useStyles = makeStyles(theme => ({
root: {
@@ -26,16 +27,52 @@ const useStyles = makeStyles(theme => ({
textAlign: 'center',
},
FacebookIcon: {
backgroundColor: theme.palette.social.facebook,
color: theme.palette.social.facebook,
'&:hover': {
backgroundColor: theme.palette.social.facebook,
color: '#fff',
}
},
TwitterIcon: {
backgroundColor: theme.palette.social.twitter,
color: theme.palette.social.twitter,
'&:hover': {
backgroundColor: theme.palette.social.twitter,
color: '#fff',
}
},
LinkedinIcon: {
backgroundColor: theme.palette.social.linkedin,
color: theme.palette.social.linkedin,
'&:hover': {
backgroundColor: theme.palette.social.linkedin,
color: '#fff',
}
},
MailIcon: {
backgroundColor: theme.palette.social.mail,
color: theme.palette.social.mail,
'&:hover': {
backgroundColor: theme.palette.social.mail,
color: '#fff',
}
},
FacebookIconMobile: {
color: theme.palette.social.facebook,
paddingRight:'0px',
paddingLeft:'3px'
},
TwitterIconMobile: {
color: theme.palette.social.twitter,
paddingRight:'3px' ,
paddingLeft:'3px'
},
LinkedinIconMobile: {
color: theme.palette.social.linkedin,
paddingRight:'3px',
paddingLeft:'3px'
},
MailIconMobile: {
color: theme.palette.social.mail,
paddingRight:'3px' ,
paddingLeft:'3px'
},
}));
@@ -51,19 +88,36 @@ export default function SocialShare(props) {
return (
<div className={classes.root}>
<Hidden smDown>
<a href={"https://www.facebook.com/sharer/sharer.php?u=" + encodeURIComponent(props.url)} target="_blank">
<Icon className={clsx(classes.icon, classes.FacebookIcon, 'fab fa-facebook-f')} />
</a>
<a href={"http://twitter.com/share?url=" + encodeURIComponent(props.url)} target="_blank">
<Icon className={clsx(classes.icon, classes.TwitterIcon, 'fab fa-twitter')} color="secondary" />
</a>
<a href={"https://www.linkedin.com/shareArticle?mini=true&url=" + encodeURIComponent(props.url + "&title=Talents Tube")} target="_blank">
<Icon className={clsx(classes.icon, classes.LinkedinIcon, 'fab fa-linkedin-in')} color="secondary" />
</a>
{/* change because of https://github.com/zeit/next.js/blob/master/errors/invalid-href-passed.md */}
<a href={"mailto:?subject=Offre d'emploi Talents Tube&body=Regardez cette offre : " + props.url} target="_blank"s>
<Icon className={clsx(classes.icon, classes.MailIcon, 'fas fa-envelope')} color="secondary" />
</a>
</Hidden>
<Hidden mdUp>
<a href={"https://www.facebook.com/sharer/sharer.php?u=" + encodeURIComponent(props.url)} target="_blank">
<Icon className={clsx(classes.icon, classes.FacebookIcon, 'fab fa-facebook-f')} color="secondary" />
</a>
<a href={"http://twitter.com/share?url=" + encodeURIComponent(props.url)} target="_blank">
<Icon className={clsx(classes.icon, classes.TwitterIcon, 'fab fa-twitter')} color="secondary" />
</a>
<a href={"https://www.linkedin.com/shareArticle?mini=true&url=" + encodeURIComponent(props.url + "&title=Talent's Tube")} target="_blank">
<Icon className={clsx(classes.icon, classes.LinkedinIcon, 'fab fa-linkedin-in')} color="secondary" />
</a>
{/* change because of https://github.com/zeit/next.js/blob/master/errors/invalid-href-passed.md */}
<a href={"mailto:?subject=Offre d'emploi Talent's Tube&body=Regardez cette offre : " + props.url} target="_blank"s>
<Icon className={clsx(classes.icon, classes.MailIcon, 'fas fa-envelope')} color="secondary" />
</a>
<Icon className={clsx(classes.icon, classes.FacebookIconMobile, 'fab fa-facebook-f')} />
</a>
<a href={"http://twitter.com/share?url=" + encodeURIComponent(props.url)} target="_blank">
<Icon className={clsx(classes.icon, classes.TwitterIconMobile, 'fab fa-twitter')} color="secondary" />
</a>
<a href={"https://www.linkedin.com/shareArticle?mini=true&url=" + encodeURIComponent(props.url + "&title=Talents Tube")} target="_blank">
<Icon className={clsx(classes.icon, classes.LinkedinIconMobile, 'fab fa-linkedin-in')} color="secondary" />
</a>
{/* change because of https://github.com/zeit/next.js/blob/master/errors/invalid-href-passed.md */}
<a href={"mailto:?subject=Offre d'emploi Talents Tube&body=Regardez cette offre : " + props.url} target="_blank"s>
<Icon className={clsx(classes.icon, classes.MailIconMobile, 'fas fa-envelope')} color="secondary" />
</a>
</Hidden>
</div>
);
}
+38 -8
View File
@@ -1,4 +1,4 @@
import Griddle, { utils } from "griddle-react";
import Griddle, { utils, plugins } from "griddle-react";
import PropTypes from 'prop-types';
import React, { Component, Fragment } from 'react';
import { withStyles } from '@material-ui/core/styles';
@@ -7,6 +7,7 @@ import TextField from '@material-ui/core/TextField';
import GriddleCustomTable from "../organisms/GriddleCustomTableComponent";
import GriddleCustomNextButton from "../organisms/GriddleCustomNextButton"
import GriddleCustomPreviousButton from "../organisms/GriddleCustomPreviousButton"
import GriddleCustomPageDropdown from "../organisms/GriddleCustomPageDropdown"
import Loader from './loader'
import IconSearch from '@material-ui/icons/Search';
import NoResult from './../atoms/NoResult';
@@ -80,6 +81,7 @@ class Grid extends Component {
recordCount: 0,
promoted: false,
filterText: "",
// options: [],
};
async componentDidMount() {
@@ -98,6 +100,18 @@ class Grid extends Component {
limit: this.props.limit
}
);
// let options = [];
// let startIndex = Math.max(this.props.currentPage - 5, 0);
// let endIndex = Math.min(startIndex + 11, this.props.maxPage);
// if (this.props.maxPage >= 11 && (endIndex - startIndex) <= 10) {
// startIndex = endIndex - 11;
// }
// for(let i = startIndex; i < endIndex ; i++){
// let selected = this.props.currentPage == i ? "current-page-selected" : "";
// options.push(<button className={selected} data-value={i} onClick={this.pageChange}>{i + 1}</button>);
// }
}
UNSAFE_componentWillReceiveProps(nextProps) {
@@ -147,10 +161,19 @@ class Grid extends Component {
};
_onGetPage = pageNumber => {
_onGetPage = (pageNumber, page) => {
const { pageSize, filterText, promoted } = this.state;
this.props.dataFetcher({ offset: (page - 1) * pageSize + 1, limit: pageSize, keyword: filterText, isPromoted: promoted });
console.log(pageNumber);
console.log(page);
sessionStorage.setItem(this.props.type+'_currentPage', page);
console.log("On get Page");
};
_onSetPage = pageNumber => {
const { pageSize, filterText, promoted } = this.state;
this.props.dataFetcher({ offset: (pageNumber - 1) * pageSize + 1, limit: pageSize, keyword: filterText, isPromoted: promoted });
console.log("On set Page");
};
_onFilter = filterText => {
@@ -172,6 +195,7 @@ class Grid extends Component {
}
render() {
const { classes, placeholder } = this.props
const style = {
styles: {
@@ -189,7 +213,7 @@ class Grid extends Component {
NextButton: {
fontSize: '0.9em',
fontWeight: '600',
fontFamily: 'Dosis',
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
textTransform: 'inherit',
marginLeft: '64px',
marginRight: '64px',
@@ -205,7 +229,7 @@ class Grid extends Component {
PreviousButton: {
fontSize: '0.9em',
fontWeight: '600',
fontFamily: 'Dosis',
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
textTransform: 'inherit',
marginLeft: '64px',
marginRight: '64px',
@@ -221,8 +245,8 @@ class Grid extends Component {
PageDropdown: {
fontSize: '0.9em',
fontWeight: '600',
fontFamily: 'Dosis',
display: 'none',
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
// display: 'none',
},
}
}
@@ -230,10 +254,12 @@ class Grid extends Component {
const { filterText, data, currentPage, pageSize, recordCount, loading } = this.state;
const NewLayout = ({ Table, Pagination, Filter }) => (
<div>
{/* <Filter /> */}
<Table />
<Pagination />
</div>
);
@@ -297,6 +323,7 @@ class Grid extends Component {
recordCount,
}}
useCustomPagerComponent="true"
plugins={plugins.localPlugin}
components={{
Layout: NewLayout,
Row: this.props.CustomRowComponent,
@@ -304,12 +331,15 @@ class Grid extends Component {
TableBody: CustomTableBody,
PreviousButton: GriddleCustomPreviousButton,
NextButton: GriddleCustomNextButton,
PageDropdown: GriddleCustomPageDropdown,
}}
events={{
onNext: this._onNext,
onPrevious: this._onPrevious,
onGetPage: this._onGetPage,
onFilter: this._onFilter
onFilter: this._onFilter,
onSetPage: this._onSetPage
}}
styleConfig={style}
/>
+96 -5
View File
@@ -1,9 +1,17 @@
import React, { Component, useEffect } from 'react'
import { withStyles } from '@material-ui/core/styles'
import Router from 'next/router';
import RootContainer from '../atoms/RootContainer'
import ButtonBase from "@material-ui/core/ButtonBase";
import ArrowLeft from '@material-ui/icons/KeyboardArrowLeft';
import Typography from '@material-ui/core/Typography';
import { Button, Hidden } from '@material-ui/core';
import Dialog from '@material-ui/core/Dialog';
import DialogActions from '@material-ui/core/DialogActions';
import DialogContent from '@material-ui/core/DialogContent';
import DialogContentText from '@material-ui/core/DialogContentText';
import DialogTitle from '@material-ui/core/DialogTitle';
const styles = theme => ({
inner: {
@@ -54,13 +62,70 @@ const styles = theme => ({
position: 'absolute',
left: theme.spacing(1),
},
retour:{
fontFamily: 'Roboto',
color: '#1E2327',
fontSize: '0.8rem',
fontWeight: '500',
},
popup:{
fontFamily: 'Roboto',
color: '#1E2327',
fontSize: '0.8rem',
fontWeight: '500',
}
});
function LayoutBack(props) {
class LayoutBack extends Component {
constructor(props) {
super(props);
}
const { classes, height} = props;
state = {
open: false,
};
openDialog() {
this.setState({ open: true });
}
closeDialog() {
this.setState({ open: false });
}
refreshDialog() {
this.setState({ open: false });
window.location.reload();
}
// Add a listener to prevent browser page refresh
componentWillMount() {
if (typeof window !== "undefined") {
window.onbeforeunload = (e) => {
console.log('Stop this');
// this.openDialog();
e.preventDefault()
e.returnValue = '';
};
}
}
// Clear listener
componentWillUnmount() {
window.onbeforeunload = null
}
render() {
const { classes, height} = this.props;
//height fixed = height 100vh
var openStudio = this.props.openStudio ? 1 : 0;
const content = (height == 'fixed') ? classes.content+' '+classes.contentFixed : classes.content
return (
<RootContainer align='center'>
@@ -70,24 +135,50 @@ function LayoutBack(props) {
focusRipple
className={classes.back}
focusVisibleClassName={classes.focusVisible}
onClick={() => Router.back()}>
>
<ArrowLeft color="primary" classes={{ root: classes.icon }}></ArrowLeft>
{/* <Hidden mdUp className={classes.retour}></Hidden> */}
<Hidden smDown className={classes.retour}>
<div onClick={this.props.step==1 || openStudio==1 ? this.openDialog.bind(this) : () => Router.back()}>Retour</div>
</Hidden>
<Dialog open={this.state.open}>
<DialogTitle className={classes.popup}> Souhaitez-vous poursuivre votre candidature ?</DialogTitle>
<DialogContent className={classes.popup}> Si vous cliquez sur le bouton Supprimer, tous les éléments associés à votre candidature (vidéo, CV) seront définitivement supprimés. </DialogContent>
<DialogActions className={classes.popup}>
<Button onClick={this.refreshDialog.bind(this)} >
Supprimer
</Button>
<Button onClick={this.closeDialog.bind(this)} autoFocus>
Poursuivre
</Button>
</DialogActions>
</Dialog>
</ButtonBase>
<Typography
component="h1"
align="center"
className={classes.title}
>
{props.text}
{this.props.text}
</Typography>
</div>
</div>
<div id="C" className={content}>
{props.children}
{this.props.children}
</div>
</RootContainer>
)
}
}
LayoutBack.defaultProps = {
step: 0,
openStudio:false
}
export default withStyles(styles)(LayoutBack)
@@ -0,0 +1,105 @@
import { withStyles } from '@material-ui/core/styles'
import Router from 'next/router';
import RootContainer from '../atoms/RootContainer'
import ButtonBase from "@material-ui/core/ButtonBase";
import Close from '@material-ui/icons/Close';
import Typography from '@material-ui/core/Typography';
const styles = theme => ({
inner: {
height: '100%',
position: 'relative',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
// boxShadow: '0 6px 10px 0 rgba(0, 0, 0, 0.04), 0 1px 10px 0 rgba(0, 0, 0, 0.04), 0 3px 5px -1px rgba(0, 0, 0, 0.04)',
backgroundColor: '#1E2327',
right:'30px'
},
head: {
zIndex: '999',
width: '100%',
height: '100px',
backgroundColor: '#1E2327',
position: 'fixed',
[theme.breakpoints.up('sm')]: {
height: '100px'
}
},
icon: {
fontSize: '3em',
textAlign :'right',
top:'30px',
right:'30px',
color:'#fff',
margin:'20px'
},
title: {
color: theme.palette.primary.dark,
},
content: {
top: '100px',
width: '100%',
minHeight: '1000px',
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'flex-start',
position: 'relative',
backgroundColor: '#1E2327',
},
contentFixed: {
height: 'calc(100vh - 100px)',
backgroundColor: '#1E2327',
},
back: {
zIndex: 10,
border: 'none',
padding: theme.spacing(0.2),
textAlign: 'center',
textDecoration: 'none',
borderRadius: '50%',
position: 'absolute',
right: theme.spacing(1),
backgroundColor: '#34383C'
},
player: {
background:'#1E2327'
},
});
function LayoutBack(props) {
const { classes, height} = props;
//height fixed = height 100vh
const content = (height == 'fixed') ? classes.content+' '+classes.contentFixed : classes.content
return (
<RootContainer align='center' className={content}>
<div id="H" className={classes.head}>
<div className={classes.inner}>
<ButtonBase name='back'
focusRipple
className={classes.back}
focusVisibleClassName={classes.focusVisible}
onClick={() => Router.push(props.url)}>
<Close color="#fff" classes={{ root: classes.icon }}></Close>
</ButtonBase>
<Typography
component="h1"
align="center"
className={classes.title}
>
{props.text}
</Typography>
</div>
</div>
<div id="C" className={content}>
{props.children}
</div>
</RootContainer>
)
}
export default withStyles(styles)(LayoutBack)
+27 -31
View File
@@ -6,8 +6,9 @@ import RootContainer from '../atoms/RootContainer'
import ButtonBase from "@material-ui/core/ButtonBase";
import ArrowLeft from '@material-ui/icons/KeyboardArrowLeft';
import HideOnScroll from '../atoms/CollapsibleBack';
import SocialShare from '../organisms/SocialShare'
import withWidth, { isWidthUp } from '@material-ui/core/withWidth'
import Header from '../organisms/Header'
import HeaderEntreprise from '../organisms/HeaderPersonnalise'
import {AppBar,CssBaseline,Container,Toolbar,IconButton,Typography} from "@material-ui/core";
import Hidden from '@material-ui/core/Hidden';
import Link from 'next/link'
@@ -71,6 +72,7 @@ const styles = theme => ({
padding: theme.spacing(1.2, 2),
color: theme.palette.secondary.main,
backgroundColor: theme.palette.primary.important,
textDecoration:'none',
},
voirOffre: {
textTransform: 'inherit',
@@ -79,62 +81,56 @@ const styles = theme => ({
padding: theme.spacing(1.2, 2),
color: '#BBBCBD',
backgroundColor: '#F3F3F4',
},
lien:{
textDecoration:'none',
color:'#fff'
},
})
function LayoutCompany(props) {
const { classes, companyId } = props;
const { classes, companyId, companyLibelle } = props;
const socialShareUrl = typeof window !== 'undefined' ? window.location : publicRuntimeConfig.frontServerUrl + `/Entreprise/${companyId}-${_.kebabCase(companyLibelle)}`;
return (
<React.Fragment>
{isWidthUp('sm', props.width) ?
(<Header />)
:
(<HideOnScroll threshold={50}>
<AppBar className={classes.appBar}>
<Toolbar>
<ButtonBase name='back'
focusRipple
className={classes.back}
focusVisibleClassName={classes.focusVisible}
onClick={() => Router.back()}>
<ArrowLeft classes={{ root: classes.icon }}></ArrowLeft>
</ButtonBase>
</Toolbar>
</AppBar>
</HideOnScroll>)
}
<Container classes={{ root: classes.RootContainer }}>
<RootContainer>
<HeaderEntreprise retour="Entreprises" menu="Entreprises"/>
<div id="C" className={classes.content}>
{props.children}
</div>
<Hidden mdUp>
<div id="F" className={classes.foot}>
<Link href="#discover" >
<Button
variant="contained"
className={classes.button + ' cypButtonApply'}
classes={{ root: classes.rootButton}}
>
<a href={`/Reponse?companyId=${companyId}`} className={classes.lien }>Postuler</a>
</Button>
<SocialShare url={socialShareUrl} />
{/* <Link href="#discover" >
<Button
variant="contained"
className={classes.voirOffre + ' cypButtonApply'}
>Voir les offres</Button>
</Link>
<Button
</Link> */}
{/* <a
href={`/Reponse?companyId=${companyId}`}
variant="contained"
className={classes.button}
classes={{ root: classes.rootButton }}
onClick={() => Router.push(`/Reponse?companyId=${companyId}`)}
// onClick={() => Router.push(`/Reponse?companyId=${companyId}`)}
>
Candidature spontanée</Button>
Candidature spontanée</a> */}
</div>
</Hidden>
</RootContainer>
</Container>
</React.Fragment>
)
}
+41 -23
View File
@@ -5,11 +5,14 @@ import Router from 'next/router';
import RootContainer from '../atoms/RootContainer'
import ButtonBase from "@material-ui/core/ButtonBase";
import ArrowLeft from '@material-ui/icons/KeyboardArrowLeft';
import Header from '../organisms/Header'
import HeaderPersonnalise from '../organisms/HeaderPersonnalise'
import SocialShare from '../organisms/SocialShare'
import withWidth, { isWidthUp } from '@material-ui/core/withWidth'
import Hidden from '@material-ui/core/Hidden';
import Link from 'next/link'
import getConfig from 'next/config'
import _ from "lodash/string";
const { publicRuntimeConfig } = getConfig()
const styles = theme => ({
foot: {
display: 'flex',
@@ -22,6 +25,10 @@ const styles = theme => ({
backgroundColor: theme.palette.secondary.main,
boxShadow: '0px 0px 10px rgba(30, 35, 39, 0.10)',
},
lien:{
textDecoration:'none',
color:'#fff'
},
contentDefault: {
height: 'auto',
position: 'relative',
@@ -57,8 +64,8 @@ const styles = theme => ({
},
button: {
textTransform: 'inherit',
marginLeft: theme.spacing(8),
marginRight: theme.spacing(8),
marginLeft: theme.spacing(4.5),
marginRight: theme.spacing(4.5),
padding: theme.spacing(1.2, 2),
color: theme.palette.secondary.main,
backgroundColor: theme.palette.primary.important,
@@ -72,26 +79,22 @@ const styles = theme => ({
backgroundColor: '#F3F3F4',
},
pourvuButton:{
padding :'10px',
textTransform: 'inherit',
},
})
function LayoutOffre(props) {
const { classes, offreId, offre, isProvided } = props;
const contentClass = (!isProvided) ? classes.contentDefault : classes.contentProvided
const socialShareUrl = typeof window !== 'undefined' ? window.location : publicRuntimeConfig.frontServerUrl + `/Offre/${offreId}-${_.kebabCase(offre.title)}`;
return (
<RootContainer>
{isWidthUp('sm', props.width) ?
(<Header />)
:
(<ButtonBase name='back'
focusRipple
className={classes.back}
focusVisibleClassName={classes.focusVisible}
onClick={() => Router.back()}>
<ArrowLeft classes={{ root: classes.icon }}></ArrowLeft>
</ButtonBase>)
}
<HeaderPersonnalise retour="Offres" menu="Offres d'emploi"/>
<div id="C" className={contentClass}>
{props.children}
</div>
@@ -101,21 +104,36 @@ function LayoutOffre(props) {
<div id="F" className={classes.foot}>
{/* <div className={classes.inner}>
<div className={classes.grow} /> */}
<Link href={`/Entreprise/${offre.company.id}-${_.kebabCase(offre.company.brand_name)}`} >
{/* <Link href={`/Entreprise/${offre.company.id}-${_.kebabCase(offre.company.brand_name)}`} >
<Button
variant="contained"
className={classes.voirEntreprise + ' cypButtonApply'}
>Voir l'entreprise</Button>
</Link>
>Voir l'entreprise</Button>
</Link> */}
<Button
variant="contained"
className={classes.button + ' cypButtonApply'}
classes={{ root: classes.rootButton}}
onClick={() => Router.push(`/Reponse?adId=${offreId}`)}
>
Postuler</Button>
<a href={`/Reponse?adId=${offreId}`} className={classes.lien }>Postuler</a>
</Button>
<SocialShare url={socialShareUrl} />
{/* <div className={classes.grow} />
</div> */}
</div>
)}
{isProvided && (
<div id="F" className={classes.foot}>
{/* <div className={classes.inner}>
<div className={classes.grow} /> */}
<Button variant="contained" disabled className={classes.pourvuButton}>
Offre pourvue
</Button>
{/* <div className={classes.grow} />
</div> */}
</div>
@@ -130,4 +148,4 @@ LayoutOffre.propTypes = {
offre: PropTypes.object,
};
export default withStyles(styles)(withWidth()(LayoutOffre))
export default withStyles(styles)(LayoutOffre)
+1 -1
View File
@@ -8,7 +8,7 @@ const styles = theme => ({
alignItems: 'center',
textAlign: 'center',
justifyContent: 'center',
fontFamily: 'Dosis',
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
fontWeight: '500',
fontSize: '1em',
padding: theme.spacing(6,0),
+31 -5
View File
@@ -1,6 +1,7 @@
import React, { Fragment } from 'react'
import CircularProgress from '@material-ui/core/CircularProgress'
import { withStyles } from '@material-ui/core/styles'
import LinearProgress from '@material-ui/core/LinearProgress';
const styles = theme => ({
loader: {
display: 'flex',
@@ -8,20 +9,45 @@ const styles = theme => ({
alignItems: 'center',
textAlign: 'center',
justifyContent: 'center',
fontFamily: 'Dosis',
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
fontWeight: '500',
fontSize: '1em',
padding: theme.spacing(6,0),
color: theme.palette.primary.main,
margin:'50px 0',
},
loaderGras:{
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
paddingTop:'10px',
fontSize: '1.875em',
fontWeight: '500',
marginBottom:'30px',
},
loaderSecondaire:{
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
fontSize: '1em',
fontWeight: '300',
},
root: {
top:"200px",
width: '100%',
'& > * + *': {
marginTop: theme.spacing(2),
},
},
})
class LoaderVideo extends React.Component {
render() {
const { classes } = this.props;
const { classes, textePrincipal, texteSecondaire } = this.props;
return (
<div className={classes.loader + ' ' + 'alert alert-info'}><CircularProgress color="primary" />Chargement... <br/>Le temps de chargement peut varier de quelques secondes à <b>plusieurs minutes</b> en fonction de la qualité de votre connexion internet.<br/></div>
)
<div className={classes.root}>
<div className={classes.loader }><CircularProgress color="primary" /><span className={classes.loaderGras }>{textePrincipal}</span><br/><span className={classes.loaderSecondaire }> {texteSecondaire}</span><br/></div>
<div >
</div>
</div>
)
}
}
+28 -4
View File
@@ -12,6 +12,7 @@ axios.interceptors.response.use(response => {
}, error => {
if (error.response.status === 401) {
localStorage.setItem('ttJWT', '');
console.log("REPONSE REDIRECT LOGIN")
Router.push("/Login");
}
return error;
@@ -128,6 +129,9 @@ export default {
withCredentials: true
}).then(res => res)
},
},
cv:{
uploadMediaCv: (payload) => {
return axios.post("/api/mediaCv", payload, {
headers: {
@@ -141,12 +145,32 @@ export default {
countAdView: id => {
if (!!localStorage.ttJWT)
setAuthorizationHeader(localStorage.ttJWT)
axios.get(`api/adAjaxRecStat/${id}`)
let continuerAds = true;
if (sessionStorage.getItem("ads"+id)){
continuerAds=false;
}
if( continuerAds){
axios.get(`api/adAjaxRecStat/${id}`)
sessionStorage.setItem('ads'+id, id);
}
},
countCompanyView: id => {
if (!!localStorage.ttJWT)
setAuthorizationHeader(localStorage.ttJWT)
axios.get(`api/companyAjaxRecStat/${id}`)
if (!!localStorage.ttJWT){
setAuthorizationHeader(localStorage.ttJWT);
}
let continuer = true;
if (sessionStorage.getItem("companies"+id)){
continuer=false;
}
if( continuer){
axios.get(`api/companyAjaxRecStat/${id}`);
sessionStorage.setItem('companies'+id, id);
}
},
}
+10 -9
View File
@@ -41,21 +41,22 @@ module.exports = withPlugins(
[{
publicRuntimeConfig: {
// DEV
// symphonyUrl: 'http://localhost/app_dev.php/',
// symphonyUrl: 'http://localhost/',
// blogUrl: 'https://blog.talentstube.com',
// 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',
adListDefaultUrl: '/statique/images/default/default_picture_company.svg',
// 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.7.3',
adListDefaultUrl: '/statique/images/default/default_picture_company.jpg',
cachedMediaUrl: '/media/cache/profile_thumb/uploads/img/',
postedContentUrl: '/uploads/img/',
postedContentCv: '/uploads/cv/',
+499 -24
View File
@@ -1,28 +1,503 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://app.talentstube.com/Candidature</loc>
<lastmod>2019-09-17</lastmod>
</url>,<url>
<loc>https://app.talentstube.com/Cgu</loc>
<lastmod>2019-09-17</lastmod>
</url>,<url>
<loc>https://app.talentstube.com/Confidentialite</loc>
<lastmod>2019-11-04</lastmod>
</url>,<url>
<loc>https://app.talentstube.com/Entreprises</loc>
<lastmod>2019-09-17</lastmod>
</url>,<url>
<loc>https://app.talentstube.com/Help</loc>
<lastmod>2019-10-11</lastmod>
</url>,<url>
<loc>https://app.talentstube.com/Login</loc>
<lastmod>2019-10-14</lastmod>
</url>,<url>
<loc>https://app.talentstube.com/MentionsLegales</loc>
<lastmod>2019-11-04</lastmod>
</url>,<url>
<loc>https://app.talentstube.com/Offres</loc>
<lastmod>2019-10-16</lastmod>
<loc>https://www.talentstube.com/Player?id=135&amp;url=/Offre/135-commercial-b-to-c-f-h&amp;videoId=502499843&amp;typeEntite=Offre&amp;nameCompany=Fym%20Action&amp;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=133&amp;url=/Offre/133-gestionnaire-de-copropriete-f-h&amp;videoId=500395879&amp;typeEntite=Offre&amp;nameCompany=Cabinet%20JOURDAN&amp;nameOffre=Gestionnaire%20de%20co%20propriete</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
</urlset>
<url>
<loc>https://www.talentstube.com/Player?id=132&amp;url=/Offre/132-comptable-f-h&amp;videoId=495504495&amp;typeEntite=Offre&amp;nameCompany=Cabinet%20JOURDAN&amp;nameOffre=Comptable%20(F/H)</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=130&amp;url=/Offre/130-assistant-f-h&amp;videoId=495156742&amp;typeEntite=Offre&amp;nameCompany=Cabinet%20JOURDAN&amp;nameOffre=Assistant%20(F/H)</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=131&amp;url=/Offre/131-poseur-f-h&amp;videoId=494089386&amp;typeEntite=Offre&amp;nameCompany=TPC%20Ouest&amp;nameOffre=Poseur%20(F/H)</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=131&amp;url=/Offre/140-aide-a-domicile-f-h&amp;videoId=507891163&amp;typeEntite=Offre&amp;nameCompany=ADMR56&amp;nameOffre=Aide%20a%20domicile</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=135&amp;url=/Offre/129-commercial-b-to-b-f-h&amp;videoId=491331138&amp;typeEntite=Offre&amp;nameCompany=Fym%20Action&amp;nameOffre=Commercial%20B%20to%20b%20(F/H)</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=122&amp;url=/Offre/122-chauffeurs-spl-f-h&amp;videoId=482599011&amp;typeEntite=Offre&amp;nameCompany=AER%20Recyclage&amp;nameOffre=Chauffeurs%20SPL%20(F/H)</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=128&amp;url=/Offre/128-techniciens-poseurs-f-h&amp;videoId=485471109&amp;typeEntite=Offre&amp;nameCompany=Pro%20Fermetures&amp;nameOffre=Techniciens%20Poseurs%20(F/H)</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=113&amp;url=/Offre/113-aide-a-domicile-f-h&amp;videoId=440702903&amp;typeEntite=Offre&amp;nameCompany=Onela&amp;nameOffre=Aide%20à%20domicile%20(F/H)</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=120&amp;url=/Offre/120-technico-commercial-f-h&amp;videoId=462942715&amp;typeEntite=Offre&amp;nameCompany=Temporis&amp;nameOffre=Technico-Commercial%20(F/H)</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=115&amp;url=/Offre/115-technicien-ramoneur-fumiste-f-h&amp;videoId=460206945&amp;typeEntite=Offre&amp;nameCompany=La%20Centrale%20des%20Ramoneurs&amp;nameOffre=Technicien%20Ramoneur%20/%20Fumiste%20(F/H)</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=109&amp;url=/Offre/109-equipier-de-plateforme-polyvalent-f-h&amp;videoId=422692890&amp;typeEntite=Offre&amp;nameCompany=AER%20Recyclage&amp;nameOffre=Equipier%20de%20plateforme%20polyvalent%20(F/H)</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=112&amp;url=/Offre/112-conseillers-technico-commerciaux-h-f&amp;videoId=438478115&amp;typeEntite=Offre&amp;nameCompany=Pro%20Fermetures&amp;nameOffre=Conseillers%20Technico-Commerciaux%20(H/F)</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=111&amp;url=/Offre/111-couvreur-etancheur-f-h&amp;videoId=432410136&amp;typeEntite=Offre&amp;nameCompany=Blandin&amp;nameOffre=Couvreur/Étancheur%20(F/H)</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=108&amp;url=/Offre/108-plombier-chauffagiste-f-h&amp;videoId=398509552&amp;typeEntite=Offre&amp;nameCompany=Blandin&amp;nameOffre=Plombier/Chauffagiste%20(F/H)</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=107&amp;url=/Offre/107-operateur-soudeur-chaudronnier-f-h&amp;videoId=397982745&amp;typeEntite=Offre&amp;nameCompany=GEIQ%20Industrie%2044&amp;nameOffre=Opérateur%20Soudeur%20/%20Chaudronnier%20(F/H)</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=101&amp;url=/Offre/101-conducteurs-routiers-f-h&amp;videoId=391023366&amp;typeEntite=Offre&amp;nameCompany=Lactalis%20Logistique%20et%20Transports&amp;nameOffre=Conducteurs%20routiers%20(F/H)</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=103&amp;url=/Offre/103-agents-de-quai-f-h&amp;videoId=391023871&amp;typeEntite=Offre&amp;nameCompany=Lactalis%20Logistique%20et%20Transports&amp;nameOffre=Agents%20de%20quai%20(F/H)</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=77&amp;url=/Offre/77-commercial-sedentaire-en-vente-directe-b-to-b-h-f&amp;videoId=343666512&amp;typeEntite=Offre&amp;nameCompany=Télémaque&amp;nameOffre=Commercial%20sédentaire%20en%20vente%20directe%20B%20to%20B%20(H/F)</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=102&amp;url=/Offre/102-preparateurs-de-commandes-f-h&amp;videoId=391023988&amp;typeEntite=Offre&amp;nameCompany=Lactalis%20Logistique%20et%20Transports&amp;nameOffre=Préparateurs%20de%20commandes%20(F/H)</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=46&amp;url=/Offre/46-conducteurs-routiers-h-f&amp;videoId=273464203&amp;typeEntite=Offre&amp;nameCompany=Groupe%20MOUSSET&amp;nameOffre=Conducteurs%20routiers%20(H/F)</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=32518&amp;url=/Entreprise/32518-cabinet-jourdan&amp;videoId=491607083&amp;typeEntite=Entreprise&amp;nameCompany=Cabinet%20JOURDAN&amp;nameOffre=</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=32507&amp;url=/Entreprise/32507-tpc-ouest&amp;videoId=489836459&amp;typeEntite=Entreprise&amp;nameCompany=TPC%20Ouest&amp;nameOffre=</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=32355&amp;url=/Entreprise/32355-hyphae&amp;videoId=478847996&amp;typeEntite=Entreprise&amp;nameCompany=HYPHAE&amp;nameOffre=</loc>
<lastmod>2021-02-04</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=21247&amp;url=/Entreprise/21247-lactalis-logistique-et-transports&amp;videoId=391023777&amp;typeEntite=Entreprise&amp;nameCompany=Lactalis%20Logistique%20et%20Transports&amp;nameOffre=</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=19800&amp;url=/Entreprise/19800-silvadec&amp;videoId=386500340&amp;typeEntite=Entreprise&amp;nameCompany=Silvadec&amp;nameOffre=</loc>
<lastmod>2021-02-04</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=19205&amp;url=/Entreprise/19205-intermarche-logistique-alimentaire-international&amp;videoId=385268706&amp;typeEntite=Entreprise&amp;nameCompany=Intermarché%20Logistique%20Alimentaire%20International&amp;nameOffre=</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Player?id=12480&amp;url=/Entreprise/12480-fym-action&amp;videoId=345898361&amp;typeEntite=Entreprise&amp;nameCompany=Fym%20Action&amp;nameOffre=</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url><url>
<loc>https://www.talentstube.com/Offre/140-aide-a-domicile-f-h</loc>
<lastmod>2021-02-10</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/133-gestionnaire-de-copropriete-f-h</loc>
<lastmod>2021-01-29</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprises</loc>
<lastmod>2021-01-18</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offres</loc>
<lastmod>2021-01-18</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/134-assistant-administratif-et-commercial-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/135-commercial-b-to-c-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/130-assistant-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/131-poseur-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/132-comptable-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/129-commerciaux-b-to-b-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/128-techniciens-poseurs-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/122-chauffeurs-spl-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/115-technicien-ramoneur-fumiste-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/109-equipier-de-plateforme-polyvalent-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/111-couvreur-etancheur-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/107-operateur-soudeur-chaudronnier-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/103-agents-de-quai-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/102-preparateurs-de-commandes-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/46-conducteurs-routiers-h-f</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/32507-tpc-ouest</loc>
<lastmod>2021-01-23</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/32355-hyphae</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/28481-onela</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/28172-pro-fermetures</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/26064-aer-recyclage</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/21247-lactalis-logistique-et-transports</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/19800-silvadec</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/19205-intermarche-logistique-alimentaire-international</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/18143-l-n-u-f-lisieux</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/17467-l-n-u-f-vallet</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/16785-nachos</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/16639-fast-point</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/16247-sasp</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/16015-la-veggisserie</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/16007-bforpu-b</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/15797-sinay</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/15559-monibrand</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/13464-jpa</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/12531-grand-ouest-etiquettes</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/12480-fym-action</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/11592-youston</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/11413-les-vergers-de-chateaubourg</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/11345-telemaque</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/9138-vital-concept</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/8639-mma-questembert</loc>
<lastmod>2021-01-23</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/7593-opticultures</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/7174-atlantem</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/7004-la-table-de-la-desirade</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/6898-le-ptit-club</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/6555-mazars</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/6363-square-habitat</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/5250-linpac-packaging-pontivy-groupe-klockner-pentaplast</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/4211-progressis-ge</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/4097-a-2-com</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/4088-venetis</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/4059-eiffage-construction-grand-ouest</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/3381-mairie-saint-hilaire-de-riez</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/2958-skiold-acemo</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/2527-groupe-mousset</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/2341-temporis</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/1899-faurecia</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/1691-groupe-syselec</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/1467-groupe-rocher-operations</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/1297-albea</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/438-bouyer-leroux</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/266-mgdis</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/157-medaviz</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/95-multiplast</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/52-talents-tube</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/46-actual</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/18-coriolis-composites</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/17-thibault-bergeron</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
</urlset>
+9 -1
View File
@@ -27,6 +27,7 @@
"jss": "latest",
"lodash": "^4.17.11",
"mongodb": "^3.1.6",
"mui-places-autocomplete": "^2.0.0",
"nedb": "^1.8.0",
"next": "^9.1.1",
"next-auth": "^1.11.0",
@@ -35,7 +36,7 @@
"next-optimized-images": "^1.4.1",
"next-redux-saga": "^4.0.2",
"next-redux-wrapper": "^3.0.0-alpha.2",
"next-seo": "^4.7.3",
"next-seo": "^4.18.0",
"next-transpile-modules": "^2.3.1",
"node-mailjet": "^3.3.1",
"nodemailer": "^4.6.8",
@@ -50,12 +51,18 @@
"react-ad-block-detect": "^1.0.1",
"react-autosuggest": "^10.0.2",
"react-dom": "^16.9.0",
"react-facebook-login": "^4.1.1",
"react-ga": "^2.5.7",
"react-google-recaptcha": "^2.0.1",
"react-html-parser": "^2.0.2",
"react-jss": "latest",
"react-moment": "^0.9.7",
"react-places-autocomplete": "^7.3.0",
"react-redux": "^7.0.3",
"react-redux-loading-bar": "^5.0.0",
"react-router-dom": "^5.2.0",
"react-select": "^3.1.1",
"react-sticky-box": "^0.9.3",
"react-swipeable-views": "^0.13.3",
"reactstrap": "^6.4.0",
"recordrtc": "^5.5.4",
@@ -69,6 +76,7 @@
"terser": "3.14",
"universal-cookie": "^3.0.4",
"validator": "^11.0.0",
"video-react": "^0.14.1",
"videojs-record": "^3.8.0",
"webrtc-adapter": "^7.2.3"
},
+1 -1
View File
@@ -33,7 +33,7 @@ const styles = theme => ({
backgroundColor: theme.palette.primary.main,
},
title: {
fontFamily: 'Dosis',
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
fontSize: '1.5em',
fontWeight: '600',
textAlign: 'center',
+1 -1
View File
@@ -22,7 +22,7 @@ const styles = theme => ({
bottom: 0,
},
title: {
fontFamily: 'Dosis',
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
fontSize: '1.5em',
fontWeight: '600',
padding: theme.spacing(3, 0),
+1 -1
View File
@@ -22,7 +22,7 @@ const styles = theme => ({
bottom: 0,
},
title: {
fontFamily: 'Dosis',
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
fontSize: '1.5em',
fontWeight: '600',
padding: theme.spacing(3, 0),
+50 -12
View File
@@ -25,8 +25,8 @@ const styles = theme => ({
bottom: 0,
},
title: {
fontFamily: 'Dosis',
fontSize: '1.5em',
fontFamily: 'Roboto',
fontSize: '1.625em',
fontWeight: '600',
padding: theme.spacing(3, 0),
},
@@ -47,6 +47,24 @@ const styles = theme => ({
color: theme.palette.secondary.main,
backgroundColor: theme.palette.primary.important,
},
iconButton:{
marginTop: "50px",
[theme.breakpoints.down('md')]: {
marginTop: "50px",
},
},
texteEtape:{
fontSize: '1em',
fontWeight: '300',
},
etape:{
fontSize: '1em',
fontWeight: '500',
color:'#1689FB',
}
})
@@ -69,7 +87,7 @@ class ConfirmAccount extends Component {
const { classes } = this.props
const { loading } = this.state
return (
<LayoutBack text="Validation" height="fixed">
<LayoutBack text="Inscription" height="fixed">
<Head>
<title key="title">Confirmation de compte</title>
<meta key="robots" name="robots" content="noindex, nofollow"></meta>
@@ -80,26 +98,45 @@ class ConfirmAccount extends Component {
)}
{!loading && (
<Fragment>
<img
alt="talents-tube"
src='/statique/images/inscription/validation-plateforme-recrutement-video.svg'
className={classes.iconButton}/>
<Typography gutterBottom align="center" className={classes.title}>
e-mail validé
Bienvenue sur Talents Tube
</Typography>
<Typography gutterBottom align="left" className={classes.text}>
Votre email a bien été validé.
<Typography gutterBottom align="center" className={classes.etape}>
Étape 1.
</Typography>
<Typography gutterBottom align="center" className={classes.texteEtape}>
Découvrez les entreprises et les offres demploi en vidéo.
</Typography>
<Typography gutterBottom align="center" className={classes.etape}>
Étape 2.
</Typography>
<Typography gutterBottom align="center" className={classes.texteEtape}>
Postulez en vidéo.
</Typography>
<Typography gutterBottom align="center" className={classes.etape}>
Étape 3.
</Typography>
<Typography gutterBottom align="center" className={classes.texteEtape}>
Gérez vos candidatures depuis votre compte Talent.
</Typography>
<Typography gutterBottom align="center" className={classes.text}>
</Typography>
<Typography gutterBottom align="left" className={classes.text}>
Vous pouvez maintenant vous connecter.
<Button
variant="contained"
className={classes.button}
classes={{ root: classes.rootButton }}
onClick={() => Router.push('/Login')}
>
Connexion
Se connecter
</Button>
</Typography>
<section className={classes.bottomContainer}>
{/* <section className={classes.bottomContainer}>
<Button
variant="contained"
className={classes.button}
@@ -108,7 +145,7 @@ class ConfirmAccount extends Component {
>
Connexion
</Button>
</section>
</section> */}
</Fragment>
)}
</div>
@@ -128,6 +165,7 @@ function mapStateToProps(state, ownProps) {
ConfirmAccount.getInitialProps = function (context) {
const { token, email } = context.query
//localStorage.setItem('loginRedirect', url)
context.store.dispatch(requestConfirmationAccountRequest({ 'confirmationToken': token, 'email': email }))
return email;
}
+946 -168
View File
File diff suppressed because it is too large Load Diff
+19 -6
View File
@@ -11,9 +11,8 @@ import CompanyRow from "../components/organisms/CompanyRow"
import { fetchCompaniesRequest } from '../actions/companies'
import { CompaniesSelector } from '../reducers/companies'
import { connect } from "react-redux";
import Head from 'next/head'
import OgHead from '../components/atoms/OgHead';
import { SocialProfileJsonLd } from 'next-seo';
const styles = theme => ({
root: {
position: 'relative',
@@ -45,7 +44,7 @@ const styles = theme => ({
},
},
title: {
fontFamily: 'Dosis',
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
fontSize: '1.5em',
fontWeight: '600',
textAlign: 'center',
@@ -63,13 +62,16 @@ const styles = theme => ({
});
class Entreprises extends React.Component {
componentDidMount() {
localStorage.setItem('loginRedirect', window.location.pathname)
console.log("Redirect"+window.location.pathname)
}
render() {
const { classes } = this.props;
const { publicRuntimeConfig } = getConfig();
const socialShareUrl = typeof window !== 'undefined' ? window.location
: publicRuntimeConfig.frontServerUrl + `/Entreprises`;
const DefaultUrl = publicRuntimeConfig.symphonyUrl + "/img/default_picture_svg"
const DefaultUrl = publicRuntimeConfig.symphonyUrl + "img/default_picture_svg"
const imgUrl = DefaultUrl ;
return (
<LayoutGrid backLink="/">
@@ -100,7 +102,18 @@ class Entreprises extends React.Component {
image={imgUrl}
seo_key="Recrutement, video"
></OgHead>
></OgHead>
<SocialProfileJsonLd
type="Talents Tube"
name="Talents Tube"
url="https://www.talentstube.com"
sameAs={[
'https://www.facebook.com/TalentsTuber',
'https://www.instagram.com/talents.tube/',
'https://www.linkedin.com/company/talentstube/',
'https://twitter.com/TalentsTuber',
]}
/>
<Typography gutterBottom component="h1"
className={classes.title}>
Les entreprises en <span className={classes.primary}>vidéo</span>
+1 -1
View File
@@ -25,7 +25,7 @@ const styles = theme => ({
},
},
title: {
fontFamily: 'Dosis',
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
fontSize: '1.5em',
fontWeight: '600',
padding: theme.spacing(3, 0),
+265
View File
@@ -0,0 +1,265 @@
import React, { Fragment } from 'react';
import PropTypes from "prop-types";
import Layout from '../components/templates/Layout';
import { TextField, Button, Typography } from '@material-ui/core';
import SwipeableViews from 'react-swipeable-views';
import AppBar from '@material-ui/core/AppBar';
import Link from '@material-ui/core/Link';
import { withStyles } from '@material-ui/core/styles';
import Loader from '../components/templates/loader'
import { connect } from "react-redux";
import Validator from "validator";
import Tabs from '@material-ui/core/Tabs';
import Tab from '@material-ui/core/Tab';
import Router from 'next/router'
import Register from '../components/organisms/Register';
// import { requestLogin, requestOauthLogin, requestLoginFailure } from "../actions/auth";
import { makeStyles } from '@material-ui/core/styles';
import { amber, green } from '@material-ui/core/colors';
import _ from "lodash"
import Snack from '../components/atoms/snack'
import SocialButtonsAuth from '../components/atoms/SocialButtonsAuth';
import jssPluginPropsSort from 'jss-plugin-props-sort';
import Head from 'next/head'
import ReCAPTCHA from "react-google-recaptcha";
import getConfig from 'next/config'
const {publicRuntimeConfig} = getConfig()
function TabContainer({ children, dir }) {
return (
<Typography component="div" dir={dir} style={{ padding: 8 * 3 }}>
{children}
</Typography>
);
}
TabContainer.propTypes = {
children: PropTypes.node.isRequired,
dir: PropTypes.string.isRequired,
};
const styles = theme => ({
container: {
display: 'flex',
flexDirection: 'column',
},
AppBar: {
position: 'fixed',
top: theme.spacing(8),
},
tab: {
'& span.MuiTab-wrapper': {
fontSize: '1.1em',
fontWeight: '600',
textTransform: 'none',
}
},
tabContainer: {
display: 'flex',
flexDirection: 'column',
height: '100%',
paddingTop: theme.spacing(4),
[theme.breakpoints.up('sm')]: {
padding: '5vw 10vw',
},
[theme.breakpoints.up('md')]: {
padding: '5vw 25vw',
},
},
textField: {
width: '100%'
},
form: {
display: 'flex',
flexDirection: 'column',
},
formText: {
padding: theme.spacing(0, 2),
paddingTop: theme.spacing(3),
fontSize: '0.9em',
fontWeight: '300',
},
formLink: {
paddingLeft: theme.spacing(1),
fontWeight: '500',
cursor: 'pointer',
},
forgetPasswordText: {
marginTop: theme.spacing(2),
},
conditionalText: {
display: 'flex',
flexDirection: 'row',
color: theme.palette.primary.conditional,
textTransform: 'uppercase',
'&:before': {
content: '""',
flex: '1 1',
borderBottom: '1px solid',
borderColor: theme.palette.primary.conditional,
marginRight: '10px',
marginTop: 'auto',
marginBottom: 'auto',
},
'&:after': {
content: '""',
flex: '1 1',
borderBottom: '1px solid',
borderColor: theme.palette.primary.conditional,
marginLeft: '10px',
marginTop: 'auto',
marginBottom: 'auto',
},
},
link: {
color: theme.palette.primary.dark,
fontWeight: 400,
fontSize: '0.9em',
},
input50: {
width: '50%',
},
button: {
textTransform: 'inherit',
marginLeft: theme.spacing(8),
marginRight: theme.spacing(8),
marginTop: theme.spacing(4),
marginBottom: theme.spacing(2),
padding: theme.spacing(1.2, 2),
borderRadius: '3px',
color: theme.palette.secondary.main,
backgroundColor: theme.palette.primary.important,
[theme.breakpoints.up('sm')]: {
margin: 'auto',
},
},
buttonImportant: {
marginTop: theme.spacing(6),
},
});
const recaptchaRef = React.createRef();
class LoginPage extends React.Component {
state = {
data: {
email: "",
password: ""
},
errors: { message: "" },
loading: false,
tabIndex: 0,
openSnack: false,
success: false,
};
UNSAFE_componentWillReceiveProps(nextProps) {
this.setState({
errors: !!!nextProps.errors ? { errors: { message: "" } } : nextProps.errors,
loading: nextProps.loading,
success: nextProps.success,
openSnack: !_.isEmpty(nextProps.errors) || nextProps.success
})
}
static getInitialProps({ query }) {
const { error, inscription } = query
let err = null;
if (!!error)
err = { message: error };
return { errors: err, openSnack: !!error, inscription };
}
handleClose = e =>
this.setState({
openSnack: false
});
componentDidMount() {
}
onChange = e =>
this.setState({
data: { ...this.state.data, [e.target.name]: e.target.value }
});
// onSubmit = e => {
// e.preventDefault();
// const errors = this.validate(this.state.data);
// recaptchaRef.current.execute();
// this.setState({ errors });
// if (Object.keys(errors).length === 0) {
// this.setState({ loading: true });
// this.props.requestLogin(this.state.data)
// }
// };
submit = data => { this.props.login(data) }
validate = data => {
const errors = {};
if (!Validator.isEmail(data.email)) errors.email = "Invalid email";
if (!data.password) errors.password = "Can't be blank";
return errors;
};
// linkedInAuth = () => {
// this.props.requestOauthLogin();
// Router.push('/auth/linkedin')
// }
// facebookAuth = () => {
// this.props.requestOauthLogin();
// Router.push('/auth/facebook')
// }
render() {
const { classes } = this.props;
const { data,success, errors, loading, openSnack } = this.state;
return (
<Layout>
<Head>
<title key="title">Inscription</title>
<meta key="robots" name="robots" content="noindex, follow"></meta>
</Head>
<div className={classes.container}>
{/* {!!errors && (
<div className="alert alert-danger">{errors && errors.message}</div>
)} */}
{loading && (
<Loader />
)}
{!loading && (
<Fragment>
<Register linkedInAuth={this.linkedInAuth} facebookAuth={this.facebookAuth} erreurs={errors.message} />
</Fragment>
)}
</div>
{/* <Snack name={success ? 'snackSuccess' : 'snackWarning'}
variant={success ? 'success' : 'warning'}
message={success ? 'Inscription validée.' : errors.message}
openSnack={openSnack}
onClose={this.handleClose} /> */}
</Layout>
);
}
}
function mapStateToProps(state, ownProps) {
return {
loading: !!state.user.loading,
errors: state.user.errors || ownProps.errors
};
}
export default withStyles(styles)(connect(mapStateToProps, { })(LoginPage));
+34 -15
View File
@@ -12,7 +12,7 @@ import Validator from "validator";
import Tabs from '@material-ui/core/Tabs';
import Tab from '@material-ui/core/Tab';
import Router from 'next/router'
import Register from '../components/organisms/Register';
// import Register from '../components/organisms/Register';
import { requestLogin, requestOauthLogin, requestLoginFailure } from "../actions/auth";
import { makeStyles } from '@material-ui/core/styles';
import { amber, green } from '@material-ui/core/colors';
@@ -23,6 +23,7 @@ import jssPluginPropsSort from 'jss-plugin-props-sort';
import Head from 'next/head'
import ReCAPTCHA from "react-google-recaptcha";
import getConfig from 'next/config'
import FacebookLogin from 'react-facebook-login';
const {publicRuntimeConfig} = getConfig()
function TabContainer({ children, dir }) {
@@ -149,7 +150,8 @@ class LoginPage extends React.Component {
errors: {},
loading: false,
tabIndex: 0,
openSnack: false
openSnack: false,
redirection:""
};
static getInitialProps({ query }) {
@@ -175,8 +177,11 @@ class LoginPage extends React.Component {
}
componentDidMount() {
console.log("redirect login");
console.log(localStorage.getItem('loginRedirect'));
this.setState({
tabIndex: (this.props.inscription) ? 1 : 0,
redirection : localStorage.getItem('loginRedirect')
})
}
@@ -226,11 +231,14 @@ class LoginPage extends React.Component {
handleClose = (event, reason) => {
this.setState({ openSnack: false });
}
responseFacebook = (response) => {
console.log(response);
}
render() {
const { classes } = this.props;
const { data, errors, loading, openSnack } = this.state;
return (
<Layout>
<Head>
@@ -246,7 +254,7 @@ class LoginPage extends React.Component {
)}
{!loading && (
<Fragment>
<AppBar className={classes.AppBar} color="default">
{/* <AppBar className={classes.AppBar} color="default">
<Tabs
value={this.state.tabIndex}
onChange={this.handleChange}
@@ -256,7 +264,7 @@ class LoginPage extends React.Component {
<Tab label="Connexion" className={classes.tab} />
<Tab label="Inscription" className={classes.tab} />
</Tabs>
</AppBar>
</AppBar> */}
<SwipeableViews
axis={'x'}
index={this.state.tabIndex}
@@ -276,7 +284,7 @@ class LoginPage extends React.Component {
onChange={this.onChange}
autoComplete="username"
variant="outlined"
error={this.state.errors && !!this.state.errors.email}
error={!!!_.isEmpty(this.state.errors)  || (this.state.errors && !!this.state.errors.email)}
className={'cypInputEmail'}
required
@@ -294,11 +302,19 @@ class LoginPage extends React.Component {
autoComplete="current-password"
variant="outlined"
className={'cypInputPassword'}
error={!!!_.isEmpty(this.state.errors)}
helperText={!!!_.isEmpty(this.state.errors) && this.state.errors.message}
required
/>
<Button type="submit" variant="contained" className={classes.button + ' ' + classes.buttonImportant + ' cypButtonConnexion'}>
Se connecter
</Button>
</Button>
{/* <FacebookLogin
appId="1800752833559014"
autoLoad={true}
fields="name,email,picture"
textButton ="Connexion Facebook"
callback={this.responseFacebook} /> */}
<ReCAPTCHA
id="component-outlined"
ref={recaptchaRef}
@@ -312,7 +328,9 @@ class LoginPage extends React.Component {
>
<Link href={"/ResetPassword"} className={classes.link}>
Mot de passe oublié ?
</Link>
</Link>
</Typography>
@@ -332,9 +350,9 @@ class LoginPage extends React.Component {
align="center"
className={classes.formText}
>Je ne possède pas de compte Talents Tube ?
<span onClick={() => this.handleChangeIndex(1)} className={classes.formLink}>
S'inscrire
</span>
<Link href="/Inscription">S'inscrire</Link>
</Typography>
</div>
@@ -348,21 +366,22 @@ class LoginPage extends React.Component {
</div>
</TabContainer>
<TabContainer dir={'x'}>
{/* <TabContainer dir={'x'}>
<Register linkedInAuth={this.linkedInAuth} facebookAuth={this.facebookAuth} />
</TabContainer>
</TabContainer> */}
</SwipeableViews>
</Fragment>
)}
</div>
<Snack variant="error" message={!!!_.isEmpty(this.state.errors) && this.state.errors.message}
openSnack={this.state.openSnack} onClose={this.handleClose} />
{/* <Snack variant="error" message={!!!_.isEmpty(this.state.errors) && this.state.errors.message}
openSnack={this.state.openSnack} onClose={this.handleClose} /> */}
</Layout>
);
}
}
function mapStateToProps(state, ownProps) {
return {
loading: !!state.user.loading,
errors: state.user.errors || ownProps.errors
+1 -1
View File
@@ -22,7 +22,7 @@ const styles = theme => ({
bottom: 0,
},
title: {
fontFamily: 'Dosis',
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
fontSize: '1.5em',
fontWeight: '600',
padding: theme.spacing(3, 0),
+34 -7
View File
@@ -4,9 +4,11 @@ import { connect } from "react-redux";
import PropTypes from 'prop-types';
import getConfig from 'next/config'
import { withStyles } from '@material-ui/core/styles';
import OgHead from '../components/atoms/OgHead'
import RootContainer from '../components/atoms/RootContainer'
import LayoutOffre from "../components/templates/LayoutOffre";
const OffreDetail = lazy(() => import('../components/organisms/OffreDetail'));
//import OffreDetail from "../components/organisms/OffreDetail";
// const OffreDetail = lazy(() => import('../components/organisms/OffreDetail'));
import OffreDetail from "../components/organisms/OffreDetail";
import { fetchJobRequest, clearAd, countAdViewRequest } from '../actions/ads'
import _ from "lodash/string";
const renderLoader = () => <p>Chargement</p>;
@@ -15,9 +17,15 @@ const styles = theme => ({
});
const { publicRuntimeConfig } = getConfig()
class Offre extends React.Component {
let descriptionSEO = ""
let titleSEO = ""
class Offre extends React.Component {
componentDidMount() {
localStorage.setItem('loginRedirect', window.location.pathname)
localStorage.setItem('adId', this.props.offre.id)
this.props.countAdViewRequest(this.props.offre.id);
}
@@ -30,11 +38,30 @@ class Offre extends React.Component {
}
render() {
const { classes, offre } = this.props;
descriptionSEO=""
offre.company && offre.company.brand_name ? descriptionSEO += offre.company.brand_name : ""
descriptionSEO += " recrute un(e) "+offre.title+", "+(offre.location && offre.location.gmap_address.formatted_address)+". Envoyez votre candidature vidéo"
titleSEO = "Offre d'emploi "+offre && offre.title && offre.title.replace(' (F/H)', '')+", "+(offre.location && offre.location.gmap_address.formatted_address)+". Envoyez votre candidature vidéo"
const socialShareUrl = typeof window !== 'undefined' ? window.location : publicRuntimeConfig.frontServerUrl + `Offre/${offre.id}-${_.kebabCase(offre.title)}`;
const DefaultUrl = "https://blog.talentstube.com/wp-content/uploads/2021/01/default_picture_company.jpg"
const imgUrl = (offre.company && offre.company.presentation_video && offre.company.presentation_video.thumbnails && offre.company.presentation_video.thumbnails[0] && offre.company.presentation_video.thumbnails[0].sizes[3]) ? offre.company.presentation_video.thumbnails[0].sizes[3].link : DefaultUrl
const imgUrlDesktop = (offre.company && offre.company.presentation_video && offre.company.presentation_video.thumbnails && offre.company.presentation_video.thumbnails[0] && offre.company.presentation_video.thumbnails[0].sizes[4]) ? offre.company.presentation_video.thumbnails[0].sizes[4].link : DefaultUrl
const imgUrlOffre = (offre && offre.video && offre.video.thumbnails && offre.video.thumbnails[0] && offre.video.thumbnails[0].sizes[3]) ? offre.video.thumbnails[0].sizes[3].link : DefaultUrl
const imgUrlDesktopOffre = (offre && offre.video && offre.video.thumbnails && offre.video.thumbnails[0] && offre.video.thumbnails[0].sizes[4]) ? offre.video.thumbnails[0].sizes[4].link : DefaultUrl
return (
<LayoutOffre backLink="/Offres" offreId={offre.id} offre={offre} isProvided={offre.is_promoted}>
<Suspense fallback={renderLoader()}><OffreDetail offre={offre}/></Suspense>
</LayoutOffre>
<RootContainer>
<OgHead seo_title={titleSEO}
seo_description={descriptionSEO}
seo_url={socialShareUrl}
image={imgUrlOffre}
></OgHead>
<LayoutOffre backLink="/Offres" offreId={offre.id} offre={offre} isProvided={offre.is_promoted}>
{/* <Suspense fallback={renderLoader()}><OffreDetail offre={offre}/></Suspense> */}
<OffreDetail offre={offre}/>
</LayoutOffre>
</RootContainer>
);
}
+19 -7
View File
@@ -11,11 +11,9 @@ import OffreRow from "../components/organisms/OffreRow"
import Typography from '@material-ui/core/Typography';
import { fetchJobsRequest, togglePromotedFilterRequest} from '../actions/ads'
import { AdsSelector } from '../reducers/ads'
import { TextField } from '@material-ui/core';
import Head from 'next/head'
import OgHead from '../components/atoms/OgHead';
import getConfig from 'next/config'
import { SocialProfileJsonLd } from 'next-seo';
const styles = theme => ({
root: {
@@ -40,7 +38,7 @@ const styles = theme => ({
},
title: {
fontFamily: 'Dosis',
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
fontSize: '1.5em',
fontWeight: '600',
textAlign: 'center',
@@ -92,7 +90,10 @@ class Offres extends React.Component {
//this.props.promotedFilter =init
return { init };
}
componentDidMount() {
localStorage.setItem('loginRedirect', window.location.pathname)
console.log("Redirect"+window.location.pathname)
}
render() {
const { classes } = this.props;
@@ -101,7 +102,7 @@ class Offres extends React.Component {
const { publicRuntimeConfig } = getConfig();
const socialShareUrl = typeof window !== 'undefined' ? window.location
: publicRuntimeConfig.frontServerUrl + `/Offres`;
const DefaultUrl = publicRuntimeConfig.symphonyUrl + "/img/default_picture_svg"
const DefaultUrl = publicRuntimeConfig.symphonyUrl + "img/default_picture_svg"
const imgUrl = DefaultUrl ;
return (
<LayoutGrid backLink="/">
@@ -111,7 +112,18 @@ class Offres extends React.Component {
image={imgUrl}
seo_key="Recrutement, video"
></OgHead>
></OgHead>
<SocialProfileJsonLd
type="Talents Tube"
name="Talents Tube"
url="https://www.talentstube.com"
sameAs={[
'https://www.facebook.com/TalentsTuber',
'https://www.instagram.com/talents.tube/',
'https://www.linkedin.com/company/talentstube/',
'https://twitter.com/TalentsTuber',
]}
/>
<Typography gutterBottom component="h1"
className={classes.title}>
+1 -1
View File
@@ -39,7 +39,7 @@ const styles = theme => ({
}
},
title: {
fontFamily: 'Dosis',
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
fontSize: '1.5em',
fontWeight: '600',
padding: theme.spacing(3, 0),
+130
View File
@@ -0,0 +1,130 @@
import React, { Component, Fragment,lazy, Suspense, useEffect } from 'react';
import { withStyles } from '@material-ui/core/styles';
import Typography from '@material-ui/core/Typography'
import LayoutBackUrl from '../components/templates/LayoutBackUrl';
import RootContainer from '../components/atoms/RootContainer'
import Router from 'next/router';
import Head from 'next/head'
// const VideoVimeo = lazy(() => import('../components/atoms/VideoVimeo'));
import VideoVimeo from '../components/atoms/VideoVimeo';
import queryString from 'query-string';
import { fetchJobRequest, clearAd, countAdViewRequest } from '../actions/ads'
const renderLoader = () => <p>Chargement</p>;
import { NextSeo } from 'next-seo';
import dynamic from 'next/dynamic'
const styles = theme => ({
player: {
background:'#1E2327',
height: '100%'
},
container: {
display: 'flex',
flexDirection: 'column',
position: 'relative',
height: '100%',
padding: '0 10px',
},
bottomContainer: {
display: 'flex',
flexDirection: 'column',
alignSelf: 'center',
justifyContent: 'center',
position: 'absolute',
bottom: 0,
},
title: {
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
fontSize: '1.5em',
fontWeight: '600',
padding: theme.spacing(3, 0),
},
text: {
fontSize: '1em',
fontWeight: '300',
padding: theme.spacing(1, 0),
whiteSpace: 'pre-line',
},
video: {
width:"100%",
height:"100%",
[theme.breakpoints.up('md')]: {
paddingBottom: '35%', /* 16:9 */
},
}
})
let params = dynamic( () => window.location.search, {ssr: false} )
class Player extends Component {
constructor(props)
{
super(props);
var today = new Date(),
date = today.getFullYear() + '-' + (today.getMonth() + 1) + '-' + today.getDate();
this.state = {
date: date
};
console.log("LOCATION SEARCH");
console.log(params);
}
render() {
const { classes, id, url, typeEntite, videoId, nameCompany, nameOffre } = this.props
console.log(id);
console.log(typeEntite);
let typeVideo= null;
let titleVideo= null;
let descriptionVideo= null;
if(typeEntite=="Offre"){
titleVideo=nameCompany+" recrute un(e)"+nameOffre
descriptionVideo=nameCompany+" recrute en vidéo un(e)"+nameOffre
}else if(typeEntite=="Entreprise"){
titleVideo="Découvrez l'entreprise "+nameCompany+" et ses offres d'emploi vidéo"
descriptionVideo="Découvrez l'entreprise "+nameCompany+" et ses offres d'emploi vidéo. Envoyez votre candidature spontanée en vidéo"
}else if(typeEntite=="Territoire"){
titleVideo="Découvrez le territoire "+nameCompany
descriptionVideo="Découvrez le territoire "+nameCompany
}
console.log(videoId);
return (
<RootContainer>
<NextSeo
title={titleVideo}
description={descriptionVideo}
noindex={true}
nofollow={true}
openGraph={{
title: titleVideo,
description: descriptionVideo,
url: "https://www.talentstube.com/Player?id="+id+"&url="+url+"&videoId="+videoId+"&typeEntite="+typeEntite+"&nameCompany="+nameCompany+"&nameOffre="+nameOffre,
type: 'video.movie',
video: {
// Multiple Open Graph actors is only available in version `7.0.2-canary.35`+ of next
releaseDate: this.state.date,
// Multiple Open Graph tags is only available in version `7.0.2-canary.35`+ of next
},
site_name: 'Talents Tube',
}}
/>
<LayoutBackUrl text="Player" url={url} >
<VideoVimeo classes={{ video: classes.video }} videoId={videoId} options="" autoplay='1' />
</LayoutBackUrl>
</RootContainer>
)
}
}
Player.getInitialProps = function (context) {
let { id, url,videoId,typeEntite, nameCompany, nameOffre } = context.query;
let {res} = context;
return {id:id, url:url, videoId:videoId, typeEntite:typeEntite, nameCompany:nameCompany, nameOffre:nameOffre};
}
export default withStyles(styles)(Player);
+204 -96
View File
@@ -36,9 +36,9 @@ const styles = theme => ({
},
rootStepperContainer: {
padding: theme.spacing(2, 12),
width: '25vw',
width: '50vw',
[theme.breakpoints.up('md')]: {
width: '7vw',
width: '25vw',
alignItems: 'center',
},
'& .MuiStep-horizontal, & .MuiStepLabel-iconContainer': {
@@ -48,11 +48,30 @@ const styles = theme => ({
},
},
'& .Mui-disabled .MuiStepConnector-line': {
borderColor: theme.palette.answer.main + '!important',
borderColor: 'd2d3d3 !important',
},
'& .Mui-disabled .MuiStepIcon-root': {
color: theme.palette.answer.main + '!important',
},
'& .MuiStepIcon-root': {
color: '#1689FB !important',
},
'& .MuiTypography-root ': {
color: '#1e2327 !important',
},
},
stepContainer:{
width:'600px',
alignItems: 'center',
textAlign: 'center',
align: 'center',
},
stepLabel:{
// width:'150px',
// display:'inline',
// alignItems: 'center',
// align: 'center',
},
rootStepperDefault: {
'& .MuiStepConnector-line': {
@@ -75,15 +94,29 @@ const styles = theme => ({
flexDirection: 'column',
padding: theme.spacing(0, 1.5),
},
titreContainer: {
backgroundColor: '#fff',
borderRadius: '5px',
maxWidth:'600px',
boxShadow: '0px 6px 16px rgba(30, 35, 39, 0.15)',
display: 'flex',
padding: '25px',
margin: '40px 0 20px 0',
alignItems: 'center',
justifyContent: 'flex-start',
},
logoContainer: {
display: 'flex',
alignItems: 'center',
width: 60,
height: 60,
width: 75,
height: 75,
backgroundColor: 'white',
boxShadow: '0px 6px 15px rgba(30, 35, 39, 0.10)',
border: 'solid 5px white',
borderRadius: '6px',
marginLeft:'30px',
},
recorderContainer: {
//display: 'flex',
@@ -107,11 +140,11 @@ const styles = theme => ({
objectFit: 'contain',
},
title: {
fontSize: '1em',
fontSize: '1.25em',
fontWeight: '500',
},
companyName: {
fontSize: '0.9em',
fontSize: '1em',
fontWeight: '300',
},
textContainer: {
@@ -147,6 +180,12 @@ const styles = theme => ({
fontSize: '1.15em',
paddingLeft: theme.spacing(2),
},
textButtonReponse: {
fontWeight: '700',
fontSize: '1.15em',
paddingLeft: theme.spacing(2),
color:'#1e2327',
},
iconHelpButton: {
fontSize: '1.5em',
fontWeight: '500',
@@ -167,6 +206,7 @@ const styles = theme => ({
},
captureButton: {
width:400,
color: theme.palette.secondary.main,
backgroundColor: theme.palette.primary.main,
padding: theme.spacing(5, 2),
@@ -177,6 +217,7 @@ const styles = theme => ({
},
},
importButton: {
width:400,
color: theme.palette.primary.main,
backgroundColor: theme.palette.secondary.main,
padding: theme.spacing(3, 2),
@@ -198,9 +239,13 @@ const styles = theme => ({
fontSize: '2.5em',
color: theme.palette.primary.main,
},
InputKeyboardArrowDownIconNoir: {
fontSize: '2.5em',
color: '#1e2327',
},
});
const steps = ["", ""]
const steps = ["Réaliser une vidéo de réponse", "Renseigner mes informations"]
const Recorder = dynamic(() => import('../components/organisms/Recorder'), {
ssr: false
@@ -214,14 +259,19 @@ class Reponse extends React.Component {
data:{},
openSnack: false,
errors: {},
openStudio : false
};
componentDidMount() {
localStorage.setItem('loginRedirect', window.location)
console.log('loginRedirect reponse');
console.log(window.location.pathname+ window.location.search);
//localStorage.setItem('loginRedirect', window.location.pathname+ window.location.search)
if(!!!localStorage.getItem('ttJWT'))
{
Router.push("/Login")
console.log("REPONSE REDIRECT LOGIN")
Router.push("/Inscription")
}
else
this.setState({loading: false})
@@ -265,11 +315,22 @@ class Reponse extends React.Component {
this.setState({ openSnack: false });
}
realise =() =>{
console.log("realise");
this.setState({ openStudio: true});
}
retour =() =>{
console.log("retour");
this.setState({ openStudio: false});
}
render() {
const { loading, activeStep } = this.state;
const { classes, menu, offre, company } = this.props;
const logoUrl = (offre.company ? publicRuntimeConfig.symphonyUrl + publicRuntimeConfig.cachedMediaUrl + offre.company.logo : '');
const logoCompanyUrl = ((company && company.logo) ? publicRuntimeConfig.symphonyUrl + publicRuntimeConfig.cachedMediaUrl + company.logo : '');
const logoUrl = (offre.company ? publicRuntimeConfig.symphonyUrl + publicRuntimeConfig.cachedMediaUrl + offre.company.logo : logoCompanyUrl);
let rootStepper = activeStep === 0 ? (
classes.rootStepperDefault
@@ -277,35 +338,34 @@ class Reponse extends React.Component {
classes.rootStepperActive
)
return (
<LayoutBack text="Candidature">
<LayoutBack text="Candidature" step={this.state.activeStep} openStudio={this.state.openStudio}>
<Head>
<title>Candidature vidéo</title>
<meta name="description" content="Talent's tube, postulez en video." />
<meta name="description" content="Talents tube, postulez en video." />
<meta key="robots" name="robots" content="noindex, nofollow"></meta>
</Head>
{/* https://codesandbox.io/s/ii0us */}
{ loading ?
<LoaderVideo /> :
<Fragment>
<section className={classes.headerContainer}>
{ !!offre.company && (
<Fragment>
<div className={classes.logoContainer}>
<Avatar className={classes.logo} classes={{ img: classes.MuiAvatarImg }} src={logoUrl} alt="companylogo"/>
</div>
<div className={classes.infoContainer}>
<Typography gutterBottom variant="h5" component="h1" className={classes.title}>
{!!offre.title? offre.title: ''}
</Typography>
<Typography gutterBottom variant="subtitle1" className={classes.companyName}>
{!!offre.company.brand_name? offre.company.brand_name: ''}
</Typography>
{/* ville */}
</div>
</Fragment>)
<div className={classes.titreContainer}>
<div className={classes.logoContainer}>
<Avatar className={classes.logo} classes={{ img: classes.MuiAvatarImg }} src={logoUrl} alt="companylogo"/>
</div>
<div className={classes.infoContainer}>
<Typography gutterBottom variant="h5" component="h1" className={classes.title}>
{!!offre.title? offre.title: ''}
</Typography>
<Typography gutterBottom variant="subtitle1" className={classes.companyName}>
{!!offre.company.brand_name? offre.company.brand_name: ''}
</Typography>
{/* ville */}
</div>
</div>
)
}
{ !!company.brand_name && (<Fragment><div className={classes.logoContainer}>
<Avatar className={classes.logo} classes={{ img: classes.MuiAvatarImg }} src={logoCompanyUrl} alt="companylogo"/>
@@ -322,86 +382,132 @@ class Reponse extends React.Component {
}
</section>
<Stepper activeStep={activeStep} classes={{ root: rootStepper }} className={classes.rootStepperContainer}>
{ loading ?
<LoaderVideo textePrincipal="Votre candidature vidéo est en cours denvoi..." texteSecondaire="Veuillez rester sur la page pendant le chargement qui peut durer plusieurs minutes."/>
:
<Fragment>
<section className={classes.headerContainer}>
<Stepper activeStep={activeStep} classes={{ root: rootStepper }} className={classes.rootStepperContainer} alternativeLabel>
{steps.map((label, index) => {
return (
<Step key={label} >
<StepLabel>{label}</StepLabel>
<Step className={classes.stepContainer} key={index} >
<StepLabel className={classes.stepLabel}>{label}</StepLabel>
</Step>
);
})}
</Stepper>
</section>
{loading ? ( <Loader />)
: activeStep === 0 ?
(
<div className={classes.root}>
<div className={classes.textContainer}>
<Typography gutterBottom align="center">
Vous allez postuler en <span>vidéo</span> !
</Typography>
<Typography gutterBottom align="center">
C'est <span>simple</span>,<span> rapide</span> et <span>plus humain</span>
</Typography>
</div>
<div className={ classes.helpContainer}>
<Button component="span" className={classes.helpButton} classes={{ root: classes.rootButton }} onClick={() => Router.push(`/Conseils`)}>
<Typography align="center" className={classes.textButton}>
Par <span className={classes.underlined}>ici</span> pour quelques conseils !
</Typography>
<KeyboardArrowRightIcon className={ classes.HelpKeyboardArrowRightIcon }/>
</Button>
</div>
{ /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ?
(
<Fragment>
<input
type="file" accept="video/*" capture="camcorder"
className={classes.input}
style={{ display: 'none' }}
id="record-button-file"
multiple
onChange={this.inputCamRecorderChange}
/>
<label htmlFor="record-button-file">
<Button component="span" className={classes.captureButton} classes={{ root: classes.rootButton }}>
<img alt="talents-tube" src='/static/images/capture.svg' className={classes.iconButton} />
<Typography align="left" className={classes.textButton}>
Je <span className={classes.underlined}>réalise</span> ma vidéo de réponse
{this.state.openStudio == false &&
<div>
{/* <div className={classes.textContainer}>
<Typography gutterBottom align="center">
Vous allez postuler en <span>vidéo</span> !
</Typography>
<KeyboardArrowRightIcon className={ classes.InputKeyboardArrowRightIcon }/>
<Typography gutterBottom align="center">
C'est <span>simple</span>,<span> rapide</span> et <span>plus humain</span>
</Typography>
</div> */}
{/* <div className={ classes.helpContainer}>
<Button component="span" className={classes.helpButton} classes={{ root: classes.rootButton }} onClick={() => Router.push(`/Conseils`)}>
<Typography align="center" className={classes.textButton}>
Par <span className={classes.underlined}>ici</span> pour quelques conseils !
</Typography>
<KeyboardArrowRightIcon className={ classes.HelpKeyboardArrowRightIcon }/>
</Button>
</label>
</Fragment>
</div> */}
</div>
}
{/* Soit on affiche le module Web RTC soit on affiche un module de camrecorder */}
{ /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ?
(
<Fragment>
<input
type="file" accept="video/*" capture="camcorder"
className={classes.input}
style={{ display: 'none' }}
id="record-button-file"
multiple
onChange={this.inputCamRecorderChange}
/>
<label htmlFor="record-button-file">
<Button component="span" className={classes.captureButton} classes={{ root: classes.rootButton }}>
<img alt="talents-tube" src='/statique/images/capture.svg' className={classes.iconButton} />
<Typography align="left" className={classes.textButton}>
Je <span className={classes.underlined}>réalise</span> ma vidéo de réponse
</Typography>
<KeyboardArrowRightIcon className={ classes.InputKeyboardArrowRightIcon }/>
</Button>
</label>
</Fragment>
):
(
<div className={classes.recorderContainer}>
<Recorder uploader={this.props.uploadMedia} />
</div>
<Fragment>
{this.state.openStudio == false ?
<Button component="span" className={classes.captureButton} classes={{ root: classes.rootButton }} onClick={this.realise}>
<img alt="talents-tube" src='/statique/images/capture.svg' className={classes.iconButton} />
<Typography align="left" className={classes.textButton}>
Je <span className={classes.underlined}>réalise</span> ma vidéo de réponse
</Typography>
<KeyboardArrowRightIcon className={ classes.InputKeyboardArrowRightIcon }/>
</Button>
:
<div className={classes.recorderContainer}>
<Button onClick={this.retour}>Retour au menu</Button>
<Recorder uploader={this.props.uploadMedia} />
</div>
}
</Fragment>
// <div className={classes.recorderContainer}>
// <Recorder uploader={this.props.uploadMedia} />
// </div>
)
}
<input
type="file"
accept="video/*"
className={classes.input+' cypButtonImportVid'}
style={{ display: 'none' }}
id="import-button-file"
onChange={this.inputFilesystemChange}
/>
<label htmlFor="import-button-file">
<Button component="span" className={classes.importButton} classes={{ root: classes.rootButton }}>
<img alt="talents-tube" src='/static/images/import.svg' className={classes.iconButton} />
<Typography align="left" className={classes.textButton}>
J'<span className={classes.underlined}>importe</span> ma vidéo de réponse
</Typography>
<KeyboardArrowDownIcon className={ classes. InputKeyboardArrowDownIcon }/>
</Button>
</label>
{this.state.openStudio == false ?
<div>
<div>
<input
type="file"
accept="video/*"
className={classes.input+' cypButtonImportVid'}
style={{ display: 'none' }}
id="import-button-file"
onChange={this.inputFilesystemChange}
/>
<label htmlFor="import-button-file">
<Button component="span" className={classes.importButton} classes={{ root: classes.rootButton }}>
<img alt="talents-tube" src='/statique/images/Import.svg' className={classes.iconButton} />
<Typography align="left" className={classes.textButton}>
J'<span className={classes.underlined}>importe</span> ma vidéo de réponse
</Typography>
<KeyboardArrowDownIcon className={ classes. InputKeyboardArrowDownIcon }/>
</Button>
</label>
</div>
<div>
<Button component="span" className={classes.importButton} classes={{ root: classes.rootButton }} onClick={() => Router.push(`/Conseils`)}>
<img alt="talents-tube" src='/statique/images/comment-faire-une-video-reponse.svg' className={classes.iconButton} />
<Typography align="left" className={classes.textButtonReponse}>
Comment faire ma vidéo de réponse
</Typography>
<KeyboardArrowRightIcon className={ classes. InputKeyboardArrowDownIconNoir }/>
</Button>
</div>
</div>
:
<div></div>
}
</div>
) :
(
@@ -427,7 +533,7 @@ Reponse.getInitialProps = function (context) {
const { adId, companyId } = context.query
const {res} = context
//TODO :really needed ?
context.store.dispatch(fetchCurrentUserRequest())
context.store.dispatch(fetchCurrentUserRequest())
if(!!adId)
context.store.dispatch(fetchJobRequest(adId))
@@ -438,7 +544,9 @@ Reponse.getInitialProps = function (context) {
}
function mapStateToProps(state) {
console.log("attente")
console.log(state.media)
return {
loading: !!state.answer.loading || !!state.media.loading,
media: state.media,
+1 -1
View File
@@ -25,7 +25,7 @@ const styles = theme => ({
},
},
title: {
fontFamily: 'Dosis',
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
fontSize: '1.5em',
fontWeight: '600',
padding: theme.spacing(3, 0),
+95 -19
View File
@@ -5,8 +5,15 @@ import Typography from '@material-ui/core/Typography'
import Button from '@material-ui/core/Button';
import Router from 'next/router';
import Head from 'next/head'
import { TextField } from '@material-ui/core';
const styles = theme => ({
root: {
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'flex-start',
margin: theme.spacing(1),
},
container: {
display: 'flex',
flexDirection: 'column',
@@ -24,33 +31,74 @@ const styles = theme => ({
width: '100%',
},
title: {
fontFamily: 'Dosis',
fontSize: '1.5em',
fontFamily: 'Roboto',
fontSize: '1.625em',
fontWeight: '600',
padding: theme.spacing(3, 0),
},
text: {
fontFamily: 'Roboto',
width:"400px",
fontSize: '1em',
fontWeight: '300',
padding: theme.spacing(1, 0),
},
textSpam:{
fontFamily: 'Roboto',
width:"400px",
fontSize: "1em",
fontWeight: "500",
padding: theme.spacing(1, 0),
},
email: {
fontWeight: '500',
},
bottomText: {
fontWeight: '500',
},
iconButton:{
marginTop: "50px",
[theme.breakpoints.down('md')]: {
marginTop: "50px",
},
},
textContainer: {
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
},
notUnderline:{
textDecoration :'none'
},
rootButton: {
'&:hover': {
backgroundColor: theme.palette.primary.important + '!important',
},
},
button: {
textTransform: 'inherit',
marginLeft: theme.spacing(8),
marginRight: theme.spacing(8),
marginTop: theme.spacing(4),
marginBottom: theme.spacing(2),
marginRight: 'auto',
marginLeft: 'auto',
padding: theme.spacing(1.2, 1),
padding: theme.spacing(1.2, 2),
borderRadius: '3px',
color: theme.palette.secondary.main,
backgroundColor: theme.palette.primary.important,
[theme.breakpoints.up('sm')]: {
margin: 'auto',
},
},
buttonImportant: {
marginTop: theme.spacing(6),
},
champEmail:{
width:'400px'
}
});
class VerifyEmail extends Component {
@@ -62,20 +110,48 @@ class VerifyEmail extends Component {
<title key="title">Vérification d'email</title>
<meta key="robots" name="robots" content="noindex, nofollow"></meta>
</Head>
<div className={classes.container}>
<Typography gutterBottom align="center" className={classes.title}>
Consultez vos e-mails
</Typography>
<Typography gutterBottom align="left" className={classes.text}>
Un e-mail a été envoyé à l'adresse <span className={classes.email}>{email}</span>
</Typography>
<Typography gutterBottom align="left" className={classes.text}>
Cliquez sur le lien dans l'e-mail que nous vous avons envoyé pour activer votre compte.
</Typography>
<Typography gutterBottom align="left" className={classes.text}>
N'oubliez pas de consulter vos spams, si vous ne trouvez pas le lien d'activation dans votre boite de réception.
</Typography>
<div className={classes.root}>
<div className={classes.textContainer}>
<img
alt="talents-tube"
src='/statique/images/inscription/inscription-plateforme-recrutement-video.svg'
className={classes.iconButton}/>
<Typography gutterBottom align="center" className={classes.title}>
Consultez vos e-mails
</Typography>
<Typography gutterBottom align="left" className={classes.text}>
Cliquez sur le lien dans lemail que nous vous avons envoyé pour activer votre compte Talent. Vous pourrez ensuite vous connecter.
</Typography>
<TextField
value={email}
className={classes.champEmail}
id="emailVerif"
name="emailVerif"
label="Email"
margin="normal"
variant="outlined"
InputProps={{
readOnly: true,
}}
/>
<Typography align="center" className={classes.textSpam}>
Vous n'avez pas reçu l'email ? Pensez à consulter vos spams
</Typography>
<a
href={`/Login`}
variant="contained"
className={classes.notUnderline}
>
<Button variant="contained" className={classes.button + ' ' + classes.buttonImportant + ' cypButtonConnexion'}>
Se connecter
</Button>
</a>
</div>
<section className={classes.bottomContainer}>
{/* <Typography gutterBottom align="center" className={classes.bottomText}>
Cliquez sur suivant pour continuer votre candidature
</Typography>
+6 -7
View File
@@ -1,5 +1,5 @@
import React from 'react';
import PropTypes from 'prop-types';
// import PropTypes from 'prop-types';
import Document, { Head, Main, NextScript } from 'next/document';
import { ServerStyleSheets } from '@material-ui/styles';
import flush from 'styled-jsx/server';
@@ -18,7 +18,7 @@ class MyDocument extends Document {
const { pageContext } = this.props;
return (
<html lang="en" dir="ltr">
<html lang="fr" dir="ltr">
<Head>
<meta name="google-site-verification" content="CQsVLRoDEzxN5TT4zoTIPy_v4JWGPQgg29OLNx8EkXw" />
<meta charSet="utf-8" />
@@ -31,11 +31,10 @@ class MyDocument extends Document {
/>
{/* PWA primary color */}
<meta name="theme-color" content={theme.palette.primary.main} />
<link href="https://fonts.googleapis.com/css?family=Dosis:600|Roboto:100,300,400,500,700,900&display=swap" rel="stylesheet">
<link rel="preload" href="/statique/css/fonts.css" rel="stylesheet">
</link>
<script type="text/javascript" src="/static/js/pwaInstaller.js" ></script>
<script async src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDYV8IJGtIoWLfXJQQvIuDQ88n2aEuRgpg&libraries=places"></script>
<script async type="text/javascript" src="/static/js/pwaInstaller.js" ></script>
{/* Global Site Tag (gtag.js) - Google Analytics */}
{/* <script
async
@@ -52,7 +51,7 @@ class MyDocument extends Document {
}}
/> */}
<script
<script defer
dangerouslySetInnerHTML={{
__html: `
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
+26 -1
View File
@@ -19,6 +19,7 @@ import NoResult from './../components/atoms/NoResult';
import dynamic from 'next/dynamic'
import OgHead from '../components/atoms/OgHead';
import getConfig from 'next/config'
import { BreadcrumbJsonLd } from 'next-seo';
// const VideoSlider = dynamic(() => import('../components/organisms/ShortVideoHooker'), {
// ssr: false
@@ -122,7 +123,7 @@ const styles = theme => ({
color: theme.palette.secondary.text,
},
title: {
fontFamily: 'Dosis',
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
fontSize: '1.5em',
fontWeight: '600',
textAlign: 'center',
@@ -172,6 +173,30 @@ class Index extends React.Component {
seo_key="Recrutement, video"
></OgHead>
<BreadcrumbJsonLd
itemListElements={[
{
position: 1,
name: 'Offres',
item: 'https://www.talentstube.com/Offres',
},
{
position: 2,
name: 'Entreprises',
item: 'https://www.talentstube.com/Offres',
},
{
position: 3,
name: 'Espace recruteur',
item: 'https://recruteur.talentstube.com/',
},
{
position: 4,
name: "Blog sur l'emploi",
item: 'https://blog.talentstube.com/',
},
]}
/>
<div className={classes.container}>
{/* <VideoSlider /> */}
+750
View File
@@ -0,0 +1,750 @@
import React from 'react';
import AppBar from '@material-ui/core/AppBar';
import Button from '@material-ui/core/Button';
import CameraIcon from '@material-ui/icons/PhotoCamera';
import Card from '@material-ui/core/Card';
import CardActions from '@material-ui/core/CardActions';
import CardContent from '@material-ui/core/CardContent';
import CardMedia from '@material-ui/core/CardMedia';
import CssBaseline from '@material-ui/core/CssBaseline';
import Grid from '@material-ui/core/Grid';
import Toolbar from '@material-ui/core/Toolbar';
import Typography from '@material-ui/core/Typography';
import {makeStyles} from '@material-ui/core/styles';
import Container from '@material-ui/core/Container';
import Link from '@material-ui/core/Link';
import VideoVimeo from '../components/atoms/VideoVimeo'
import 'video-react/dist/video-react.css';
import {Player} from 'video-react';
import Hidden from '@material-ui/core/Hidden';
import dynamic from 'next/dynamic'
import OgHead from '../components/atoms/OgHead';
import getConfig from 'next/config'
const Footer = dynamic(() => import ('../components/organisms/FooterAccueil'), {ssr: false});
function Copyright() {
return (
<Typography variant="body2" color="textSecondary" align="center">
{'Copyright © '}
<Link color="inherit" href="https://material-ui.com/">
Your Website
</Link>{' '} {new Date().getFullYear()}
{'.'}
</Typography>
);
}
const useStyles = makeStyles((theme) => ({
icon: {
marginRight: theme.spacing(2)
},
actionBtn: {
marginBottom: "0.75em",
display: "block"
},
bttn: {
color: "#fff",
background: "#FF6A6C",
border: "2px solid #FF6A6C",
padding: "15px"
},
heroSection: {
// background:
// "url('https://blog.talentstube.com/wp-content/uploads/2021/02/realisation-off
// r e-emploi-video-smartphone-modele.jpg') center center no-repeat scroll",
// backgroundSize: "cover",
padding: "5em 0 9em",
position: "relative",
color: "#fff",
[
theme
.breakpoints
.down('md')
]: {
background: "url('/statique/images/accueil/offre-emploi.jpg') center center no-repeat scroll",
backgroundSize: "cover",
height: "100%",
padding: "0"
}
},
mieuxQueTexteSection: {
paddingTop: "28em",
[
theme
.breakpoints
.down('md')
]: {
paddingTop: "0"
}
},
mieuxQueTexteTexte: {
color: "#fff",
font: "normal normal bold 1.625em/1.769em Roboto",
letterSpacing: "2",
},
bloc1Section: {
paddingLeft: "5em",
paddingRight: "5em"
},
heroSectionMobile: {
background: "url('/statique/images/accueil/offre-emploi.jpg') center top no-repeat scroll",
padding: "5em 0 9em",
position: "relative",
color: "#fff"
},
container: {
paddingRight: "15px",
paddingLeft: "15px",
marginRight: "auto",
marginLeft: "auto"
},
containerMobile: {},
colMd12: {
position: "relative",
minHeight: "1px",
paddingLeft: "4em",
paddingRight: "4em",
[
theme
.breakpoints
.down('md')
]: {
paddingLeft: "2em",
paddingRight: "2em",
}
},
welcomeMessageLogo: {
marginBottom:"80px",
textAlign: "left"
},
welcomeMessage: {
textAlign: "left"
},
welcomeMessageH1: {
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
fontSize: "50px",
fontWeight: "700",
lineHeight: "1.2em !important",
color: "#fff",
maxWidth: "600px"
},
welcomeMessageP: {
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
fontSize: "20px",
marginBottom: "0",
color: "#fff",
fontWeight: "400",
maxWidth: "600px",
marginBottom:"80px",
},
videoBackground: {
position: "absolute",
right: "0",
bottom: "0",
top: "0",
minWidth: "100%",
minHeight: "50%",
height: "50%",
width: "auto",
height: "auto",
zIndex: "-100",
// background: `url("/statique/images/recrutement-video.jpg")` ,
},
overlay: {
position: "absolute",
width: "100%",
minHeight: "100%",
background: "rgba(0, 0, 0, 0.36)",
top: "0"
},
overlayMobile: {
width: "100%",
minHeight: "100%",
top: "0"
},
heroContent: {
backgroundColor: "#1689FB",
// backgroundImage:"/statique/images/recrutement-video.jpg",
// background:"https://source.unsplash.com/random", backgroundImage:
// `url("/statique/images/recrutement-video.jpg")` ,
backgroundRepeat: 'no-repeat',
backgroundPosition: "center",
padding: theme.spacing(8, 0, 6)
},
bloc1: {
backgroundColor: "#1E2327",
// backgroundImage:"/statique/images/recrutement-video.jpg",
// background:"https://source.unsplash.com/random", backgroundImage:
// `url("/statique/images/recrutement-video.jpg")` ,
color: "#FFFFFF",
backgroundRepeat: 'no-repeat',
backgroundPosition: "center",
padding: theme.spacing(8, 0, 6),
marginTop: "60px"
},
bloc2: {
backgroundColor: "transparent",
// backgroundImage:"/statique/images/recrutement-video.jpg",
// background:"https://source.unsplash.com/random", backgroundImage:
// `url("/statique/images/recrutement-video.jpg")` ,
backgroundRepeat: 'no-repeat',
backgroundPosition: "center",
marginTop: "0px"
},
bloc3: {
backgroundColor: "transparent",
// backgroundImage:"/statique/images/recrutement-video.jpg",
// background:"https://source.unsplash.com/random", backgroundImage:
// `url("/statique/images/recrutement-video.jpg")` ,
backgroundRepeat: 'no-repeat',
backgroundPosition: "center",
marginTop: "60px"
},
bloc4: {
backgroundColor: "#FCFCFC",
// backgroundImage:"/statique/images/recrutement-video.jpg",
// background:"https://source.unsplash.com/random", backgroundImage:
// `url("/statique/images/recrutement-video.jpg")` ,
backgroundRepeat: 'no-repeat',
backgroundPosition: "center",
marginTop: "60px"
},
footerDiv: {
backgroundColor: "#1E2327",
// backgroundImage:"/statique/images/recrutement-video.jpg",
// background:"https://source.unsplash.com/random", backgroundImage:
// `url("/statique/images/recrutement-video.jpg")` ,
backgroundRepeat: 'no-repeat',
backgroundPosition: "center",
padding: theme.spacing(8, 0, 6)
},
bloc2Titre1: {
textAlign: "left",
font: "normal normal bold 2.625em/1.667em Roboto",
letterSpacing: "2",
color: "#1E2327",
opacity: "1",
lineHeight: "1em"
},
bloc2Titre2: {
textAlign: "left",
font: "normal normal bold 1.625em/1.769em Roboto",
letterSpacing: "2",
color: "#1E2327",
opacity: "1",
lineHeight: "2em"
},
bloc2Titre3: {
textAlign: "left",
font: "normal normal normal 1.25em/1.9em Roboto",
letterSpacing: "2",
color: "#1E2327",
opacity: "1",
lineHeight: "3em"
},
bloc2Paragraphe: {
textAlign: "left",
font: "normal normal normal 1em/2em Roboto",
letterSpacing: "2",
color: "#1E2327",
opacity: "1",
lineHeight: "2em",
marginBottom: '62px'
},
heroButtons: {
marginTop: theme.spacing(4)
},
recruteurButton: {
width: "182px",
height: "49px",
background: "#25D89A 0% 0% no-repeat padding-box",
border: "2px solid #25D89A",
borderRadius: "5px",
opacity: "1",
color: "#fff",
fontWeight: "700",
textTransform: "inherit"
},
talentButton: {
width: "182px",
height: "49px",
border: "2px solid #FFFFFF",
color: "#FFFFFF",
borderRadius: "5px",
opacity: "1",
textTransform: "inherit",
background: "transparent",
fontWeight: "700",
'&:hover': {
background: "#ffffff 0% 0% no-repeat padding-box",
color: "#25D89A"
}
},
cardGrid: {
paddingBottom: theme.spacing(8)
},
cardGauche: {
display: 'flex',
flexDirection: 'column',
background: "#E7F3FF 0% 0% no-repeat padding-box",
boxShadow: "0px 0px 0px rgba(30, 35, 39, 0.15)",
padding: "50px",
minHeight:"650px",
'&:hover': {
boxShadow: "0px 0px 0px rgba(30, 35, 39, 0.15)"
},
[
theme
.breakpoints
.down('md')
]: {
padding: "50px 0px",
}
},
cardDroite: {
display: 'flex',
flexDirection: 'column',
background: "#F8FBFF 0% 0% no-repeat padding-box",
boxShadow: "0px 0px 0px rgba(30, 35, 39, 0.15)",
padding: "50px ",
minHeight:"650px",
'&:hover': {
boxShadow: "0px 0px 0px rgba(30, 35, 39, 0.15)"
},
[
theme
.breakpoints
.down('md')
]: {
padding: "50px 0px",
}
},
cardDroiteGris: {
display: 'flex',
flexDirection: 'column',
background: "#FCFCFC 0% 0% no-repeat padding-box",
boxShadow: "0px 0px 0px rgba(30, 35, 39, 0.15)",
padding: "50px",
'&:hover': {
boxShadow: "0px 0px 0px rgba(30, 35, 39, 0.15)"
}
},
bloc1Droite: {
backgroundColor: "transparent",
boxShadow: "0px 0px 0px rgba(30, 35, 39, 0.15)",
'&:hover': {
boxShadow: "0px 0px 0px rgba(30, 35, 39, 0.15)"
}
},
bloc3Droite: {
backgroundColor: "transparent",
boxShadow: "0px 0px 0px rgba(30, 35, 39, 0.15)",
'&:hover': {
boxShadow: "0px 0px 0px rgba(30, 35, 39, 0.15)"
}
},
blocGris: {
backgroundColor: "transparent",
boxShadow: "0px 0px 0px rgba(30, 35, 39, 0.15)",
verticalAlign:"middle",
'&:hover': {
boxShadow: "0px 0px 0px rgba(30, 35, 39, 0.15)"
}
},
bloc1DroiteH1: {
textAlign: "left",
font: "normal normal bold 2.625em/1.667em Roboto",
letterSpacing: "2",
color: "#ffffff",
opacity: "1",
lineHeight: "1.5em"
},
bloc1DroiteParagraphe: {
textAlign: "left",
font: "normal normal normal 1em/2em Roboto",
letterSpacing: "2",
color: "#ffffff",
opacity: "1",
lineHeight: "2em",
marginBottom: '62px'
},
bloc1Gauche: {
backgroundColor: "transparent",
verticalAlign:"middle"
},
cardMedia: {
paddingTop: '500px', // 16:9
},
cardContent: {
flexGrow: 1
},
footer: {
backgroundColor: theme.palette.background.paper,
padding: theme.spacing(6)
}
}));
const {publicRuntimeConfig} = getConfig();
const cards = [1, 2];
export default function Index() {
const classes = useStyles();
const DefaultUrl = publicRuntimeConfig.symphonyUrl + "/img/default_picture_svg"
const imgUrl = DefaultUrl
return (
<React.Fragment>
<OgHead
seo_title="Espace candidat - Plateforme de recrutement en vidéo | Talents Tube"
seo_description="Talents Tube est la première plateforme réservée aux offres d'emploi vidéo, vidéo marque employeur et aux CV vidéos. Découvrez une nouvelle méthode de recrutement."
seo_url="www.talentstube.com"
image={imgUrl}
seo_key="Recrutement, video"></OgHead>
<main>
{/* Hero unit */}
<header >
<Hidden smDown>
<div className={classes.heroSection}></div>
<video autoPlay loop muted className={classes.videoBackground}>
<source
src={"/statique/video/modele-offre-emploi-originale.mp4"}
type='video/mp4'/>
</video>
<div className={classes.colMd12}>
<div className={classes.welcomeMessageLogo}>
<img src="/statique/images/talents-tube-logo.svg"/>
</div>
<div className={classes.welcomeMessage}>
<h1 className={classes.welcomeMessageH1}>Adoptez le recrutement vidéo</h1>
<p className={classes.welcomeMessageP}>Talents Tube favorise la mise en relation
de candidats et dentreprises et tout ça en vidéo !</p>
</div>
<div className={classes.heroButtons}></div>
<div className={classes.actionBtn}>
<Grid container spacing={2} justify="left">
<Grid item>
<Button variant="contained" className={classes.recruteurButton}>
Je suis recruteur
</Button>
</Grid>
<Grid item>
<Button variant="contained" className={classes.talentButton}>
Je suis talent
</Button>
</Grid>
</Grid>
{/* <button
className={classes.recruteurButton}
data-toggle="modal"
data-target="#exampleModal">JE SUIS RECRUTEUR</button>
<button
className={classes.talentButton}
data-toggle="modal"
data-target=".bd-example-modal-lg">JE SUIS TALENT</button> */}
</div>
</div>
</Hidden>
<Hidden mdUp>
<div className={classes.heroSectionMobile}>
<div className={classes.overlayMobile}>
<div className={classes.containerMobile}>
<div className={classes.colMd12}>
<div className={classes.welcomeMessageLogo}>
<img src="/statique/images/talents-tube-logo.svg"/>
</div>
<div className={classes.welcomeMessage}>
<h1 className={classes.welcomeMessageH1}>Adoptez le recrutement vidéo</h1>
<p className={classes.welcomeMessageP}>Talents Tube favorise la mise en relation
de candidats et dentreprises et tout ça en vidéo !</p>
</div>
<div className={classes.heroButtons}></div>
<div className={classes.actionBtn}>
<Grid container spacing={2} justify="left">
<Grid item>
<Button variant="contained" className={classes.recruteurButton}>
Je suis recruteur
</Button>
</Grid>
<Grid item>
<Button variant="contained" className={classes.talentButton}>
Je suis talent
</Button>
</Grid>
</Grid>
{/* <button
className={classes.recruteurButton}
data-toggle="modal"
data-target="#exampleModal">JE SUIS RECRUTEUR</button>
<button
className={classes.talentButton}
data-toggle="modal"
data-target=".bd-example-modal-lg">JE SUIS TALENT</button> */}
</div>
</div>
</div>
</div>
</div>
</Hidden>
<section className={classes.mieuxQueTexteSection}>
<div className={classes.heroContent}>
<Container maxWidth="lg">
<Typography variant="h4" align="center" className={classes.mieuxQueTexteTexte}>
« Parce que vous méritez mieux que du texte ! »
</Typography>
</Container>
</div>
</section>
</header>
<section >
<div >
<Container className={classes.cardGrid} maxWidth="xl">
{/* End hero unit */}
<Grid container spacing={0}>
<Grid item key={1} xs={24} sm={12} md={6}>
<Card className={classes.cardGauche}>
<CardContent >
<Typography gutterBottom component="h2" className={classes.bloc2Titre1}>
Je suis recruteur
</Typography>
<Typography gutterBottom component="h3" className={classes.bloc2Titre2}>
Talent introuvable ? Métier en tension ?
</Typography>
<Typography className={classes.bloc2Titre3} component="h4">
Rencontrez vos futurs collaborateurs autrement, en vidéo
</Typography>
<Typography className={classes.bloc2Paragraphe}>
<b>Publiez une offre demploi vidéo :</b><br/>
<ul>
<li>Pas besoin dune super vidéo, montrez simplement votre entreprise en donnant
la parole à vos salariés</li>
</ul>
<b>Recevez des candidatures vidéo :</b><br/>
<ul>
<li>Au-delà des compétences, découvrez les vraies personnes derrière le CV
</li>
</ul>
<ul>
<li>
Gagnez du temps dans votre présélection, rencontrez uniquement les candidats
réellement impliqués</li>
</ul>
<b>Ne vous limitez plus à des mots, osez un recrutement plus qualitatif !</b><br/>
</Typography>
<Button variant="contained" className={classes.recruteurButton}>
En savoir plus
</Button>
</CardContent>
</Card>
</Grid>
<Grid item key={2} xs={24} sm={12} md={6}>
<Card className={classes.cardDroite}>
<CardContent className={classes.cardContent}>
<Typography gutterBottom component="h2" className={classes.bloc2Titre1}>
Je suis candidat
</Typography>
<Typography gutterBottom component="h3" className={classes.bloc2Titre2}>
Marre des envois de CV sans réponse ?
</Typography>
<Typography className={classes.bloc2Titre3} component="h4">
Rencontrez votre futur employeur autrement, en vidéo :
</Typography>
<Typography className={classes.bloc2Paragraphe}>
<b>Consultez des offres demploi video :</b><br/>
<ul>
<li>Loffre est en vidéo pour mieux comprendre lentreprise, le métier,
léquipe Votre candidature est aussi en vidéo. Vous êtes à égalité !</li>
</ul>
<b>Déposez votre candidature en vidéo :</b><br/>
<ul>
<li>Tout le monde a du talent et votre personnalité est aujourdhui votre
meilleur atout
</li>
</ul>
<ul>
<li>Pas besoin dune « belle » vidéo, soyez vrai et authentique</li>
</ul>
<b>Dévoilez gratuitement qui vous êtes, au-delà des mots !</b>
</Typography>
<Button variant="contained" className={classes.recruteurButton}>
Je me lance
</Button>
</CardContent>
</Card>
</Grid>
</Grid>
</Container>
</div>
<div className={classes.bloc1}>
<Container className={classes.cardGrid} maxWidth="lg">
{/* End hero unit */}
<Grid container spacing={10}>
<Grid item key={2} xs={24} sm={12} md={6}>
<Card className={classes.bloc1Droite}>
<CardContent className={classes.bloc1Droite}>
<Typography
gutterBottom
component="h2"
color="#fff"
className={classes.bloc1DroiteH1}>
Notre mission : Remettre lhumain au cœur des recrutements
</Typography>
<Typography className={classes.bloc1DroiteParagraphe}>
Chez Talents Tube, nous pensons que la technologie ne doit pas remplacer
lhumain mais être à son service. Cest pour cette raison que nous proposons un
outil de recrutement vidéo alliant digital et humain, afin de redonner la parole
aux candidats et aux entreprises. Talents Tube est aujourdhui la SEULE
plateforme de recrutement qui permet aux entreprises de publier des offres
demploi en vidéo et de recevoir des candidatures en vidéo.
</Typography>
</CardContent>
</Card>
</Grid>
<Hidden smDown>
<Grid item key={1} xs={24} sm={12} md={6}>
<Card className={classes.bloc1Gauche}>
<CardMedia
className={classes.cardMedia}
image="/statique/images/accueil/candidature-en-video.png"></CardMedia>
</Card>
</Grid>
</Hidden>
</Grid>
</Container>
</div>
<div className={classes.bloc3}>
<Container className={classes.cardGrid} maxWidth="lg">
{/* End hero unit */}
<Grid container spacing={10}>
<Hidden smDown>
<Grid item key={1} xs={24} sm={12} md={6}>
<Card className={classes.bloc1Gauche}>
<CardMedia
className={classes.cardMedia}
image="/statique/images/accueil/equipe_talents_tube.jpg"></CardMedia>
</Card>
</Grid>
</Hidden>
<Grid item key={2} xs={24} sm={12} md={6}>
<Card className={classes.bloc3Droite}>
<CardContent className={classes.bloc1Droite}>
<Typography
gutterBottom
component="h2"
color="#fff"
className={classes.bloc2Titre1}>
Pourquoi nous ?
</Typography>
<Typography className={classes.bloc2Titre2}>
Parce que nous sommes les SEULS à savoir le faire !
</Typography>
<Typography className={classes.bloc2Paragraphe}>
Notre équipe est composée dexperts métier qui sauront vous accompagner dans
toutes vos demandes que vous soyez candidat ou recruteur. En recherche
dévolution constante, nous avons à cœur de créer une relation de proximité afin
dadapter NOTRE solution à VOS besoins et ainsi créer une expérience utilisateur
inoubliable. <br/><br/>
Composée dexperts de la fonction RH & Recrutement, nous sommes
passionnés par ce que nous faisons. Notre SEUL objectif : favoriser la rencontre
dentreprises formidables et de candidats uniques pour une performance commune.
</Typography>
</CardContent>
</Card>
</Grid>
</Grid>
</Container>
</div>
<div className={classes.bloc4}>
<Container className={classes.cardGrid} maxWidth="lg">
{/* End hero unit */}
<Grid container spacing={10}>
<Grid item key={2} xs={24} sm={12} md={6}>
<Card className={classes.blocGris}>
<CardContent >
<Typography
gutterBottom
component="h2"
color="#fff"
className={classes.bloc2Titre1}>
Ils recrutent déjà avec Talents Tube!
</Typography>
<Card className={classes.cardDroiteGris}>
<img src="/statique/images/accueil/recrutement-video-entreprises.png"/>
</Card>
</CardContent>
</Card>
</Grid>
<Grid item key={1} xs={24} sm={12} md={6}>
<Card className={classes.blocGris}>
<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/sKh0u7Mbdps"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</Card>
</Grid>
</Grid>
</Container>
</div>
{/* <div className={classes.footerDiv}>
<Container maxWidth="sm"></Container>
</div> */}
<Footer/>
</section>
</main>
</React.Fragment>
);
}
+76 -9
View File
@@ -120,7 +120,7 @@ const styles = theme => ({
color: theme.palette.secondary.text,
},
title: {
fontFamily: 'Dosis',
fontFamily: '"Roboto", "Helvetica", "Arial", "sans-serif"',
fontSize: '1.5em',
fontWeight: '600',
textAlign: 'center',
@@ -148,6 +148,8 @@ class Index extends React.Component {
suggestions: [],
valueMetier: '',
suggestionsMetier: [],
valueMetierCompetence: '',
suggestionsMetierCompetence: [],
};
}
@@ -266,10 +268,63 @@ class Index extends React.Component {
};
// METIER COMPETENCE
// Filter logic
getSuggestionsMetierCompetence = async (valueMetierCompetence) => {
const inputValue = valueMetierCompetence.trim().toLowerCase();
let response = await fetch(publicRuntimeConfig.symphonyUrl+"api/getDetailAppelation?q=" + inputValue );
// let response = await fetch("http://www.omdbapi.com/?s=" + inputValue + "&apikey=a591bb53");
let data = await response.json()
return data.competencesDeBase;
};
// Trigger suggestions
getSuggestionMetierCompetenceValue = suggestion => suggestion.libelle;
// Render Each Option
renderSuggestionMetierCompetence = suggestion => (
<span className="sugg-option">
<span className="name">
{suggestion.libelle} ({suggestion.code})
</span>
</span>
);
// OnChange event handler
onChangeMetierCompetence = (event, { newValue }) => {
this.setState({
valueMetierCompetence: newValue
});
};
// Suggestion rerender when user types
onSuggestionsMetierCompetenceFetchRequested = ({ value }) => {
this.getSuggestionsMetierCompetence(value)
.then(data => {
if (data.Error) {
this.setState({
suggestionsMetierCompetence: []
});
} else {
this.setState({
suggestionsMetierCompetence: data
});
}
})
};
// Triggered on clear
onSuggestionsMetierCompetenceClearRequested = () => {
this.setState({
suggestionsMetierCompetence: []
});
};
render() {
const { classes } = this.props;
const { value, suggestions, valueMetier, suggestionsMetier } = this.state;
const { value, suggestions, valueMetier, suggestionsMetier, valueMetierCompetence, suggestionsMetierCompetence } = this.state;
// Option props
const inputProps = {
placeholder: 'Saisir une compétence',
@@ -282,19 +337,22 @@ class Index extends React.Component {
value:valueMetier,
onChange: this.onChangeMetier
};
const inputPropsMetierCompetence = {
placeholder: 'Saisir un id appellation',
value:valueMetierCompetence,
onChange: this.onChangeMetierCompetence
};
const socialShareUrl = typeof window !== 'undefined' ? window.location
: publicRuntimeConfig.frontServerUrl ;
const DefaultUrl = publicRuntimeConfig.symphonyUrl + "/img/default_picture_svg"
const imgUrl = DefaultUrl
return (
<Layout>
<OgHead seo_title="Talents Tube - Plateforme de recrutement en vidéo"
seo_description="Talents Tube est la première plateforme réservée aux offres d'emploi vidéo, vidéo marque employeur et aux CV vidéos. Découvrez une nouvelle méthode de recrutement."
seo_url={socialShareUrl}
image={imgUrl}
seo_key="Recrutement, video"
></OgHead>
<Head>
<title key="title">Recrutement vidéo : fonctionnement Talents Tube</title>
<meta key="robots" name="robots" content="noindex, nofollow"></meta>
</Head>
<div className={classes.container}>
{/* <VideoSlider /> */}
@@ -319,6 +377,15 @@ class Index extends React.Component {
renderSuggestion={this.renderSuggestionMetier}
inputProps={inputPropsMetier}
/>
<Autosuggest
suggestions={suggestionsMetierCompetence}
onSuggestionsFetchRequested={this.onSuggestionsMetierCompetenceFetchRequested}
onSuggestionsClearRequested={this.onSuggestionsMetierCompetenceClearRequested}
getSuggestionValue={this.getSuggestionMetierCompetenceValue}
renderSuggestion={this.renderSuggestionMetierCompetence}
inputProps={inputPropsMetierCompetence}
/>
</section>
+354
View File
@@ -0,0 +1,354 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.talentstube.com/Offre/133-gestionnaire-de-copropriete-f-h</loc>
<lastmod>2021-01-29</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprises</loc>
<lastmod>2021-01-29</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offres</loc>
<lastmod>2021-01-29</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/134-assistant-administratif-et-commercial-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/135-commercial-b-to-c-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/130-assistant-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/131-poseur-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/132-comptable-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/129-commerciaux-b-to-b-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/128-techniciens-poseurs-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/122-chauffeurs-spl-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/115-technicien-ramoneur-fumiste-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/109-equipier-de-plateforme-polyvalent-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/111-couvreur-etancheur-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/107-operateur-soudeur-chaudronnier-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/103-agents-de-quai-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/102-preparateurs-de-commandes-f-h</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.talentstube.com/Offre/46-conducteurs-routiers-h-f</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/32507-tpc-ouest</loc>
<lastmod>2021-01-23</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/32355-hyphae</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/28481-onela</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/28172-pro-fermetures</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/26064-aer-recyclage</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/21247-lactalis-logistique-et-transports</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/19800-silvadec</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/19205-intermarche-logistique-alimentaire-international</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/18143-l-n-u-f-lisieux</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/17467-l-n-u-f-vallet</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/16785-nachos</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/16639-fast-point</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/16247-sasp</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/16015-la-veggisserie</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/16007-bforpu-b</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/15797-sinay</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/15559-monibrand</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/13464-jpa</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/12531-grand-ouest-etiquettes</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/12480-fym-action</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/11592-youston</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/11413-les-vergers-de-chateaubourg</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/11345-telemaque</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/9138-vital-concept</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/8639-mma-questembert</loc>
<lastmod>2021-01-23</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/7593-opticultures</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/7174-atlantem</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/7004-la-table-de-la-desirade</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/6898-le-ptit-club</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/6555-mazars</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/6363-square-habitat</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/5250-linpac-packaging-pontivy-groupe-klockner-pentaplast</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/4211-progressis-ge</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/4097-a-2-com</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/4088-venetis</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/4059-eiffage-construction-grand-ouest</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/3381-mairie-saint-hilaire-de-riez</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/2958-skiold-acemo</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/2527-groupe-mousset</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/2341-temporis</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/1899-faurecia</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/1691-groupe-syselec</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/1467-groupe-rocher-operations</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/1297-albea</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/438-bouyer-leroux</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/266-mgdis</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/157-medaviz</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/95-multiplast</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/52-talents-tube</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/46-actual</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/18-coriolis-composites</loc>
<lastmod>2021-01-23</lastmod>
<priority>0.70</priority>
</url>
<url>
<loc>https://www.talentstube.com/Entreprise/17-thibault-bergeron</loc>
<lastmod>2021-01-24</lastmod>
<priority>0.70</priority>
</url>
</urlset>
Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+36
View File
@@ -0,0 +1,36 @@
/* latin-ext */
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 300;
font-display: swap;
src: url(KFOlCnqEu92Fr1MmSU5fChc4EsA.woff2) format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 300;
font-display: swap;
src: url(KFOlCnqEu92Fr1MmSU5fBBc4.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(KFOmCnqEu92Fr1Mu7GxKOzY.woff2) format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
File diff suppressed because it is too large Load Diff
+153
View File
@@ -0,0 +1,153 @@
/*
* Core Owl Carousel CSS File
* v1.3.3
*/
/* clearfix */
.owl-carousel .owl-wrapper:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
/* display none until init */
.owl-carousel{
display: none;
position: relative;
width: 100%;
-ms-touch-action: pan-y;
}
.owl-carousel .owl-wrapper{
display: none;
position: relative;
-webkit-transform: translate3d(0px, 0px, 0px);
}
.owl-carousel .owl-wrapper-outer{
overflow: hidden;
position: relative;
width: 100%;
}
.owl-carousel .owl-wrapper-outer.autoHeight{
-webkit-transition: height 500ms ease-in-out;
-moz-transition: height 500ms ease-in-out;
-ms-transition: height 500ms ease-in-out;
-o-transition: height 500ms ease-in-out;
transition: height 500ms ease-in-out;
}
.owl-carousel .owl-item{
float: left;
}
.owl-controls .owl-page,
.owl-controls .owl-buttons div{
cursor: pointer;
}
.owl-controls {
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
/* mouse grab icon */
.grabbing {
cursor:url(../img/grabbing.png) 8 8, move;
}
/* fix */
.owl-carousel .owl-wrapper,
.owl-carousel .owl-item{
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-ms-backface-visibility: hidden;
-webkit-transform: translate3d(0,0,0);
-moz-transform: translate3d(0,0,0);
-ms-transform: translate3d(0,0,0);
}
/*
* Owl Carousel Owl Demo Theme
* v1.3.3
*/
.owl-theme .owl-controls{
margin-top: 10px;
text-align: center;
}
/* Styling Next and Prev buttons */
.owl-theme .owl-controls .owl-buttons div{
color: #FFF;
display: inline-block;
zoom: 1;
*display: inline;/*IE7 life-saver */
margin: 5px;
padding: 3px 10px;
font-size: 12px;
-webkit-border-radius: 30px;
-moz-border-radius: 30px;
border-radius: 30px;
background: #869791;
filter: Alpha(Opacity=50);/*IE7 fix*/
opacity: 0.5;
}
/* Clickable class fix problem with hover on touch devices */
/* Use it for non-touch hover action */
.owl-theme .owl-controls.clickable .owl-buttons div:hover{
filter: Alpha(Opacity=100);/*IE7 fix*/
opacity: 1;
text-decoration: none;
}
/* Styling Pagination*/
.owl-theme .owl-controls .owl-page{
display: inline-block;
zoom: 1;
*display: inline;/*IE7 life-saver */
}
.owl-theme .owl-controls .owl-page span{
display: block;
width: 12px;
height: 12px;
margin: 5px 7px;
filter: Alpha(Opacity=50);/*IE7 fix*/
opacity: 0.5;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
background: #FF5A5F;
}
.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span{
filter: Alpha(Opacity=100);/*IE7 fix*/
opacity: 1;
}
/* If PaginationNumbers is true */
.owl-theme .owl-controls .owl-page span.owl-numbers{
height: auto;
width: auto;
color: #FFF;
padding: 2px 10px;
font-size: 12px;
-webkit-border-radius: 30px;
-moz-border-radius: 30px;
border-radius: 30px;
}
.screenshot-slider .item{
margin: 3px;
}
.screenshot-slider .item img{
display: block;
width: 100%;
height: auto;
}
@@ -0,0 +1,31 @@
<svg id="Import" xmlns="http://www.w3.org/2000/svg" width="73.762" height="56.425" viewBox="0 0 73.762 56.425">
<g id="Groupe_7895" data-name="Groupe 7895" transform="translate(9.499)">
<rect id="Rectangle_316" data-name="Rectangle 316" width="42.463" height="23.869" transform="translate(0 3.769) rotate(-5.093)"/>
<rect id="Rectangle_317" data-name="Rectangle 317" width="2.656" height="2.656" transform="translate(1.401 6.158) rotate(-5.093)" fill="#fff"/>
<rect id="Rectangle_318" data-name="Rectangle 318" width="2.656" height="2.656" transform="translate(1.866 11.472) rotate(-5.093)" fill="#fff"/>
<rect id="Rectangle_319" data-name="Rectangle 319" width="2.656" height="2.656" transform="translate(2.327 16.747) rotate(-5.093)" fill="#fff"/>
<rect id="Rectangle_320" data-name="Rectangle 320" width="2.656" height="2.656" transform="translate(2.826 22.019) rotate(-5.093)" fill="#fff"/>
<rect id="Rectangle_321" data-name="Rectangle 321" width="2.656" height="2.656" transform="translate(38.67 2.848) rotate(-5.093)" fill="#fff"/>
<rect id="Rectangle_322" data-name="Rectangle 322" width="2.656" height="2.656" transform="translate(39.131 8.123) rotate(-5.093)" fill="#fff"/>
<rect id="Rectangle_323" data-name="Rectangle 323" width="2.656" height="2.656" transform="translate(39.633 13.433) rotate(-5.093)" fill="#fff"/>
<rect id="Rectangle_324" data-name="Rectangle 324" width="2.656" height="2.656" transform="translate(40.094 18.708) rotate(-5.093)" fill="#fff"/>
<path id="Tracé_278" data-name="Tracé 278" d="M229.4,202.9l6.275,3.311-5.582,4.35Z" transform="translate(-210.257 -192.71)" fill="#fff"/>
</g>
<path id="Tracé_279" data-name="Tracé 279" d="M217.367,282.859l-6.93,6.93-48.507-6.93L155,275.93l6.93-6.93h55.437Z" transform="translate(-155 -233.363)" fill="#d0e7fe"/>
<path id="Tracé_280" data-name="Tracé 280" d="M173,269v6.93h48.507l6.93-6.93Z" transform="translate(-166.07 -233.363)" fill="#b8dbfe"/>
<g id="Groupe_7897" data-name="Groupe 7897" transform="translate(28.442 19.099)">
<g id="Groupe_7896" data-name="Groupe 7896" transform="translate(3.551)">
<path id="Tracé_281" data-name="Tracé 281" d="M239.065,257.45a.488.488,0,0,1-.231-.039.939.939,0,0,1-.693-1.155,50.925,50.925,0,0,0,1.463-12.088,51.857,51.857,0,0,0-.346-6.006.969.969,0,0,1,1.925-.231,55.915,55.915,0,0,1,.346,6.237,52.807,52.807,0,0,1-1.5,12.55A.952.952,0,0,1,239.065,257.45Z" transform="translate(-238.104 -232.827)" fill="#25d89a"/>
<path id="Tracé_282" data-name="Tracé 282" d="M240.5,229.337a1.021,1.021,0,0,1-.962-.808c-.077-.462-.154-.885-.27-1.347a.944.944,0,0,1,1.848-.385c.077.462.192.924.269,1.386a.969.969,0,0,1-.77,1.116A.141.141,0,0,1,240.5,229.337Z" transform="translate(-238.804 -226.042)" fill="#25d89a"/>
</g>
<path id="Tracé_283" data-name="Tracé 283" d="M233.084,279.525l-4.042-6.237a.972.972,0,1,1,1.617-1.078l3,4.62,4.62-3a.972.972,0,0,1,1.078,1.617Z" transform="translate(-228.879 -254.171)" fill="#25d89a"/>
</g>
<path id="Tracé_284" data-name="Tracé 284" d="M316.393,300.545h-9.008a.385.385,0,1,1,0-.77h8.7l5.505-5.659a.381.381,0,1,1,.539.539Z" transform="translate(-248.483 -248.739)" fill="#25d89a"/>
<path id="Tracé_285" data-name="Tracé 285" d="M317.93,299.2h-6.545a.385.385,0,0,1,0-.77h6.237l4.2-4.312a.381.381,0,1,1,.539.539Z" transform="translate(-250.943 -248.739)" fill="#fa6362"/>
<g id="Groupe_7899" data-name="Groupe 7899" transform="translate(30.144 40.641)">
<g id="Groupe_7898" data-name="Groupe 7898" transform="translate(0 0)">
<path id="Tracé_286" data-name="Tracé 286" d="M233.3,282l2.5,3.811,5.89-3.811h-3.542l-.654.423a1.636,1.636,0,0,0,.077-.423H233.3Z" transform="translate(-233.3 -282)" fill="#21b77e"/>
</g>
</g>
<rect id="Rectangle_325" data-name="Rectangle 325" width="55.437" height="13.859" transform="translate(0 42.566)" fill="#fff"/>
</svg>

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 688 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

@@ -0,0 +1,10 @@
<svg xmlns="http://www.w3.org/2000/svg" width="61.875" height="67.637" viewBox="0 0 61.875 67.637">
<g id="capture" transform="translate(-3.819 12.637)">
<path id="Tracé_267" data-name="Tracé 267" d="M249.806,254.569H236.819A3.831,3.831,0,0,1,233,250.75v-9.931A3.831,3.831,0,0,1,236.819,237h12.986a3.831,3.831,0,0,1,3.819,3.819v9.931A3.831,3.831,0,0,1,249.806,254.569Z" transform="translate(-206.646 -214.465)" fill="#25d89a"/>
<path id="Tracé_268" data-name="Tracé 268" d="M235.875,281.75,229,288.625l-48.125-6.875L174,274.875,180.875,268h55Z" transform="translate(-170.181 -233.625)" fill="#d0e7fe"/>
<rect id="Rectangle_315" data-name="Rectangle 315" width="55" height="13.75" transform="translate(3.819 41.25)" fill="#fff"/>
<circle id="Ellipse_117" data-name="Ellipse 117" cx="6.875" cy="6.875" r="6.875" transform="translate(29.792 6.875)" fill="#25d89a"/>
<text id="_" data-name="?" transform="matrix(0.921, 0.391, -0.391, 0.921, 45.851, 8.063)" fill="#ff5a5f" font-size="11" font-family="Roboto-Black, Roboto" font-weight="800"><tspan x="-2.801" y="0">?</tspan></text>
<text id="_2" data-name="?" transform="translate(39.881 3.168) rotate(-20)" fill="#ff5a5f" font-size="16" font-family="Roboto-Black, Roboto" font-weight="800"><tspan x="-4.074" y="0">?</tspan></text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

@@ -0,0 +1,25 @@
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100">
<g id="Groupe_8166" data-name="Groupe 8166" transform="translate(-928 -199.541)">
<circle id="Ellipse_130" data-name="Ellipse 130" cx="50" cy="50" r="50" transform="translate(928 199.541)" fill="#1689fb"/>
<g id="XMLID_1840_" transform="translate(951.228 222.333)">
<g id="XMLID_1021_" transform="translate(0)">
<path id="XMLID_1068_" d="M51.417,65.633a1.045,1.045,0,0,0-.432-1.413,16.381,16.381,0,0,0-18.064,1.8l-1.688-1.688,2.756-2.756A1.045,1.045,0,0,0,32.512,60.1l-2.756,2.756-6.725-6.725a14.6,14.6,0,0,0,1.186-15.582,1.045,1.045,0,1,0-1.845.98,12.44,12.44,0,0,1-.836,13.107L17.1,50.208a2.563,2.563,0,0,0-4.219.93L.16,85.851a2.568,2.568,0,0,0,2.4,3.449,2.592,2.592,0,0,0,.893-.16L38.162,76.415a2.563,2.563,0,0,0,.93-4.219L34.407,67.51A14.289,14.289,0,0,1,50,66.065a1.045,1.045,0,0,0,1.413-.432ZM16.637,82.081,7.219,72.663l2.609-7.119L23.755,79.471Zm-5.1,1.871L5.348,77.767l1.079-2.942,8.048,8.048Zm-8.8,3.227a.474.474,0,0,1-.609-.608l2.434-6.641L9.37,84.744ZM37.743,74.111a.462.462,0,0,1-.3.343l-6.421,2.354-5.941-5.941A1.045,1.045,0,1,0,23.6,72.344L28.86,77.6l-2.942,1.079-15.3-15.3L11.7,60.44,16.956,65.7a1.044,1.044,0,1,0,1.477-1.477l-5.941-5.941,2.354-6.421a.462.462,0,0,1,.343-.3.5.5,0,0,1,.108-.012.454.454,0,0,1,.329.14L37.615,73.673a.462.462,0,0,1,.128.438Z" transform="translate(0 -35.82)" fill="#fff"/>
<path id="XMLID_1441_" d="M292.642,16.779a1.044,1.044,0,0,0,1.045-1.045,1.588,1.588,0,0,1,1.587-1.586,3.68,3.68,0,0,0,3.675-3.675,1.045,1.045,0,0,0-2.089,0,1.588,1.588,0,0,1-1.586,1.586,3.68,3.68,0,0,0-3.676,3.675A1.045,1.045,0,0,0,292.642,16.779Z" transform="translate(-261.139 -8.443)" fill="#fff"/>
<path id="XMLID_1462_" d="M381.363,109.1a3.8,3.8,0,0,0,3.8-3.8,1.709,1.709,0,0,1,1.707-1.707,1.045,1.045,0,0,0,0-2.089,3.8,3.8,0,0,0-3.8,3.8,1.709,1.709,0,0,1-1.707,1.707,1.045,1.045,0,1,0,0,2.089Z" transform="translate(-340.594 -90.91)" fill="#fff"/>
<path id="XMLID_1489_" d="M448,164.827a3.342,3.342,0,1,0,3.342-3.342A3.346,3.346,0,0,0,448,164.827Zm3.342-1.253a1.253,1.253,0,1,1-1.253,1.253A1.255,1.255,0,0,1,451.345,163.574Z" transform="translate(-401.207 -144.617)" fill="#fff"/>
<path id="XMLID_1502_" d="M286.452,112.539a3.342,3.342,0,1,0-3.342-3.342A3.346,3.346,0,0,0,286.452,112.539Zm0-4.6A1.253,1.253,0,1,1,285.2,109.2,1.255,1.255,0,0,1,286.452,107.943Z" transform="translate(-253.538 -94.797)" fill="#fff"/>
<path id="XMLID_1619_" d="M99.344,6.685A3.342,3.342,0,1,0,96,3.342,3.346,3.346,0,0,0,99.344,6.685Zm0-4.6a1.253,1.253,0,1,1-1.253,1.253A1.255,1.255,0,0,1,99.344,2.089Z" transform="translate(-85.974)" fill="#fff"/>
<path id="XMLID_1620_" d="M437.216,348.435a1.045,1.045,0,1,0-1.477,1.477l.985.985a1.045,1.045,0,1,0,1.477-1.477Z" transform="translate(-389.951 -311.766)" fill="#fff"/>
<path id="XMLID_1659_" d="M484.356,395.575a1.045,1.045,0,1,0-1.477,1.477l.985.985a1.045,1.045,0,0,0,1.477-1.477Z" transform="translate(-432.167 -353.982)" fill="#fff"/>
<path id="XMLID_1690_" d="M483.864,348.435l-.985.985a1.044,1.044,0,1,0,1.477,1.477l.985-.985a1.045,1.045,0,0,0-1.477-1.477Z" transform="translate(-432.167 -311.766)" fill="#fff"/>
<path id="XMLID_1712_" d="M436.724,395.575l-.985.985a1.045,1.045,0,0,0,1.477,1.477l.985-.985a1.045,1.045,0,1,0-1.477-1.477Z" transform="translate(-389.951 -353.982)" fill="#fff"/>
<path id="XMLID_1715_" d="M483.618,3.074a1.041,1.041,0,0,0,.739-.306l.985-.985A1.045,1.045,0,0,0,483.864.306l-.985.985a1.045,1.045,0,0,0,.739,1.783Z" transform="translate(-432.167 0)" fill="#fff"/>
<path id="XMLID_1747_" d="M436.477,50.213a1.041,1.041,0,0,0,.739-.306l.985-.985a1.045,1.045,0,1,0-1.477-1.477l-.985.985a1.045,1.045,0,0,0,.739,1.783Z" transform="translate(-389.95 -42.215)" fill="#fff"/>
<path id="XMLID_1750_" d="M484.356,47.446a1.045,1.045,0,1,0-1.477,1.477l.985.985a1.045,1.045,0,0,0,1.477-1.477Z" transform="translate(-432.167 -42.216)" fill="#fff"/>
<path id="XMLID_1751_" d="M436.723,2.768A1.045,1.045,0,0,0,438.2,1.291l-.985-.985a1.045,1.045,0,0,0-1.477,1.477Z" transform="translate(-389.95 0)" fill="#fff"/>
<path id="XMLID_1755_" d="M192.266,300.78a1.045,1.045,0,1,0,.738.306A1.052,1.052,0,0,0,192.266,300.78Z" transform="translate(-171.247 -269.363)" fill="#fff"/>
<path id="XMLID_1756_" d="M338,193.993l-.757.757a1.045,1.045,0,1,0,1.477,1.477l.757-.757A1.045,1.045,0,0,0,338,193.993Z" transform="translate(-301.745 -173.456)" fill="#fff"/>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

@@ -0,0 +1,25 @@
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100">
<g id="Groupe_8166" data-name="Groupe 8166" transform="translate(-928 -199.541)">
<circle id="Ellipse_130" data-name="Ellipse 130" cx="50" cy="50" r="50" transform="translate(928 199.541)" fill="#1689fb"/>
<g id="XMLID_1840_" transform="translate(951.228 222.333)">
<g id="XMLID_1021_" transform="translate(0)">
<path id="XMLID_1068_" d="M51.417,65.633a1.045,1.045,0,0,0-.432-1.413,16.381,16.381,0,0,0-18.064,1.8l-1.688-1.688,2.756-2.756A1.045,1.045,0,0,0,32.512,60.1l-2.756,2.756-6.725-6.725a14.6,14.6,0,0,0,1.186-15.582,1.045,1.045,0,1,0-1.845.98,12.44,12.44,0,0,1-.836,13.107L17.1,50.208a2.563,2.563,0,0,0-4.219.93L.16,85.851a2.568,2.568,0,0,0,2.4,3.449,2.592,2.592,0,0,0,.893-.16L38.162,76.415a2.563,2.563,0,0,0,.93-4.219L34.407,67.51A14.289,14.289,0,0,1,50,66.065a1.045,1.045,0,0,0,1.413-.432ZM16.637,82.081,7.219,72.663l2.609-7.119L23.755,79.471Zm-5.1,1.871L5.348,77.767l1.079-2.942,8.048,8.048Zm-8.8,3.227a.474.474,0,0,1-.609-.608l2.434-6.641L9.37,84.744ZM37.743,74.111a.462.462,0,0,1-.3.343l-6.421,2.354-5.941-5.941A1.045,1.045,0,1,0,23.6,72.344L28.86,77.6l-2.942,1.079-15.3-15.3L11.7,60.44,16.956,65.7a1.044,1.044,0,1,0,1.477-1.477l-5.941-5.941,2.354-6.421a.462.462,0,0,1,.343-.3.5.5,0,0,1,.108-.012.454.454,0,0,1,.329.14L37.615,73.673a.462.462,0,0,1,.128.438Z" transform="translate(0 -35.82)" fill="#fff"/>
<path id="XMLID_1441_" d="M292.642,16.779a1.044,1.044,0,0,0,1.045-1.045,1.588,1.588,0,0,1,1.587-1.586,3.68,3.68,0,0,0,3.675-3.675,1.045,1.045,0,0,0-2.089,0,1.588,1.588,0,0,1-1.586,1.586,3.68,3.68,0,0,0-3.676,3.675A1.045,1.045,0,0,0,292.642,16.779Z" transform="translate(-261.139 -8.443)" fill="#fff"/>
<path id="XMLID_1462_" d="M381.363,109.1a3.8,3.8,0,0,0,3.8-3.8,1.709,1.709,0,0,1,1.707-1.707,1.045,1.045,0,0,0,0-2.089,3.8,3.8,0,0,0-3.8,3.8,1.709,1.709,0,0,1-1.707,1.707,1.045,1.045,0,1,0,0,2.089Z" transform="translate(-340.594 -90.91)" fill="#fff"/>
<path id="XMLID_1489_" d="M448,164.827a3.342,3.342,0,1,0,3.342-3.342A3.346,3.346,0,0,0,448,164.827Zm3.342-1.253a1.253,1.253,0,1,1-1.253,1.253A1.255,1.255,0,0,1,451.345,163.574Z" transform="translate(-401.207 -144.617)" fill="#fff"/>
<path id="XMLID_1502_" d="M286.452,112.539a3.342,3.342,0,1,0-3.342-3.342A3.346,3.346,0,0,0,286.452,112.539Zm0-4.6A1.253,1.253,0,1,1,285.2,109.2,1.255,1.255,0,0,1,286.452,107.943Z" transform="translate(-253.538 -94.797)" fill="#fff"/>
<path id="XMLID_1619_" d="M99.344,6.685A3.342,3.342,0,1,0,96,3.342,3.346,3.346,0,0,0,99.344,6.685Zm0-4.6a1.253,1.253,0,1,1-1.253,1.253A1.255,1.255,0,0,1,99.344,2.089Z" transform="translate(-85.974)" fill="#fff"/>
<path id="XMLID_1620_" d="M437.216,348.435a1.045,1.045,0,1,0-1.477,1.477l.985.985a1.045,1.045,0,1,0,1.477-1.477Z" transform="translate(-389.951 -311.766)" fill="#fff"/>
<path id="XMLID_1659_" d="M484.356,395.575a1.045,1.045,0,1,0-1.477,1.477l.985.985a1.045,1.045,0,0,0,1.477-1.477Z" transform="translate(-432.167 -353.982)" fill="#fff"/>
<path id="XMLID_1690_" d="M483.864,348.435l-.985.985a1.044,1.044,0,1,0,1.477,1.477l.985-.985a1.045,1.045,0,0,0-1.477-1.477Z" transform="translate(-432.167 -311.766)" fill="#fff"/>
<path id="XMLID_1712_" d="M436.724,395.575l-.985.985a1.045,1.045,0,0,0,1.477,1.477l.985-.985a1.045,1.045,0,1,0-1.477-1.477Z" transform="translate(-389.951 -353.982)" fill="#fff"/>
<path id="XMLID_1715_" d="M483.618,3.074a1.041,1.041,0,0,0,.739-.306l.985-.985A1.045,1.045,0,0,0,483.864.306l-.985.985a1.045,1.045,0,0,0,.739,1.783Z" transform="translate(-432.167 0)" fill="#fff"/>
<path id="XMLID_1747_" d="M436.477,50.213a1.041,1.041,0,0,0,.739-.306l.985-.985a1.045,1.045,0,1,0-1.477-1.477l-.985.985a1.045,1.045,0,0,0,.739,1.783Z" transform="translate(-389.95 -42.215)" fill="#fff"/>
<path id="XMLID_1750_" d="M484.356,47.446a1.045,1.045,0,1,0-1.477,1.477l.985.985a1.045,1.045,0,0,0,1.477-1.477Z" transform="translate(-432.167 -42.216)" fill="#fff"/>
<path id="XMLID_1751_" d="M436.723,2.768A1.045,1.045,0,0,0,438.2,1.291l-.985-.985a1.045,1.045,0,0,0-1.477,1.477Z" transform="translate(-389.95 0)" fill="#fff"/>
<path id="XMLID_1755_" d="M192.266,300.78a1.045,1.045,0,1,0,.738.306A1.052,1.052,0,0,0,192.266,300.78Z" transform="translate(-171.247 -269.363)" fill="#fff"/>
<path id="XMLID_1756_" d="M338,193.993l-.757.757a1.045,1.045,0,1,0,1.477,1.477l.757-.757A1.045,1.045,0,0,0,338,193.993Z" transform="translate(-301.745 -173.456)" fill="#fff"/>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

@@ -0,0 +1,14 @@
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100">
<g id="Groupe_8216" data-name="Groupe 8216" transform="translate(-907 -178)">
<g id="Groupe_8166" data-name="Groupe 8166" transform="translate(-21 -21.541)">
<circle id="Ellipse_130" data-name="Ellipse 130" cx="50" cy="50" r="50" transform="translate(928 199.541)" fill="#1689fb"/>
<g id="Groupe_8190" data-name="Groupe 8190" transform="translate(950.061 230.494)">
<g id="_001-mail" data-name="001-mail" transform="translate(0 0)">
<g id="Groupe_8165" data-name="Groupe 8165">
<path id="Tracé_428" data-name="Tracé 428" d="M50.345,76H4.851A4.858,4.858,0,0,0,0,80.851v29.107a4.859,4.859,0,0,0,4.851,4.851H50.345a4.857,4.857,0,0,0,4.851-4.851V80.851A4.856,4.856,0,0,0,50.345,76Zm-.679,3.234L31.028,97.773a4.851,4.851,0,0,1-6.864,0L5.531,79.234ZM3.234,109.3V81.512l13.976,13.9Zm2.3,2.275L19.5,97.694l2.378,2.366a8.085,8.085,0,0,0,11.431,0l2.381-2.369,13.97,13.881ZM51.962,109.3,37.986,95.413l13.976-13.9Z" transform="translate(0 -76)" fill="#fff"/>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

@@ -0,0 +1,10 @@
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100">
<g id="Groupe_8222" data-name="Groupe 8222" transform="translate(-905 -178)">
<g id="Groupe_8166" data-name="Groupe 8166" transform="translate(-23 -21.541)">
<circle id="Ellipse_130" data-name="Ellipse 130" cx="50" cy="50" r="50" transform="translate(928 199.541)" fill="#1689fb"/>
<g id="_001-like" data-name="001-like" transform="translate(948.325 227.541)">
<path id="Tracé_429" data-name="Tracé 429" d="M52.8,33.254a6.076,6.076,0,0,0,1.422-4.061,6.239,6.239,0,0,0-1.33-3.519,5.467,5.467,0,0,0-1.3-6.291C49.963,17.9,47.2,17.235,43.376,17.42a32.1,32.1,0,0,0-5.033.644h-.01c-.511.092-1.054.2-1.606.327-.041-.655.072-2.281,1.279-5.943,1.432-4.357,1.35-7.692-.266-9.922A6.5,6.5,0,0,0,32.533,0a2.569,2.569,0,0,0-1.974.9c-1.135,1.32-1,3.754-.859,4.879-1.35,3.621-5.135,12.5-8.336,14.965a1.1,1.1,0,0,0-.164.143,10.988,10.988,0,0,0-2,3.007,4.221,4.221,0,0,0-2.025-.511H10.93a4.258,4.258,0,0,0-4.255,4.255V44.26a4.258,4.258,0,0,0,4.255,4.255h6.24a4.246,4.246,0,0,0,2.455-.777l2.4.286a102.986,102.986,0,0,0,13.635.747c1.217.092,2.363.143,3.427.143a22.95,22.95,0,0,0,4.756-.43c3.13-.665,5.268-1.995,6.352-3.948a6.261,6.261,0,0,0,.7-3.918,6.524,6.524,0,0,0,2.322-5.309A6.91,6.91,0,0,0,52.8,33.254ZM10.93,45.753A1.5,1.5,0,0,1,9.437,44.26V27.628a1.5,1.5,0,0,1,1.493-1.493h6.24a1.5,1.5,0,0,1,1.493,1.493V44.25a1.5,1.5,0,0,1-1.493,1.493H10.93Zm39.248-13.7a1.375,1.375,0,0,0-.184,1.667,4.256,4.256,0,0,1,.471,1.708,4.093,4.093,0,0,1-1.923,3.539,1.394,1.394,0,0,0-.471,1.575,3.612,3.612,0,0,1-.276,2.639c-.685,1.227-2.209,2.107-4.521,2.6a26.947,26.947,0,0,1-7.457.225h-.143a100.965,100.965,0,0,1-13.3-.726h-.01l-1.033-.123a4.334,4.334,0,0,0,.092-.9V27.628a4.327,4.327,0,0,0-.194-1.268,8.549,8.549,0,0,1,1.9-3.508C27.726,19.21,32.216,6.925,32.41,6.393a1.3,1.3,0,0,0,.061-.685A6.392,6.392,0,0,1,32.6,2.741a3.67,3.67,0,0,1,2.885,1.381c1.043,1.442,1,4.02-.123,7.436-1.718,5.206-1.862,7.948-.5,9.155a2.229,2.229,0,0,0,2.23.4c.624-.143,1.217-.266,1.78-.358l.133-.031c3.14-.685,8.766-1.1,10.72.675a2.943,2.943,0,0,1,.348,3.733,1.368,1.368,0,0,0,.245,1.78A3.875,3.875,0,0,1,51.456,29.3,3.8,3.8,0,0,1,50.178,32.057Z" transform="translate(-1 -4)" fill="#fff"/>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

@@ -0,0 +1,31 @@
<svg xmlns="http://www.w3.org/2000/svg" width="207.525" height="43.208" viewBox="0 0 207.525 43.208">
<g id="Logo" transform="translate(-63.142 -208.083)">
<g id="Groupe_7907" data-name="Groupe 7907" transform="translate(63.142 217.603)" style="isolation: isolate">
<g id="Groupe_7904" data-name="Groupe 7904" transform="translate(0 1.508)" style="isolation: isolate">
<path id="Tracé_369" data-name="Tracé 369" d="M65.046,260.631v-7.353h-.529a1.375,1.375,0,0,1,0-2.751h.529v-2.38a1.6,1.6,0,0,1,3.2,0v2.38h2.513a1.376,1.376,0,1,1,0,2.751H68.247v6.85a1.524,1.524,0,0,0,1.719,1.746,7.557,7.557,0,0,0,.793-.079,1.349,1.349,0,0,1,1.349,1.323,1.377,1.377,0,0,1-.846,1.243,6.365,6.365,0,0,1-2.2.37C66.713,264.73,65.046,263.7,65.046,260.631Z" transform="translate(-63.142 -246.56)" fill="#fff"/>
</g>
<g id="Groupe_7905" data-name="Groupe 7905" transform="translate(11.73 5.29)" style="isolation: isolate">
<path id="Tracé_370" data-name="Tracé 370" d="M104.07,269.887v-.053c0-3.015,2.354-4.5,5.766-4.5a11.663,11.663,0,0,1,3.756.582v-.344c0-1.983-1.217-3.041-3.465-3.041a8.3,8.3,0,0,0-3.095.555,1.792,1.792,0,0,1-.5.08,1.332,1.332,0,0,1-1.349-1.322,1.4,1.4,0,0,1,.873-1.27,11.967,11.967,0,0,1,4.5-.82,6.258,6.258,0,0,1,4.629,1.56,5.8,5.8,0,0,1,1.507,4.311V272.5a1.524,1.524,0,0,1-1.561,1.534,1.446,1.446,0,0,1-1.56-1.349v-.529a5.676,5.676,0,0,1-4.549,2.036C106.4,274.2,104.07,272.69,104.07,269.887Zm9.575-1.005v-.952a8.875,8.875,0,0,0-3.174-.555c-2.063,0-3.28.873-3.28,2.327v.053c0,1.349,1.19,2.116,2.724,2.116C112.031,271.87,113.645,270.654,113.645,268.882Z" transform="translate(-104.07 -259.757)" fill="#fff"/>
</g>
<g id="Groupe_7906" data-name="Groupe 7906" transform="translate(28.512)" style="isolation: isolate">
<path id="Tracé_371" data-name="Tracé 371" d="M162.626,242.886a1.575,1.575,0,0,1,1.587-1.587,1.6,1.6,0,0,1,1.613,1.587v16.4a1.6,1.6,0,0,1-3.2,0Z" transform="translate(-162.626 -241.299)" fill="#fff"/>
<path id="Tracé_372" data-name="Tracé 372" d="M192.864,273.96a6.968,6.968,0,0,1-7.168-7.247v-.053c0-3.994,2.83-7.273,6.824-7.273a6.606,6.606,0,0,1,6.638,6.877,1.5,1.5,0,0,1-1.507,1.534H188.9a3.9,3.9,0,0,0,4.02,3.544,5.019,5.019,0,0,0,3.306-1.217,1.192,1.192,0,0,1,.82-.291,1.259,1.259,0,0,1,1.269,1.3,1.4,1.4,0,0,1-.423.979A7.171,7.171,0,0,1,192.864,273.96Zm3.174-8.279c-.212-2.063-1.428-3.676-3.544-3.676-1.957,0-3.333,1.507-3.624,3.676Z" transform="translate(-179.084 -254.203)" fill="#fff"/>
<path id="Tracé_373" data-name="Tracé 373" d="M244.11,261.133a1.581,1.581,0,0,1,1.587-1.613,1.6,1.6,0,0,1,1.614,1.613v.688a5.062,5.062,0,0,1,4.364-2.434c3.147,0,4.972,2.116,4.972,5.343v7.458a1.559,1.559,0,0,1-1.587,1.587,1.581,1.581,0,0,1-1.613-1.587v-6.48c0-2.169-1.084-3.412-2.989-3.412-1.851,0-3.147,1.3-3.147,3.465v6.427a1.6,1.6,0,0,1-3.2,0Z" transform="translate(-220.757 -254.203)" fill="#fff"/>
<path id="Tracé_374" data-name="Tracé 374" d="M298.892,260.631v-7.353h-.529a1.375,1.375,0,0,1,0-2.751h.529v-2.38a1.6,1.6,0,0,1,3.2,0v2.38h2.513a1.376,1.376,0,1,1,0,2.751h-2.513v6.85a1.524,1.524,0,0,0,1.719,1.746,7.566,7.566,0,0,0,.794-.079,1.349,1.349,0,0,1,1.349,1.323,1.377,1.377,0,0,1-.846,1.243,6.362,6.362,0,0,1-2.2.37C300.558,264.73,298.892,263.7,298.892,260.631Z" transform="translate(-258.48 -245.052)" fill="#fff"/>
<path id="Tracé_375" data-name="Tracé 375" d="M335.893,272.373a1.226,1.226,0,0,1-.608-1.111,1.281,1.281,0,0,1,1.3-1.3,1.4,1.4,0,0,1,.688.185,7.372,7.372,0,0,0,4.02,1.349c1.375,0,2.169-.582,2.169-1.508v-.053c0-1.084-1.481-1.454-3.121-1.957-2.063-.582-4.364-1.428-4.364-4.1v-.053c0-2.645,2.2-4.258,4.972-4.258a9.6,9.6,0,0,1,4.39,1.137,1.356,1.356,0,0,1,.767,1.217,1.287,1.287,0,0,1-1.322,1.3,1.256,1.256,0,0,1-.635-.159,7.615,7.615,0,0,0-3.28-.952c-1.243,0-1.957.582-1.957,1.375v.053c0,1.031,1.508,1.455,3.147,1.984,2.037.634,4.337,1.56,4.337,4.073v.053c0,2.936-2.274,4.39-5.184,4.39A9.544,9.544,0,0,1,335.893,272.373Z" transform="translate(-285.802 -254.335)" fill="#fff"/>
<path id="Tracé_376" data-name="Tracé 376" d="M410.736,260.631v-7.353h-.529a1.375,1.375,0,1,1,0-2.751h.529v-2.38a1.6,1.6,0,0,1,3.2,0v2.38h2.513a1.376,1.376,0,1,1,0,2.751h-2.513v6.85a1.524,1.524,0,0,0,1.719,1.746,7.578,7.578,0,0,0,.794-.079,1.349,1.349,0,0,1,1.349,1.323,1.377,1.377,0,0,1-.846,1.243,6.364,6.364,0,0,1-2.2.37C412.4,264.73,410.736,263.7,410.736,260.631Z" transform="translate(-338.27 -245.052)" fill="#fff"/>
<path id="Tracé_377" data-name="Tracé 377" d="M463.107,272.518a1.613,1.613,0,0,1-3.227,0V271.8a5.026,5.026,0,0,1-4.364,2.46c-3.147,0-4.972-2.116-4.972-5.369v-7.432a1.6,1.6,0,1,1,3.2,0v6.48c0,2.169,1.085,3.385,2.989,3.385,1.851,0,3.147-1.27,3.147-3.438v-6.427a1.6,1.6,0,0,1,1.613-1.613,1.62,1.62,0,0,1,1.613,1.613Z" transform="translate(-368.028 -254.533)" fill="#fff"/>
<path id="Tracé_378" data-name="Tracé 378" d="M508.312,242.886A1.559,1.559,0,0,1,509.9,241.3a1.581,1.581,0,0,1,1.613,1.587V249.1a5.59,5.59,0,0,1,4.761-2.619c3.28,0,6.48,2.592,6.48,7.247v.053c0,4.628-3.174,7.247-6.48,7.247a5.7,5.7,0,0,1-4.761-2.46v.714a1.6,1.6,0,0,1-3.2,0Zm11.188,10.9v-.053c0-2.7-1.825-4.47-3.994-4.47a4.211,4.211,0,0,0-4.073,4.47v.053a4.211,4.211,0,0,0,4.073,4.47C517.7,258.253,519.5,256.534,519.5,253.783Z" transform="translate(-409.24 -241.299)" fill="#fff"/>
<path id="Tracé_379" data-name="Tracé 379" d="M574.724,273.96a6.968,6.968,0,0,1-7.167-7.247v-.053c0-3.994,2.83-7.273,6.824-7.273a6.606,6.606,0,0,1,6.638,6.877,1.5,1.5,0,0,1-1.508,1.534h-8.754a3.9,3.9,0,0,0,4.02,3.544,5.02,5.02,0,0,0,3.306-1.217,1.191,1.191,0,0,1,.819-.291,1.259,1.259,0,0,1,1.27,1.3,1.4,1.4,0,0,1-.423.979A7.171,7.171,0,0,1,574.724,273.96Zm3.174-8.279c-.212-2.063-1.428-3.676-3.544-3.676-1.957,0-3.333,1.507-3.623,3.676Z" transform="translate(-451.506 -254.203)" fill="#fff"/>
</g>
</g>
<g id="Groupe_7908" data-name="Groupe 7908" transform="translate(234.216 208.083)">
<circle id="Ellipse_2" data-name="Ellipse 2" cx="5.337" cy="5.337" r="5.337" transform="translate(15.103 23.449)" fill="#fff"/>
<circle id="Ellipse_3" data-name="Ellipse 3" cx="5.337" cy="5.337" r="5.337" transform="translate(15.103 9.198)" fill="#fff"/>
<circle id="Ellipse_4" data-name="Ellipse 4" cx="6.416" cy="6.416" r="6.416" transform="translate(0 15.217)" fill="#fff"/>
<circle id="Ellipse_5" data-name="Ellipse 5" cx="6.416" cy="6.416" r="6.416" fill="#fff"/>
<circle id="Ellipse_6" data-name="Ellipse 6" cx="6.416" cy="6.416" r="6.416" transform="translate(0 30.376)" fill="#fff"/>
<circle id="Ellipse_7" data-name="Ellipse 7" cx="4.429" cy="4.429" r="4.429" transform="translate(27.594 17.204)" fill="#fff"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

@@ -0,0 +1,39 @@
<svg id="web-rtc-active" xmlns="http://www.w3.org/2000/svg" width="550" height="310" viewBox="0 0 550 310">
<g id="web-rtc-record">
<rect id="captures__2020-12-08_à_14.00.50" data-name="captures_ 2020-12-08 à 14.00.50" width="550" height="310" fill="#4b4f52"/>
<g id="Groupe_8235" data-name="Groupe 8235" transform="translate(-121 -1)">
<g id="Groupe_8239" data-name="Groupe 8239" transform="translate(-226 7)">
<g id="Groupe_8236" data-name="Groupe 8236" transform="translate(-20 20)">
<circle id="Ellipse_146" data-name="Ellipse 146" cx="14" cy="14" r="14" transform="translate(407 48)" fill="#25d89a"/>
<text id="_1" data-name="1" transform="translate(421 67)" fill="#fff" font-size="15" font-family="Roboto-Bold, Roboto" font-weight="700"><tspan x="-4.303" y="0">1</tspan></text>
</g>
<text id="Autoriser_la_caméra_et_le_micro" data-name="Autoriser la caméra et le micro" transform="translate(427 88)" fill="#fff" font-size="14" font-family="Roboto-Bold, Roboto" font-weight="700"><tspan x="0" y="0">Autoriser la caméra et le micro</tspan></text>
<text id="Choisir_votre_meilleure_prise" data-name="Choisir votre meilleure prise" transform="translate(427 204)" fill="#fff" font-size="14" font-family="Roboto-Bold, Roboto" font-weight="700"><tspan x="0" y="0">Choisir votre meilleure prise</tspan></text>
<text id="Démarrer_l_enregistrement" data-name="Démarrer lenregistrement" transform="translate(427 146)" fill="#fff" font-size="14" font-family="Roboto-Bold, Roboto" font-weight="700"><tspan x="0" y="0">Démarrer lenregistrement</tspan></text>
<g id="Groupe_8237" data-name="Groupe 8237" transform="translate(-20 78)">
<circle id="Ellipse_146-2" data-name="Ellipse 146" cx="14" cy="14" r="14" transform="translate(407 48)" fill="#25d89a"/>
<text id="_2" data-name="2" transform="translate(421 67)" fill="#fff" font-size="15" font-family="Roboto-Bold, Roboto" font-weight="700"><tspan x="-4.303" y="0">2</tspan></text>
</g>
<g id="Groupe_8238" data-name="Groupe 8238" transform="translate(-20 136)">
<circle id="Ellipse_146-3" data-name="Ellipse 146" cx="14" cy="14" r="14" transform="translate(407 48)" fill="#25d89a"/>
<text id="_3" data-name="3" transform="translate(421 67)" fill="#fff" font-size="15" font-family="Roboto-Bold, Roboto" font-weight="700"><tspan x="-4.303" y="0">3</tspan></text>
</g>
</g>
<g id="Groupe_8240" data-name="Groupe 8240" transform="translate(-36)">
<rect id="Rectangle_442" data-name="Rectangle 442" width="187" height="187" rx="9" transform="translate(480 53)" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="3" stroke-dasharray="9" opacity="0.593"/>
<circle id="Ellipse_145" data-name="Ellipse 145" cx="7" cy="7" r="7" transform="translate(642 65)" fill="#fd6161"/>
<g id="_001-woman" data-name="001-woman" transform="translate(449.002 56.984)">
<path id="Tracé_448" data-name="Tracé 448" d="M175.073,136.325v12.8a2.607,2.607,0,0,1-2.608,2.608H77.285a2.607,2.607,0,0,1-2.608-2.608v-12.8a24.317,24.317,0,0,1,14.264-22.143c-3.433-2.731,1.856-10.366-1.95-18.264-5.3-10.984-3.064-14.173,3.69-24.316,3.67-5.509,3.137-13.027,3.137-19.644l6.381-7.925c0-18-2.164-27.367,15.839-27.367L134.023,17.9c18,0,21.388-.527,21.388,17.476,0,14.957-.157,17.695,1.646,23.643,2.544,8.41-4.236,15.545-1.646,24.1,4.072,13.454,4.5,10.7-6.6,19.537l11.994,11.525A24.317,24.317,0,0,1,175.073,136.325Z" transform="translate(-0.049 16.831)" fill="#ffdfba"/>
<path id="Tracé_449" data-name="Tracé 449" d="M178.4,363.976v12.8a2.608,2.608,0,0,1-2.608,2.608H80.609A2.608,2.608,0,0,1,78,376.773v-12.8a24.308,24.308,0,0,1,24.307-24.307,13.489,13.489,0,0,0,5.6-1.209l.081.176,18.613,14.41a2.608,2.608,0,0,0,3.193,0l18.613-14.41.081-.176a13.489,13.489,0,0,0,5.6,1.209A24.308,24.308,0,0,1,178.4,363.976Z" transform="translate(-3.373 -210.82)" fill="#44a0fb"/>
<path id="Tracé_450" data-name="Tracé 450" d="M195.073,122.56a2.609,2.609,0,0,1,2.468,2.6v15.609a32.27,32.27,0,1,1-64.54,0V125.39a2.6,2.6,0,0,1,2.831-2.6,67.467,67.467,0,0,0,43.98-11.245A2.6,2.6,0,0,1,183.773,113C185.382,118.932,189.77,122.258,195.073,122.56Z" transform="translate(-40.445 -57.57)" fill="#ffebd2"/>
<path id="Tracé_451" data-name="Tracé 451" d="M163.653,111.4l-2.888,2.3a24.246,24.246,0,0,0-10.043-2.164,13.485,13.485,0,0,1-13.5-13.475V95.833l-.049-.121A32.274,32.274,0,0,0,157.1,65.887V50.278a2.609,2.609,0,0,0-2.468-2.6c-5.27-.3-9.681-3.59-11.3-9.558a2.6,2.6,0,0,0-3.961-1.455,67.47,67.47,0,0,1-43.98,11.245,2.6,2.6,0,0,0-2.831,2.6V65.887a32.274,32.274,0,0,0,19.933,29.825l-.049.121v2.226a13.485,13.485,0,0,1-13.5,13.475A24.246,24.246,0,0,0,88.9,113.7l-2.888-2.3a34.486,34.486,0,0,1-7.223-46.088A33.526,33.526,0,0,0,84.412,46.72V32.6A32.6,32.6,0,0,1,117.008,0h15.646a32.6,32.6,0,0,1,32.6,32.6V46.72a33.545,33.545,0,0,0,5.626,18.593A34.486,34.486,0,0,1,163.653,111.4Z" transform="translate(-0.005 17.315)" fill="#42434d"/>
<path id="Tracé_452" data-name="Tracé 452" d="M218.381,299.1a32.358,32.358,0,0,1-25.51,0,20.2,20.2,0,0,0,.368-5.352l.049-.121a32.336,32.336,0,0,0,24.675,0l.049.121A20.194,20.194,0,0,0,218.381,299.1Z" transform="translate(-80.8 -180.603)" fill="#ffd6a6"/>
<path id="Tracé_453" data-name="Tracé 453" d="M147.376,3.508a3.4,3.4,0,0,1-1.834,6.418q-1.537-.146-3.113-.147H126.784a32.6,32.6,0,0,0-32.6,32.6v3.966c0,2.342-1.63,2.266-1.63,4.163,0,17.218.07,16.128-.183,16.871-2.557,7.523-5.628,8.611-8.119,16.843A34.457,34.457,0,0,0,82.968,97.8a3.4,3.4,0,0,1-6.545,1.6,34.472,34.472,0,0,1,2.36-34.086A33.526,33.526,0,0,0,84.409,46.72V32.6A32.6,32.6,0,0,1,117,0h15.646a32.458,32.458,0,0,1,14.726,3.508Z" transform="translate(-0.002 17.315)" fill="#4d4e59"/>
<path id="Tracé_454" data-name="Tracé 454" d="M159.085,186.545c4.87,3.26,1.158,10.8-4.371,8.859A32.065,32.065,0,0,1,133,164.927V149.545a2.605,2.605,0,0,1,2.833-2.6c1.249.113,2.621.2,4.1.248a4.968,4.968,0,0,1,4.8,4.974v7.543a32.156,32.156,0,0,0,14.349,26.833Z" transform="translate(-40.445 -81.725)" fill="#fff3e4"/>
<path id="Tracé_455" data-name="Tracé 455" d="M113.365,342.8a2.074,2.074,0,0,1-1.227,3.716A24.3,24.3,0,0,0,87.78,370.821v8.56H80.609A2.608,2.608,0,0,1,78,376.773v-12.8a24.308,24.308,0,0,1,24.307-24.307,13.489,13.489,0,0,0,5.6-1.209l.081.176Z" transform="translate(-3.373 -210.82)" fill="#8ac4fd"/>
<path id="Tracé_456" data-name="Tracé 456" d="M275.835,342.8a2.074,2.074,0,0,0,1.227,3.716,24.3,24.3,0,0,1,24.359,24.307v8.56h7.171a2.608,2.608,0,0,0,2.608-2.608v-12.8a24.308,24.308,0,0,0-24.307-24.307,13.49,13.49,0,0,1-5.6-1.209l-.081.176Z" transform="translate(-136.176 -210.82)" fill="#1689fb"/>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.7 KiB

+1 -20
View File
@@ -5,9 +5,6 @@ import {
UPLOAD_MEDIA_PRES_REQUEST,
UPLOAD_MEDIA_PRES_FAILURE,
UPLOAD_MEDIA_PRES_SUCCESS,
UPLOAD_MEDIA_CV_REQUEST,
UPLOAD_MEDIA_CV_FAILURE,
UPLOAD_MEDIA_CV_SUCCESS,
} from "../types";
export function media(state = {
@@ -47,23 +44,7 @@ export function media(state = {
errors: action.errors,
loading: false
};
case UPLOAD_MEDIA_CV_REQUEST:
return {
...state,
loading: true
};
case UPLOAD_MEDIA_CV_SUCCESS:
return {
...state,
...action.res.data,
loading: false
};
case UPLOAD_MEDIA_CV_FAILURE:
return {
...state,
errors: action.errors,
loading: false
};
default:
return state;
}
+43
View File
@@ -0,0 +1,43 @@
import {
UPLOAD_MEDIA_CV_REQUEST,
UPLOAD_MEDIA_CV_FAILURE,
UPLOAD_MEDIA_CV_SUCCESS,
} from "../types";
export function mediaCv(state = {
}, action = {}) {
switch (action.type) {
case UPLOAD_MEDIA_CV_REQUEST:
return {
...state,
loading: true
};
case UPLOAD_MEDIA_CV_SUCCESS:
return {
...state,
...action.res.data,
loading: false
};
case UPLOAD_MEDIA_CV_FAILURE:
return {
...state,
errors: action.errors,
loading: false
};
default:
return state;
}
}
export const mediaCvErrorsSelector = state => {return !!state.mediaCv.errors ?state.mediaCv.errors.response.data:null};
export const errorMessageSelector = (state) => {
let err = mediaCvErrorsSelector(state)
if (!!!err)
return null;
switch(err.code)
{
case 500:
return {message: "Le téléversement de votre video à échoué."}
}
}
+5
View File
@@ -10,6 +10,7 @@ import { emphasisCompanies } from "./reducers/emphasisCompanies";
import { answer } from "./reducers/answer";
import { answers } from "./reducers/answers";
import { media } from "./reducers/media";
import { mediaCv } from "./reducers/mediaCv";
export const exampleInitialState = {
user: {
@@ -41,6 +42,9 @@ export const exampleInitialState = {
},
media:{
},
mediaCv:{
},
answers:{
data: {}
@@ -57,5 +61,6 @@ export default combineReducers({
emphasisCompanies,
answer,
media,
mediaCv,
answers
});
+21 -8
View File
@@ -26,9 +26,13 @@ import {
uploadMediaFailure,
uploadMediaPresSuccess,
uploadMediaPresFailure,
} from "../actions/media";
import {
uploadMediaCvSuccess,
uploadMediaCvFailure
} from "../actions/media";
} from "../actions/mediaCv";
import AuthRouter from "../pages/AuthRouter";
export function* postAdAnswerRequestSaga(action) {
@@ -46,8 +50,10 @@ export function* postAdAnswerRequestSaga(action) {
} catch (err) {
if (_.includes(err, "401")) {
console.error("401")
console.error(window.location)
localStorage.setItem('loginRedirect', window.location)
console.error(window.location.pathname)
console.log("ERREUR 401")
localStorage.setItem('loginRedirect', window.location.pathname)
console.log("ERREUR 401")
Router.push("/Login");
}
yield put(postAdAnswerRequestFailure(err.response));
@@ -67,7 +73,8 @@ export function* uploadMediaSaga(action) {
} catch (err) {
if (_.includes(err, "401") || err.response.status === 401) {
localStorage.setItem('loginRedirect', window.location)
localStorage.setItem('loginRedirect', window.location.pathname)
console.log("ERREUR 401")
Router.push("/Login");
}
yield put(uploadMediaFailure(err.response));
@@ -87,7 +94,8 @@ export function* uploadMediaPresSaga(action) {
} catch (err) {
if (_.includes(err, "401") || err.response.status === 401) {
localStorage.setItem('loginRedirect', window.location)
localStorage.setItem('loginRedirect', window.location.pathname)
console.log("ERREUR 401")
Router.push("/Login");
}
yield put(uploadMediaPresFailure(err.response));
@@ -97,7 +105,7 @@ export function* uploadMediaPresSaga(action) {
export function* uploadMediaCvSaga(action) {
try {
const res = yield call(api.medias.uploadMediaCv, action.payload);
const res = yield call(api.cv.uploadMediaCv, action.payload);
if (!!res.data)
yield put(uploadMediaCvSuccess(res));
@@ -107,7 +115,8 @@ export function* uploadMediaCvSaga(action) {
} catch (err) {
if (_.includes(err, "401") || err.response.status === 401) {
localStorage.setItem('loginRedirect', window.location)
localStorage.setItem('loginRedirect', window.location.pathname)
console.log("ERREUR 401")
Router.push("/Login");
}
yield put(uploadMediaCvFailure(err.response));
@@ -126,6 +135,7 @@ export function* fetchJobsAnsweredRequestSaga(action) {
} catch (err) {
if (_.includes(err, "401") || err.response.status === 401) {
localStorage.setItem('loginRedirect', "/Candidatures")
console.log("ERREUR 401")
Router.push("/Login");
}
@@ -149,6 +159,7 @@ export function* fetchAnswerRequestSaga(action) {
if (_.includes(err, "401") || err.response.status === 401) {
localStorage.setItem('loginRedirect', "/Candidatures")
console.log("ERREUR 401")
Router.push("/Login");
}
yield put(fetchAnswerFailure(err.response));
@@ -171,7 +182,8 @@ export function* postAnswerMessageSaga(action) {
} catch (err) {
if (_.includes(err, "401")) {
localStorage.setItem('loginRedirect', window.location)
localStorage.setItem('loginRedirect', window.location.pathname)
console.log("ERREUR 401")
Router.push("/Login");
}
yield put(postMessageAnswerFailure(err.response));
@@ -191,6 +203,7 @@ export function* fetchAnswerMessagesRequestSaga(action) {
} catch (err) {
if (_.includes(err, "401")) {
localStorage.setItem('loginRedirect', "/Candidatures")
console.log("ERREUR 401")
Router.push("/Login");
}
yield put(fetchAnswerMessagesFailure(err.response));
+23 -11
View File
@@ -23,7 +23,7 @@ import _ from "lodash";
export function* requestLoginSaga(action) {
try {
const res = yield call(api.user.login, action.data);
if (!!res.token) {
localStorage.setItem('ttJWT', res.token)
@@ -36,13 +36,19 @@ export function* requestLoginSaga(action) {
if (!!!url)
url = "/"
Router.push(url);
localStorage.setItem('loginRedirect', '/');
} else
throw new Error("Mauvais identifiants.")
// <Redirect to={url}/>
//localStorage.setItem('loginRedirect', '/');
} else{
throw new Error("Aucun compte n'est associé à cette adresse email. Vérifiez l'e-mail..")
console.log("requestLoginSaga!!!!!!!!!!!!!! Mauvais identifiants.")
}
} catch (error) {
setAuthorizationHeader();
yield put(requestLoginFailure({ message: "Mauvais identifiants." }));
console.log("requestLoginSaga!!!!!!!!!!!!!! Mauvais identifiants.")
yield put(requestLoginFailure({ message: "Email ou mot de passe incorrect" }));
}
}
@@ -112,7 +118,7 @@ export function* requestNewsletterSubscribitionSaga(action) {
} else
console.error(res.data.message);
if (_.startsWith(res.data.message, 'Unsuccessful: 400 MJ18')) {
throw new Error("Existe déjà.")
throw new Error("Cet utilisateur existe déjà.")
}
} catch (err) {
console.error(err.message)
@@ -124,19 +130,24 @@ export function* requestRegisterSaga(action) {
try {
//console.log('function* requestRegisterSaga')
const res = yield call(api.user.register, action.payload);
console.log("requestRegisterSaga");
console.log(res);
console.log(action);
if (res.data.status === 'success') {
yield put(registerUserSuccess(res));
yield put(sendConfirmationEmailRequest(res));
Router.push(`/VerifyEmail/${action.payload.email}`);
} else
throw new Error("L'inscription à échouée. Merci de contacter contact@talentstube.com")
} else{
throw new Error("Il existe déjà un compte Talent associé à cet e-mail ")
}
} catch (err) {
console.error(err)
yield put(registerUserFailure(err));
yield put(registerUserFailure({ err: err, message: err.message }));
}
}
@@ -260,7 +271,8 @@ export function* requestUpdateUserRequestSaga(action) {
} catch (err) {
if (_.includes(err, "401") || (!!err.response && err.response.status === 401)) {
localStorage.setItem('loginRedirect', window.location)
localStorage.setItem('loginRedirect', window.location.pathname)
console.log("ERREUR 401")
Router.push("/Login");
}
yield put(updateUserPictureFailure(err.response));
+110 -9
View File
@@ -17,6 +17,9 @@ const FacebookStrategy = require('passport-facebook').Strategy
const LinkedInStrategy = require('passport-linkedin-oauth2').Strategy
const bodyParser = require('body-parser');
const clePubliqueMailJet = "355697fac93fca865660734b4fdffaeb"
const clePriveMailJet = "ddecf75321ca89c09e561857b13534c8"
passport.use(new FacebookStrategy({
clientID: process.env.NODE_ENV === 'production' ? process.env.TT_FACEBOOK_ID : process.env.FACEBOOK_ID,
clientSecret: process.env.NODE_ENV === 'production' ? process.env.TT_FACEBOOK_SECRET : process.env.FACEBOOK_SECRET,
@@ -163,6 +166,12 @@ app.prepare()
app.render(req, res, actualPage, queryParams)
})
server.get('/Player', (req, res) => {
const actualPage = '/Player'
const queryParams = { id: req.query.id, url: req.query.url, videoId:req.query.videoId, typeEntite:req.query.typeEntite, nameCompany:req.query.nameCompany, nameOffre:req.query.nameOffre }
app.render(req, res, actualPage, queryParams)
})
server.get('/VerifyEmail/:email', (req, res) => {
const actualPage = '/VerifyEmail'
const queryParams = { email: req.params.email }
@@ -175,6 +184,25 @@ app.prepare()
app.render(req, res, actualPage, queryParams)
})
// server.post('/NewsletterSubscription', jsonParser, (req, res) => {
// let email = req.body.email;
// if (!!!email) {
// res.status(404).json({ success: false, message: 'Mauvais paramètre.' });
// }
// var mailjet = require('node-mailjet')
// .connect(process.env.MJ_APIKEY_PUBLIC, process.env.MJ_APIKEY_PRIVATE)
// let error = null;
// let mailjetResponse = mailjet.post('contact')
// .request({ Email: email })
// .then(rep => res.json({ success: true }), rep => res.json({ success: false, message: rep.message }))
// .catch((err) => {
// });
// })
server.post('/NewsletterSubscription', jsonParser, (req, res) => {
let email = req.body.email;
@@ -182,16 +210,86 @@ app.prepare()
if (!!!email) {
res.status(404).json({ success: false, message: 'Mauvais paramètre.' });
}
// var mailjet = require ('node-mailjet')
// .connect(process.env.MJ_APIKEY_PUBLIC, process.env.MJ_APIKEY_PRIVATE)
// mailjet.post('contact')
// .request({Email: email})
// .catch((err)=>console.log(err));
// res.json({success:true});
// })
var mailjet = require('node-mailjet')
.connect(process.env.MJ_APIKEY_PUBLIC, process.env.MJ_APIKEY_PRIVATE)
.connect(clePubliqueMailJet, clePriveMailJet)
let error = null;
let mailjetResponse = mailjet.post('contact')
.request({ Email: email })
.then(rep => res.json({ success: true }), rep => res.json({ success: false, message: rep.message }))
.catch((err) => {
});
console.log("envoi du contact a mailjet")
let mailjetResponse = mailjet
.post('contact')
.action("managemanycontacts")
.request({
"Contacts":[
{
"Email":email,
"IsExcludedFromCampaigns":"false",
"Properties":"object"
}
],
"ContactsLists":[
{
"Action":"addforce",
"ListID":"2400791"
},
]
})
.then(rep => res.json({ success: true }), rep => {
console.log("success")
res.json({ success: false, message: rep.message })
})
.catch((err) => console.log("erreur"));
console.log("Fin envoi du contact a mailjet")
// US technique 444
// var mailjet2 = require('node-mailjet')
// .connect('805b8adce80bc6aa9422ddff20bb4171', 'f3bce955f21bc9456d65245c50e8c512')
// console.log("envoi du mail avec mailjet laniau2")
// let request = mailjet2.post("send", {'version': 'v3.1'})
// .request({
// "Messages":[
// {
// "From": {
// "Email": "l.laniau@talentstube.com",
// "Name": "Laurent"
// },
// "To": [
// {
// "Email": "l.laniau@talentstube.com",
// "Name": "Laurent"
// }
// ],
// "TemplateID": 2087555,
// "TemplateLanguage": true,
// "Variables": {
// "prénom": "\"]]</title><!--[if !mso]><!-- --><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"><!--<![endif]--><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"><style type=\"text/css",
// "lien": '<p style="display:inline-block;background:#36eda4;color:#ffffff;font-family:Arial,sans-serif;font-size:13px;font-weight:normal;line-height:120%;margin:0;text-decoration:none;text-transform:none;padding:10px 25px;border-radius:3px"><span style="font-size:11px;text-align:center;background-color:#36eda4;color:#ffffff;font-family:Arial"><b>&nbsp; &nbsp; &nbsp; &nbsp;<a href="www.talentstube.com">Activer mon compte</a> &nbsp; &nbsp; &nbsp;</b></span></p>'
// },
// "Subject": "Test [[data:prénom:'Corentin']]",
// "TextPart": "My first Mailjet email",
// "HTMLPart": "<h3>Dear passenger 1, welcome to <a href='https://www.mailjet.com/'>Mailjet</a>!</h3><br />May the delivery force be with you!",
// "CustomID": "AppGettingStartedTest"
// }
// ]
// })
// request
// .then((result) => {
// console.log(result.body)
// })
// .catch((err) => {
// console.log(err.statusCode)
// })
// mailer.sendTransactionnelEmail();
// console.log("Fin envoi du mail a mailjet")
})
server.post('/sendConfirmationEmail', jsonParser, (req, res) => {
@@ -200,9 +298,12 @@ app.prepare()
const email = req.body.email
const nom = req.body.lastname
const prenom = req.body.firstname
//const url = req.body.adId
//console.log("Envoi d'email "+url)
//TODO Ajouter le contexte de l'annonce
//Envoyer URL
const tokenUrl = `${process.env.FRONT_SERVER}/ConfirmAccount/${token}/${email}`
console.log("tokenUrl "+tokenUrl)
mailer.sendConfirmationEmail(nom, prenom, tokenUrl, email);
res.json({ status: 'success' });
+139 -18
View File
@@ -1,5 +1,8 @@
const nodemailer = require("nodemailer");
const nodemailer = require("nodemailer");
const mailFrom = "noreply@talentstube.io"
const clePubliqueMailJet = "355697fac93fca865660734b4fdffaeb"
const clePriveMailJet = "ddecf75321ca89c09e561857b13534c8"
function setup() {
return nodemailer.createTransport({
@@ -11,33 +14,151 @@ function setup() {
}
});
}
exports.sendTransactionnelEmail = function () {
// US technique 444
var mailjet2 = require('node-mailjet')
.connect('805b8adce80bc6aa9422ddff20bb4171', 'f3bce955f21bc9456d65245c50e8c512')
console.log("envoi du mail avec mailjet laniau2")
let request = mailjet2.post("send", {'version': 'v3.1'})
.request({
"Messages":[
{
"From": {
"Email": "dev@talentstube.com",
"Name": "Laurent"
},
"To": [
{
"Email": "dev@talentstube.com",
"Name": "Laurent"
}
],
"TemplateID": 2087555,
"TemplateLanguage": true,
"Variables": {
"prénom": "\"]]</title><!--[if !mso]><!-- --><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"><!--<![endif]--><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"><style type=\"text/css",
"lien": '<p style="display:inline-block;background:#36eda4;color:#ffffff;font-family:Arial,sans-serif;font-size:13px;font-weight:normal;line-height:120%;margin:0;text-decoration:none;text-transform:none;padding:10px 25px;border-radius:3px"><span style="font-size:11px;text-align:center;background-color:#36eda4;color:#ffffff;font-family:Arial"><b>&nbsp; &nbsp; &nbsp; &nbsp;<a href="www.talentstube.com">Activer mon compte</a> &nbsp; &nbsp; &nbsp;</b></span></p>'
},
"Subject": "Test [[data:prénom:'ggg']]",
"TextPart": "",
"HTMLPart": "",
"CustomID": "AppGettingStartedTest"
}
]
})
request
.then((result) => {
console.log(result.body)
})
.catch((err) => {
console.log(err.statusCode)
})
}
exports.sendConfirmationEmail = function (nom, prenom, tokenUrl, mail) {
const tranport = setup();
const email = {
from: process.env.EMAIL_FROM,
to: process.env.NODE_ENV === 'production'? mail : 'l.laniau@talentstube.com',
subject: `Bienvenue ${mail} `,
text: `
Bonjour ${prenom} ${nom},
// const tranport = setup();
// const email = {
// from: process.env.EMAIL_FROM,
// to: process.env.NODE_ENV === 'production'? mail : 'l.laniau@talentstube.com',
// subject: `Bienvenue ${mail} `,
// text: `
// Bonjour ${prenom} ${nom},
Veuillez cliquer sur le lien ci-dessous pour activer votre compte Talents Tube.
// Veuillez cliquer sur le lien ci-dessous pour activer votre compte Talents Tube.
${tokenUrl}
// ${tokenUrl}
*Ce lien ne peut être utilisé quune seule fois pour valider votre compte.
// *Ce lien ne peut être utilisé quune seule fois pour valider votre compte.
Si vous nêtes pas à lorigine de linscription sur Talents Tube, veuillez contacter le support Talents Tube.
// Si vous n’êtes pas à lorigine de linscription sur Talents Tube, veuillez contacter le support Talents Tube.
Merci de votre compréhension.
// Merci de votre compréhension.
Talents Tube
// Talents Tube
`
// };
// var mailjet2 = require('node-mailjet')
// .connect('805b8adce80bc6aa9422ddff20bb4171', 'f3bce955f21bc9456d65245c50e8c512')
// console.log("envoi du mail avec mailjet laniau2")
// let request = mailjet2.post("send", {'version': 'v3.1'})
// .request({
// "Messages":[
// {
// "From": {
// "Email": "l.laniau@talentstube.com",
// "Name": "Laurent"
// },
// "To": [
// {
// "Email": "l.laniau@talentstube.com",
// "Name": "Laurent"
// }
// ],
// "TemplateID": 2087555,
// "TemplateLanguage": true,
// "Variables": {
// "prénom": "\"]]</title><!--[if !mso]><!-- --><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"><!--<![endif]--><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"><style type=\"text/css",
// "lien": '<p style="display:inline-block;background:#36eda4;color:#ffffff;font-family:Arial,sans-serif;font-size:13px;font-weight:normal;line-height:120%;margin:0;text-decoration:none;text-transform:none;padding:10px 25px;border-radius:3px"><span style="font-size:11px;text-align:center;background-color:#36eda4;color:#ffffff;font-family:Arial"><b>&nbsp; &nbsp; &nbsp; &nbsp;<a href="www.talentstube.com">Activer mon compte</a> &nbsp; &nbsp; &nbsp;</b></span></p>'
// },
// "Subject": "Test [[data:prénom:'ggg']]",
// "TextPart": "My first Mailjet email",
// "HTMLPart": "<h3>Dear passenger 1, welcome to <a href='https://www.mailjet.com/'>Mailjet</a>!</h3><br />May the delivery force be with you!",
// "CustomID": "AppGettingStartedTest"
// }
// ]
// })
// request
// .then((result) => {
// console.log(result.body)
// })
// .catch((err) => {
// console.log(err.statusCode)
// })
var mailjet2 = require('node-mailjet')
.connect(clePubliqueMailJet, clePriveMailJet)
console.log("envoi du mail avec mailjet "+mailFrom)
let request = mailjet2.post("send", {'version': 'v3.1'})
.request({
"Messages":[
{
"From": {
"Email": mailFrom,
"Name": "Talents Tube"
},
"To": [
{
"Email": mail,
"Name": prenom
}
],
"TemplateID": 2115317,
"TemplateLanguage": true,
"Variables": {
"nom": nom,
"prenom": prenom,
// "tokenUrl": "<a href='"+tokenUrl+"'>Activer le compte</a>"
"tokenUrl": tokenUrl
},
"Subject": "Bienvenue sur Talents Tube",
"TextPart": "",
"HTMLPart": "",
"CustomID": "AppGettingStartedTest"
}
]
})
request
.then((result) => {
console.log(result.body)
})
.catch((err) => {
console.log(err.statusCode)
})
// ,
// html: `
// `
};
tranport.sendMail(email);
// tranport.sendMail(email);
}
+10 -2
View File
@@ -10,6 +10,14 @@ const formatDate = require("./formatDate");
const robotsTxt = `# crawl setup
User-agent: *
Disallow: /Login*
Disallow: /Help
Disallow: /MentionsLegales
Disallow: /Inscription
Disallow: /Cgu
Disallow: /Confidentialite
Disallow: /Candidature
Disallow: /CandidatureValidation
Disallow: /profileStep
# Sitemap
Sitemap: https://www.talentstube.com/sitemap_local.xml`
@@ -33,8 +41,8 @@ const sitemapXml = `<?xml version="1.0" encoding="UTF-8"?>
)}
</urlset>`;
fs.writeFileSync("out/sitemap_local.xml", sitemapXml);
console.log("sitemap_local.xml saved!");
// fs.writeFileSync("out/sitemap_local.xml", sitemapXml);
//console.log("sitemap_local.xml saved!");
// GOOGLE's VERIFY HTML
// const googleVerify = `google-site-verification: google8f5d91a719b65f09.html`;
+180
View File
@@ -0,0 +1,180 @@
import React from 'react';
import PropTypes from 'prop-types';
import AppBar from '@material-ui/core/AppBar';
import Toolbar from '@material-ui/core/Toolbar';
import IconButton from '@material-ui/core/IconButton';
import Typography from '@material-ui/core/Typography';
import { withStyles, getMuiTheme } from '@material-ui/core/styles';
import MenuIcon from '@material-ui/icons/Menu';
import Link from 'next/link'
import Drawer from '@material-ui/core/Drawer';
import ListItemIcon from '@material-ui/core/ListItemIcon';
import Divider from '@material-ui/core/Divider';
import SendIcon from '@material-ui/icons/Send';
import CodeIcon from '@material-ui/icons/Code';
import HomeIcon from '@material-ui/icons/Home';
import FingerprintIcon from '@material-ui/icons/Fingerprint';
import LocalBarIcon from '@material-ui/icons/LocalBar';
import List from '@material-ui/core/List';
import ListItem from '@material-ui/core/ListItem';
import { ListItemText } from '@material-ui/core';
import { Spring, animated } from 'react-spring'
const styles = theme => ({
root: {
width: '100%',
'& a':{
textDecoration:'none'
}
},
grow: {
flexGrow: 1,
},
bar: {
},
menuButton: {
marginLeft: -12,
marginRight: 20,
[theme.breakpoints.up('sm')]: {
display: 'none',
},
[theme.breakpoints.down('md')]: {
display: 'block',
},
},
menuLogo: {
marginLeft: 20,
marginRight: 40,
cursor: 'pointer'
},
title: {
display: 'none',
[theme.breakpoints.up('sm')]: {
display: 'block',
},
[theme.breakpoints.down('md')]: {
display: 'none',
},
marginRight: 15,
cursor: 'pointer'
},
sectionDesktop: {
display: 'none',
[theme.breakpoints.up('md')]: {
display: 'flex',
},
},
sectionMobile: {
display: 'flex',
[theme.breakpoints.up('md')]: {
display: 'none',
},
},
fullList: {
width: 'auto',
cursor: 'pointer'
},
});
class HeaderOffre extends React.Component {
state = {
top: false,
left: false,
bottom: false,
right: false,
toggle: true
};
toggleDrawer = (side, open) => () => {
this.setState({
[side]: open,
});
};
toggle = () => this.setState(state => ({ toggle: !state.toggle }))
render() {
const { classes } = this.props;
return (
<div className={classes.root}>
<Drawer anchor="top" open={this.state.top} onClose={this.toggleDrawer('top', false)}>
<div
tabIndex={0}
role="button"
onClick={this.toggleDrawer('top', false)}
onKeyDown={this.toggleDrawer('top', false)}
>
<div className={classes.fullList}>
<List>
<Link href="/" prefetch >
<a><ListItem>
<ListItemIcon>
<HomeIcon />
</ListItemIcon>
<ListItemText primary='Accueil'>
</ListItemText>
</ListItem></a>
</Link>
<Divider />
<Link href="/contact" prefetch >
<a><ListItem>
<ListItemIcon>
<SendIcon />
</ListItemIcon>
<ListItemText primary='contact'>
</ListItemText>
</ListItem></a>
</Link>
</List>
</div>
</div>
</Drawer>
<AppBar position="static" className={classes.appBar}>
<Toolbar>
<IconButton className={classes.menuButton} onClick={this.toggleDrawer('top', true)}
color="inherit" aria-label="Open drawer">
<MenuIcon />
</IconButton>
<Link href="/" prefetch>
<a><div onClick={this.toggle}>
<Spring native from={{ x: 0 }} to={{ x: this.state.toggle ? 1 : 0 }} config={{ duration: 1000 }}>
{({ x }) => (
<animated.div
style={{
opacity: x.interpolate({ output: [1, 1] }),
transform: x
.interpolate({
range: [0, 0.25, 0.35, 0.45, 0.55, 0.65, 0.75, 1],
output: [1, 0.97, 0.9, 1.1, 0.9, 1.1, 1.03, 1]
})
.interpolate(x => `scale(${x})`)
}}>
<img alt="e-declic" src='https://www.e-declic.com/files/e-declic/img/logo.png' className={classes.menuLogo} />
</animated.div>
)}
</Spring>
</div></a>
</Link>
<Link href="/contact" prefetch >
<a><Typography className={classes.title} variant="h5" color="inherit" noWrap>
Contact
</Typography></a>
</Link>
</Toolbar>
</AppBar>
</div >
);
}
}
HeaderOffre.propTypes = {
classes: PropTypes.object.isRequired,
};
export default withStyles(styles)(HeaderOffre)
+1 -1
View File
@@ -16,7 +16,7 @@ function setup() {
const tranport = setup();
const email = {
from: process.env.EMAIL_FROM,
to: "l.laniau@talentstube.com",
to: "contact@talentstube.com",
subject: "PWA feedback 💌⚡️",
text: `
Hello Team,