Compare commits
4 Commits
ff2225a47b
...
b2affbd87b
| Author | SHA1 | Date | |
|---|---|---|---|
| b2affbd87b | |||
| 0526286554 | |||
| 2b5e024bd0 | |||
| ed74d6f882 |
@@ -1,128 +0,0 @@
|
||||
|
||||
import Link from 'next/link';
|
||||
import React, { Component } from 'react'
|
||||
import { withStyles } from '@material-ui/core/styles';
|
||||
import Button from '@material-ui/core/Button';
|
||||
import Typography from '@material-ui/core/Typography';
|
||||
|
||||
import Slider from "react-slick";
|
||||
import "slick-carousel/slick/slick.css";
|
||||
import "slick-carousel/slick/slick-theme.css";
|
||||
|
||||
const styles = theme => ({
|
||||
slider: {
|
||||
position: 'relative',
|
||||
'& .aws-sld__wrapper , & .aws-sld__content': {
|
||||
height: '85vh',
|
||||
},
|
||||
text: {
|
||||
zIndex: '999',
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
alignItems: 'flex-start',
|
||||
position: 'absolute',
|
||||
top: '5vh',
|
||||
left: '3vh',
|
||||
},
|
||||
textCompany: {
|
||||
color: theme.palette.secondary.main,
|
||||
backgroundColor: 'rgba(30,35,39,0.9)',
|
||||
padding: theme.spacing(0.8, 2),
|
||||
marginBottom: 0,
|
||||
fontWeight: 'bold',
|
||||
fontSize: '1em',
|
||||
},
|
||||
textJob: {
|
||||
color: theme.palette.secondary.main,
|
||||
backgroundColor: 'rgba(30,35,39,0.5)',
|
||||
padding: theme.spacing(0.4, 2),
|
||||
marginBottom: 0,
|
||||
fontWeight: 'lighter',
|
||||
fontSize: '0.9em',
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
const videoList = [
|
||||
{
|
||||
vimeoId: '350927569',
|
||||
title: 'Les Vergers de Châteaubourg',
|
||||
adTitle: 'Conducteurs de ligne (H/F)',
|
||||
link: '/Offre/73-Les-Vergers-de-Châteaubourg-chateaubourg',
|
||||
logo: 'fdc1e6168fe8e3921e336e93fe00e176.jpeg'
|
||||
},
|
||||
{
|
||||
vimeoId: '350927551',
|
||||
title: 'Grand Ouest Étiquettes',
|
||||
adTitle: 'Conducteurs de machine d’impression',
|
||||
link: '/Offre/79-Grand-Ouest-Étiquettes-Saint-Brieuc',
|
||||
logo: '3fe5baeb48a7b6c94fbc56989dffec43.png'
|
||||
},
|
||||
{
|
||||
vimeoId: '350927537',
|
||||
title: 'Fym Action',
|
||||
adTitle: 'Promoteur des ventes en alimentaire (H/F)',
|
||||
link: '/Offre/81-Fym-Action-Caudan',
|
||||
logo: '0a4c111bc35a4b2ab654ab8fce9f1d53.png'
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
const content = videoList.map((video, index) =>
|
||||
<div key={index}>
|
||||
<iframe allow="autoplay; fullscreen" width="1920" height="1080" src={'https://player.vimeo.com/video/' + video.vimeoId + "?autoplay=1?muted=1?background=1"} frameBorder="0" allowFullScreen></iframe>
|
||||
<section className={styles.text}>
|
||||
<Typography gutterBottom
|
||||
variant="headline"
|
||||
variant="h6"
|
||||
component="h4"
|
||||
align="center"
|
||||
className={styles.textCompany}>
|
||||
{video.title}
|
||||
</Typography>
|
||||
|
||||
<Typography gutterBottom
|
||||
variant="headline"
|
||||
variant="h6"
|
||||
component="h4"
|
||||
align="center"
|
||||
className={styles.textJob}>
|
||||
{video.adTitle}
|
||||
</Typography>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
);
|
||||
|
||||
class VideoSlider extends Component {
|
||||
|
||||
|
||||
state = {
|
||||
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
|
||||
}
|
||||
|
||||
render() {
|
||||
const { classes } = this.props;
|
||||
var settings = {
|
||||
dots: true,
|
||||
infinite: true,
|
||||
speed: 500,
|
||||
slidesToShow: 1,
|
||||
slidesToScroll: 1
|
||||
};
|
||||
return (
|
||||
<Slider>
|
||||
{content}
|
||||
</Slider>
|
||||
)
|
||||
}
|
||||
}
|
||||
export default withStyles(styles)(VideoSlider)
|
||||
+39
-50
@@ -8,45 +8,46 @@ const Dotenv = require('dotenv-webpack');
|
||||
|
||||
const { ANALYZE, DEV } = process.env
|
||||
|
||||
module.exports = withPlugins([
|
||||
[withCSS],
|
||||
[optimizedImages, {
|
||||
/* config for next-optimized-images */
|
||||
}],
|
||||
[withOffline, {
|
||||
dontAutoRegisterSw: DEV ? true : false,
|
||||
workboxOpts: {
|
||||
runtimeCaching: [
|
||||
// { urlPattern: /.*auth.*/, handler: 'networkOnly' },
|
||||
// { urlPattern: /.*account.*/, handler: 'networkOnly' },
|
||||
{ urlPattern: /^https?.*/, handler: 'NetworkFirst' },
|
||||
{
|
||||
urlPattern: /\.(?:png|jpg|jpeg|svg|webp)$/,
|
||||
handler: "CacheFirst",
|
||||
options: {
|
||||
cacheName: "images",
|
||||
expiration: {
|
||||
maxEntries: 100
|
||||
module.exports = withPlugins(
|
||||
[
|
||||
[withCSS],
|
||||
[optimizedImages, {
|
||||
/* config for next-optimized-images */
|
||||
}],
|
||||
[withOffline, {
|
||||
dontAutoRegisterSw: DEV ? true : false,
|
||||
workboxOpts: {
|
||||
runtimeCaching: [
|
||||
// { urlPattern: /.*auth.*/, handler: 'networkOnly' },
|
||||
// { urlPattern: /.*account.*/, handler: 'networkOnly' },
|
||||
{ urlPattern: /^https?.*/, handler: 'NetworkFirst' },
|
||||
{
|
||||
urlPattern: /\.(?:png|jpg|jpeg|svg|webp)$/,
|
||||
handler: "CacheFirst",
|
||||
options: {
|
||||
cacheName: "images",
|
||||
expiration: {
|
||||
maxEntries: 100
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
importScripts:
|
||||
['/static/js/Edeclic-service-worker.js',
|
||||
'/static/js/backgroundSync-sw.js'
|
||||
]
|
||||
},
|
||||
|
||||
}],
|
||||
|
||||
[{
|
||||
publicRuntimeConfig: {
|
||||
frontServerUrl: 'https://pp.app.talentstube.com',
|
||||
enableVideo: true,
|
||||
adListDefaultUrl: "/static/images/default/default_picture_company.svg",
|
||||
logoRootUrl: 'https://www.talentstube.com/media/cache/profile_thumb/uploads/img/'
|
||||
}
|
||||
}]],
|
||||
],
|
||||
importScripts:
|
||||
['/static/js/Edeclic-service-worker.js',
|
||||
'/static/js/backgroundSync-sw.js'
|
||||
]
|
||||
},
|
||||
}],
|
||||
[{
|
||||
publicRuntimeConfig: {
|
||||
symphonyUrl: 'https://www.talentstube.com',
|
||||
frontServerUrl: 'https://pp.app.talentstube.com',
|
||||
adListDefaultUrl: '/static/images/default/default_picture_company.svg',
|
||||
cachedMediaUrl: '/media/cache/profile_thumb/uploads/img/',
|
||||
postedContentUrl: '/uploads/img/',
|
||||
}
|
||||
}]
|
||||
],
|
||||
{
|
||||
webpack: (config, { isServer }) => {
|
||||
|
||||
@@ -69,24 +70,12 @@ module.exports = withPlugins([
|
||||
WaveSurfer: "wavesurfer.js",
|
||||
RecordRTC: "recordrtc"
|
||||
};
|
||||
|
||||
config.module.rules.push(
|
||||
{
|
||||
test: /\.(css|scss)/,
|
||||
use: [
|
||||
{ loader: 'style-loader'},
|
||||
],
|
||||
include: [/node_modules/],
|
||||
},
|
||||
|
||||
)
|
||||
|
||||
|
||||
config.resolve.alias = { ...config.resolve.alias, ...videojsAlias };
|
||||
config.plugins.push(videojsPlugin);
|
||||
|
||||
config.plugins.push(new Dotenv());
|
||||
|
||||
console.info(config);
|
||||
return config
|
||||
}
|
||||
},
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://app.talentstube.com/Candidature</loc>
|
||||
<lastmod>2019-10-03</lastmod>
|
||||
<lastmod>2019-09-17</lastmod>
|
||||
</url>,<url>
|
||||
<loc>https://app.talentstube.com/Cgu</loc>
|
||||
<lastmod>2019-10-03</lastmod>
|
||||
<lastmod>2019-09-17</lastmod>
|
||||
</url>,<url>
|
||||
<loc>https://app.talentstube.com/Confidentialite</loc>
|
||||
<lastmod>2019-10-03</lastmod>
|
||||
<lastmod>2019-09-17</lastmod>
|
||||
</url>,<url>
|
||||
<loc>https://app.talentstube.com/Entreprises</loc>
|
||||
<lastmod>2019-10-03</lastmod>
|
||||
<lastmod>2019-09-17</lastmod>
|
||||
</url>,<url>
|
||||
<loc>https://app.talentstube.com/Help</loc>
|
||||
<lastmod>2019-10-11</lastmod>
|
||||
@@ -20,9 +20,9 @@
|
||||
<lastmod>2019-10-11</lastmod>
|
||||
</url>,<url>
|
||||
<loc>https://app.talentstube.com/MentionsLegales</loc>
|
||||
<lastmod>2019-10-03</lastmod>
|
||||
<lastmod>2019-09-17</lastmod>
|
||||
</url>,<url>
|
||||
<loc>https://app.talentstube.com/Offres</loc>
|
||||
<lastmod>2019-10-03</lastmod>
|
||||
<lastmod>2019-09-17</lastmod>
|
||||
</url>
|
||||
</urlset>
|
||||
+1
-6
@@ -26,7 +26,7 @@
|
||||
"lodash": "^4.17.11",
|
||||
"mongodb": "^3.1.6",
|
||||
"nedb": "^1.8.0",
|
||||
"next": "^9.0.6",
|
||||
"next": "^9.1.1",
|
||||
"next-auth": "^1.11.0",
|
||||
"next-compose-plugins": "^2.1.1",
|
||||
"next-offline": "^4.0.2",
|
||||
@@ -35,7 +35,6 @@
|
||||
"next-redux-wrapper": "^3.0.0-alpha.2",
|
||||
"next-transpile-modules": "^2.3.1",
|
||||
"node-mailjet": "^3.3.1",
|
||||
"node-sass": "^4.12.0",
|
||||
"nodemailer": "^4.6.8",
|
||||
"nodemailer-direct-transport": "^3.3.2",
|
||||
"nodemailer-smtp-transport": "^2.7.4",
|
||||
@@ -45,13 +44,11 @@
|
||||
"passport-oauth2": "https://github.com/Huaoe/passport-oauth2.git",
|
||||
"prop-types": "latest",
|
||||
"react": "^16.9.0",
|
||||
"react-awesome-slider": "^2.0.0",
|
||||
"react-dom": "^16.9.0",
|
||||
"react-ga": "^2.5.7",
|
||||
"react-google-recaptcha": "^2.0.1",
|
||||
"react-jss": "latest",
|
||||
"react-redux": "^7.0.3",
|
||||
"react-slick": "^0.25.2",
|
||||
"react-swipeable-views": "^0.13.3",
|
||||
"reactstrap": "^6.4.0",
|
||||
"recordrtc": "^5.5.4",
|
||||
@@ -61,8 +58,6 @@
|
||||
"redux-persist": "^5.10.0",
|
||||
"redux-saga": "^1.0.2",
|
||||
"reselect": "^4.0.0",
|
||||
"sass-loader": "^8.0.0",
|
||||
"slick-carousel": "^1.8.1",
|
||||
"style-loader": "^1.0.0",
|
||||
"terser": "3.14",
|
||||
"universal-cookie": "^3.0.4",
|
||||
|
||||
@@ -72,7 +72,6 @@ class Parametres extends Component {
|
||||
general: false,
|
||||
openSnack: false,
|
||||
error: null,
|
||||
|
||||
subscriveUserEnabled: false,
|
||||
subscription: { endpoint: '' },
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ import NoResult from './../components/atoms/NoResult';
|
||||
import Head from 'next/head'
|
||||
import dynamic from 'next/dynamic'
|
||||
|
||||
const VideoSlider = dynamic(() => import('../components/organisms/VideoSlider'), {
|
||||
const VideoSlider = dynamic(() => import('../components/organisms/ShortVideoHooker'), {
|
||||
ssr: false
|
||||
});
|
||||
const HorizontalScroller = dynamic(() => import('../components/organisms/HorizontalScroller'), {
|
||||
|
||||
+1144
-1216
File diff suppressed because it is too large
Load Diff
-10
@@ -1,10 +0,0 @@
|
||||
{
|
||||
"systemParams": "darwin-x64-72",
|
||||
"modulesFolders": [],
|
||||
"flags": [],
|
||||
"linkedModules": [],
|
||||
"topLevelPatterns": [],
|
||||
"lockfileEntries": {},
|
||||
"files": [],
|
||||
"artifacts": {}
|
||||
}
|
||||
Reference in New Issue
Block a user