Compare commits
3 Commits
849e0a5b18
...
80e03c29e9
| Author | SHA1 | Date | |
|---|---|---|---|
| 80e03c29e9 | |||
| 6cb252e031 | |||
| bfbb31ce25 |
@@ -14,10 +14,13 @@ localhost:8080
|
||||
|
||||
>stop curent TTapp dev run to free 3000 port
|
||||
|
||||
### 1.login:password
|
||||
### 1. login:password
|
||||
>sglatz:yVqSfBDRPp07
|
||||
|
||||
As Kanye West said:
|
||||
### 2. gitea password
|
||||
>tt-jenkins:
|
||||
|
||||
#### 2. As Kanye West said:
|
||||
|
||||
> We're living the future so
|
||||
> the present is our past.
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
SERVER_URL=http://localhost:80
|
||||
FRONT_SERVER=http://localhost:3000
|
||||
SERVER_URL=http://localhost:80/app_dev.php
|
||||
FRONT_SERVER=http://localhost:8000
|
||||
MONGO_URI=mongodb://declic:declic42@ds115653.mlab.com:15653/next-auth
|
||||
FACEBOOK_ID=2332071840142634
|
||||
FACEBOOK_SECRET=afb8bbca72bd8c517c64f81e998e4f12
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
## How to use
|
||||
|
||||
Download the example [or clone the repo](https://github.com/mui-org/material-ui):
|
||||
Download the example [or clone the repo](https://git.e-declic.net/talents-tube/app.git):
|
||||
|
||||
```bash
|
||||
git clone
|
||||
@@ -12,6 +12,7 @@ Install it and run:
|
||||
|
||||
```bash
|
||||
yarn install
|
||||
yarn build
|
||||
yarn dev
|
||||
```
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ describe('Visit the whole site as anonymous', function() {
|
||||
|
||||
//Page des entreprises
|
||||
cy.visit('/Entreprises')
|
||||
cy.get('.cypCardCompany').first().click()
|
||||
cy.get('.cypCardCompany').last().click()//could use .eq(2) instead of .last()
|
||||
cy.get('.player').should('exist')
|
||||
|
||||
//Help
|
||||
|
||||
|
Before Width: | Height: | Size: 143 KiB After Width: | Height: | Size: 134 KiB |
|
Before Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 160 KiB |
|
Before Width: | Height: | Size: 160 KiB |
|
Before Width: | Height: | Size: 160 KiB |
|
Before Width: | Height: | Size: 160 KiB After Width: | Height: | Size: 176 KiB |
|
Before Width: | Height: | Size: 131 KiB |
|
Before Width: | Height: | Size: 131 KiB |
|
Before Width: | Height: | Size: 131 KiB |
|
Before Width: | Height: | Size: 131 KiB After Width: | Height: | Size: 112 KiB |
|
Before Width: | Height: | Size: 131 KiB |
|
Before Width: | Height: | Size: 132 KiB |
|
Before Width: | Height: | Size: 131 KiB |
|
Before Width: | Height: | Size: 131 KiB |
@@ -56,7 +56,8 @@ const styles = theme => ({
|
||||
class VerifyEmail extends Component {
|
||||
render() {
|
||||
const { classes, email } = this.props;
|
||||
|
||||
console.log("render")
|
||||
console.log(this.props)
|
||||
return (
|
||||
<Layout text="Inscription">
|
||||
<Head>
|
||||
@@ -91,9 +92,11 @@ class VerifyEmail extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
VerifyEmail.getInitialProps = function (context) {
|
||||
const email = context.query
|
||||
return email
|
||||
VerifyEmail.getInitialProps = async function (context) {
|
||||
const {email} = context.query;
|
||||
console.log("email")
|
||||
console.log(email)
|
||||
return {email}
|
||||
}
|
||||
|
||||
export default withStyles(styles)(VerifyEmail)
|
||||
@@ -41,7 +41,7 @@ class MyApp extends App {
|
||||
}
|
||||
|
||||
render() {
|
||||
const { Component, store } = this.props;
|
||||
const { Component, pageProps, store } = this.props;
|
||||
return (
|
||||
<StylesProvider injectFirst>
|
||||
{/* Wrap every page in Jss and Theme providers */}
|
||||
@@ -54,7 +54,7 @@ class MyApp extends App {
|
||||
<Provider store={store}>
|
||||
<WebPush>
|
||||
{/* <PersistGate loading={null} persistor={store.__persistor}> */}
|
||||
<Component pageContext={this.pageContext} />
|
||||
<Component pageContext={this.pageContext} {...pageProps} />
|
||||
|
||||
</WebPush>
|
||||
{/* </PersistGate> */}
|
||||
|
||||
@@ -8,10 +8,10 @@ import theme from '../components/atoms/theme'
|
||||
import { GA_TRACKING_ID } from '../src/gtag'
|
||||
class MyDocument extends Document {
|
||||
|
||||
static async getInitialProps(ctx) {
|
||||
const initialProps = await Document.getInitialProps(ctx)
|
||||
return { ...initialProps }
|
||||
}
|
||||
// static async getInitialProps(ctx) {
|
||||
// const initialProps = await Document.getInitialProps(ctx)
|
||||
// return { ...initialProps }
|
||||
// }
|
||||
|
||||
|
||||
render() {
|
||||
|
||||
@@ -20,6 +20,7 @@ const { ANALYZE, DEV } = process.env
|
||||
});
|
||||
module.exports = withPlugins(
|
||||
[
|
||||
[{target: 'serverless'}],
|
||||
[withCSS],
|
||||
[optimizedImages, {
|
||||
/* config for next-optimized-images */
|
||||
|
||||