Compare commits
2 Commits
V2.3.5
...
V2.4.0_prod
| Author | SHA1 | Date | |
|---|---|---|---|
| c3f4832b30 | |||
| 4bd6e8c580 |
@@ -6,7 +6,7 @@ const OgHead = props => {
|
||||
return (
|
||||
<Head>
|
||||
<title key="title">{props.seo_title}</title>
|
||||
<meta name="robots" content="noindex, nofollow"></meta>
|
||||
{/* <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} />
|
||||
|
||||
@@ -227,6 +227,9 @@ const styles = theme => ({
|
||||
justifyContent: 'space-between',
|
||||
padding: 0,
|
||||
},
|
||||
appBar:{
|
||||
position:'fixed'
|
||||
},
|
||||
appBarDesktopSection: {
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
|
||||
@@ -53,9 +53,9 @@ const styles = theme => ({
|
||||
margin: theme.spacing(0, 0),
|
||||
},
|
||||
headerContainerMobile: {
|
||||
display: 'flex',
|
||||
top : '-20px',
|
||||
marginLeft : '20px'
|
||||
display: 'inline',
|
||||
// top : '-20px',
|
||||
// marginLeft : '20px'
|
||||
|
||||
},
|
||||
headerContainerDesktop: {
|
||||
@@ -88,7 +88,7 @@ const styles = theme => ({
|
||||
infoContainerMobile: {
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
margin: theme.spacing(0, 1.5),
|
||||
padding: '20px',
|
||||
'& a': {
|
||||
textDecoration: 'none',
|
||||
color: theme.palette.primary.dark,
|
||||
@@ -119,16 +119,14 @@ const styles = theme => ({
|
||||
marginBottom: '10px'
|
||||
},
|
||||
IconTextContainerMobile: {
|
||||
display: '',
|
||||
alignItems: 'center',
|
||||
// justifyContent: 'flex-start',
|
||||
width: '100%',
|
||||
|
||||
borderTop: '1px solid #E8E8E9',
|
||||
borderBottom: '1px solid #E8E8E9',
|
||||
paddingTop: '20px',
|
||||
paddingBottom: '20px',
|
||||
marginLeft:'20px',
|
||||
marginRight:'20px'
|
||||
padding: '20px',
|
||||
|
||||
|
||||
},
|
||||
contentContainer: {
|
||||
display: 'flex',
|
||||
@@ -138,6 +136,15 @@ const styles = theme => ({
|
||||
top:'40px',
|
||||
margin: theme.spacing(0, 1),
|
||||
},
|
||||
contentContainerMobile: {
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
alignItems: 'flex-start',
|
||||
justifyContent: 'flex-start',
|
||||
top:'100px',
|
||||
paddingTop:'100px',
|
||||
margin: theme.spacing(0, 1),
|
||||
},
|
||||
tagsContainer: {
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
@@ -229,11 +236,10 @@ const styles = theme => ({
|
||||
backgroundColor: 'white'
|
||||
},
|
||||
stickyContainer:{
|
||||
margin: '10px 0px',
|
||||
// margin: '10px 0px',
|
||||
borderBottom: '1px solid #E8E8E9',
|
||||
marginBottom: '20px',
|
||||
paddingBottom: '5px',
|
||||
|
||||
},
|
||||
stickySeparation:{
|
||||
|
||||
@@ -561,7 +567,7 @@ const styles = theme => ({
|
||||
fontSize: '1.5em',
|
||||
color: theme.palette.background.grey,
|
||||
position: 'absolute',
|
||||
bottom: '60px',
|
||||
bottom: '30px',
|
||||
left: '20px',
|
||||
color: '#1E2327',
|
||||
backgroundColor: '#fff',
|
||||
@@ -571,14 +577,16 @@ const styles = theme => ({
|
||||
|
||||
},
|
||||
playerTexteMobile: {
|
||||
|
||||
fontSize: '1em',
|
||||
fontWeight: '600',
|
||||
position: 'absolute',
|
||||
bottom: '70px',
|
||||
bottom: '43px',
|
||||
left: '80px',
|
||||
color: '#fff',
|
||||
},
|
||||
iconPlayBasMobile: {
|
||||
|
||||
fontSize: '1.5em',
|
||||
color: theme.palette.background.grey,
|
||||
position: 'absolute',
|
||||
@@ -620,14 +628,14 @@ const styles = theme => ({
|
||||
fontSize: '1.250em',
|
||||
fontWeight: '600',
|
||||
position: 'absolute',
|
||||
top: '7px',
|
||||
left: '45px',
|
||||
right: '10px',
|
||||
top: '30px',
|
||||
left: '30px',
|
||||
right: '30px',
|
||||
color: '#fff',
|
||||
textAlign:'left',
|
||||
lineHeight : '20px',
|
||||
marginBottom : '20px',
|
||||
padding:'10px'
|
||||
|
||||
},
|
||||
containerPoste:{
|
||||
|
||||
@@ -745,11 +753,13 @@ function OffreDetail(props) {
|
||||
}
|
||||
//gestion du télétravail
|
||||
if(offre.extra.teletravail=='tele_occasionel'){
|
||||
teletravail='Télétravail occasionel';
|
||||
teletravail='Télétravail occasionnel';
|
||||
}else if(offre.extra.teletravail=='tele_partiel'){
|
||||
teletravail='Télétravail partiel';
|
||||
}else if(offre.extra.teletravail=='tele_total'){
|
||||
teletravail='Télétravail total';
|
||||
}else{
|
||||
teletravail=null;
|
||||
}
|
||||
|
||||
const imgDefaultUrl = "/static/images/default/default_picture_company.svg"
|
||||
@@ -836,7 +846,7 @@ function OffreDetail(props) {
|
||||
></JobPosting>
|
||||
<Hidden smDown>
|
||||
{/* PARTIE DESKTOP */}
|
||||
<div style={{ width:'100%', justifyContent: 'center', display: 'flex', marginTop:'40px' }}>
|
||||
<div style={{ width:'100%', justifyContent: 'center', display: 'flex', marginTop:'100px' }}>
|
||||
<div style={{ width:'1200px' }}>
|
||||
<div style={{ display: 'flex', alignItems: 'flex-start' }}>
|
||||
<div style={{width:'67%' }}>
|
||||
@@ -935,7 +945,7 @@ function OffreDetail(props) {
|
||||
</div>
|
||||
{/* PARTIE STICKY */}
|
||||
|
||||
<StickyBox style={{width:'33%', marginLeft:'40px', padding : '0 15px'}}>
|
||||
<StickyBox offsetTop={100} style={{width: '33%', marginLeft: '40px', padding: '0px 15px', position: 'sticky', top: '100px'}}>
|
||||
|
||||
<section className={classes.stickyContainer}>
|
||||
<a href={entrepriseLink} className={classes.lien}>
|
||||
@@ -999,12 +1009,12 @@ function OffreDetail(props) {
|
||||
</Hidden>
|
||||
{/* PARTIE MOBILE */}
|
||||
<Hidden mdUp>
|
||||
<section className={classes.contentContainer}>
|
||||
<section className={classes.contentContainerMobile}>
|
||||
|
||||
<Link href={`/Player?id=/Offre/${offre.id}-${_.kebabCase(offre.title)}&videoId=${Ar.last(_.split(offre.video.cdn_url, '/'))}&type=Offre`} >
|
||||
<div className={classes.discoverContainerImage}>
|
||||
<img src={isWidthUp('xs', props.width) ? imgUrlDesktopOffre : imgUrlOffre} alt={offre.company.brand_name && offre.company.brand_name} />
|
||||
<div className={classes.containerPoste}>
|
||||
<div >
|
||||
|
||||
<Typography variant="h1" component="h1" gutterBottom className={classes.posteMobile}>
|
||||
{offre.title} <br></br>
|
||||
@@ -1020,7 +1030,7 @@ function OffreDetail(props) {
|
||||
</Link>
|
||||
</section>
|
||||
<section className={classes.headerContainerMobile}>
|
||||
<div >
|
||||
<div className={classes.infoContainerMobile}>
|
||||
|
||||
<a href={entrepriseLink} className={classes.lien}>
|
||||
<Avatar className={classes.logoMobile} classes={{ img: classes.MuiAvatarImg }}
|
||||
@@ -1029,7 +1039,7 @@ function OffreDetail(props) {
|
||||
|
||||
</div>
|
||||
<div className={classes.infoContainerMobile}>
|
||||
<Typography gutterBottom variant="h5" component="h1" className={classes.title}>
|
||||
<Typography gutterBottom variant="h4" component="h4" className={classes.title}>
|
||||
{offre.title}
|
||||
</Typography>
|
||||
<a href={entrepriseLink} className={classes.lien}>
|
||||
@@ -1039,6 +1049,7 @@ function OffreDetail(props) {
|
||||
</a>
|
||||
{/* ville */}
|
||||
</div>
|
||||
|
||||
</section>
|
||||
<section className={classes.IconTextContainerMobile}>
|
||||
{offre.is_promoted && (<Chip label="Offre pourvue" className={classes.chip} />)}
|
||||
|
||||
@@ -55,16 +55,24 @@ const useStyles = makeStyles(theme => ({
|
||||
}
|
||||
},
|
||||
FacebookIconMobile: {
|
||||
color: theme.palette.social.facebook,
|
||||
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'
|
||||
},
|
||||
}));
|
||||
|
||||
|
||||
@@ -62,8 +62,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,
|
||||
@@ -85,9 +85,9 @@ const styles = theme => ({
|
||||
|
||||
function LayoutOffre(props) {
|
||||
|
||||
const { classes, offreId, offre, isProvided, socialShareUrl } = 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('xs', props.width) ?
|
||||
|
||||
@@ -46,16 +46,16 @@ module.exports = withPlugins(
|
||||
// frontServerUrl: 'http://localhost:3000',
|
||||
// cvThequeUrl: 'https://recruteur.talentstube.com',
|
||||
// PROD
|
||||
// symphonyUrl: 'https://recruteur.talentstube.com/',
|
||||
// blogUrl: 'https://blog.talentstube.com',
|
||||
// frontServerUrl: 'https://www.talentstube.com/',
|
||||
// cvThequeUrl: 'https://recruteur.talentstube.com',
|
||||
// PRE PROD
|
||||
symphonyUrl: 'https://pp.talentstube.com/',
|
||||
symphonyUrl: 'https://recruteur.talentstube.com/',
|
||||
blogUrl: 'https://blog.talentstube.com',
|
||||
frontServerUrl: 'https://pp.app.talentstube.com/',
|
||||
frontServerUrl: 'https://www.talentstube.com/',
|
||||
cvThequeUrl: 'https://recruteur.talentstube.com',
|
||||
version : 'V2.3.5',
|
||||
// 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.4.0',
|
||||
adListDefaultUrl: '/statique/images/default/default_picture_company.svg',
|
||||
cachedMediaUrl: '/media/cache/profile_thumb/uploads/img/',
|
||||
postedContentUrl: '/uploads/img/',
|
||||
|
||||
+2
-2
@@ -175,9 +175,9 @@ app.prepare()
|
||||
app.render(req, res, actualPage, queryParams)
|
||||
})
|
||||
|
||||
server.get('/ConfirmAccount/:token/:email/:url', (req, res) => {
|
||||
server.get('/ConfirmAccount/:token/:email', (req, res) => {
|
||||
const actualPage = '/ConfirmAccount'
|
||||
const queryParams = { token: req.params.token, email: req.params.email, url: req.params.url }
|
||||
const queryParams = { token: req.params.token, email: req.params.email }
|
||||
app.render(req, res, actualPage, queryParams)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user