diff --git a/scripts/createConnections.js b/scripts/createConnections.js index 25faf6778ede16c95bea3278334ac3d43ddb8da5..b11b4fa8c37a26dca83d2c8dd5855ac5990436e8 100644 --- a/scripts/createConnections.js +++ b/scripts/createConnections.js @@ -3,10 +3,8 @@ const axios = require('axios') const headers = { Accept: 'application/json', - Authorization: - 'Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJhcHAiLCJpYXQiOjE2MTA5NzQ2NTcsImlzcyI6ImNvenkudG9vbHM6ODA4MCIsInN1YiI6ImVjb2x5byIsInNlc3Npb25faWQiOiI1MDdhZWM5Nzk2OTQ3ZTUyN2RmMjNkYTk4YjAwOTQyOCJ9.yY4Yo6ivG6tSQZD6vLAkViXLr7xDlHR4cRgisxygDAOa3xgE_s9HsAIOK3cnVpgtWX5EMDj7_DDSTwpafsH4EA', - Cookie: - 'cozysessid=AAAAAF-gMKM1MDdhZWM5Nzk2OTQ3ZTUyN2RmMjNkYTk4YjAwOTQyOOlLByKqEpQO5ILG097miDWOPxgXVnPRr01p73w_YOv9', + Authorization: 'Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', + Cookie: 'cozysessid=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'content-type': 'application/json', } diff --git a/src/components/Ecogesture/ecogestureList.scss b/src/components/Ecogesture/ecogestureList.scss deleted file mode 100644 index 9a77dc7b9adcc2ee9dcef441d832c4e13720dc77..0000000000000000000000000000000000000000 --- a/src/components/Ecogesture/ecogestureList.scss +++ /dev/null @@ -1,155 +0,0 @@ -@import 'src/styles/base/breakpoint'; -@import 'src/styles/base/color'; - -// EcogestureCardContainer -.ecogesture-root { - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - padding: 1rem 1.5rem 2.5rem 1.5rem; - .negawatt-button-content { - max-width: 52rem; - width: 97%; - @media #{$tablet} { - width: 97%; - } - @media #{$large-phone} { - width: 97%; - } - .order-container { - display: flex; - width: 40px; - height: 40px; - box-sizing: border-box; - border: 1px solid #7b7b7b; - margin: 0 1rem; - .order-button { - margin: auto; - position: relative; - top: 2px; - } - } - - .ng-question { - margin-left: auto; - text-decoration: underline; - } - - .filters { - display: flex; - align-items: center; - justify-content: space-between; - height: 50px; - color: white; - position: relative; - .filter { - height: 45px; - display: flex; - align-items: center; - justify-content: flex-start; - svg { - margin-right: 1rem; - } - .checkicon { - opacity: 0; - margin-left: auto; - transition: all 300ms ease; - &.active { - opacity: 1; - } - } - } - .ecogestures { - margin-bottom: 1rem; - font-size: 0.95rem; - - &.opened { - color: $gold-shadow; - } - } - .filter-button { - display: flex; - .button { - margin: auto; - display: flex; - align-items: center; - span { - display: inline-flex; - margin-bottom: 0; - transition: all 300ms ease; - } - svg { - margin-right: 1rem; - margin-left: -0.5rem; - } - } - } - - .dropdown { - position: absolute; - top: 3.5rem; - background: linear-gradient( - 0deg, - rgba(255, 255, 255, 0.09), - rgba(255, 255, 255, 0.09) - ), - linear-gradient(180deg, #323339 0%, #25262b 100%); - border: 1px solid $soft-grey; - box-sizing: border-box; - box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.55); - border-radius: 4px; - display: none; - z-index: 3; - min-width: 230px; - padding: 0.5rem 0rem; - font-size: 0.875rem; - left: 0; - transition: all 300ms ease; - &.opened { - display: block; - } - .filter { - padding: 0 1rem; - &.filter-active { - background: rgba(160, 160, 160, 0.2); - } - } - } - } - } - .ecogesture-content { - display: flex; - flex-wrap: wrap; - justify-content: space-around; - max-width: 53rem; - animation: appear 600ms ease; - - @media #{$tablet} { - width: 100%; - } - @media #{$large-phone} { - width: 100%; - } - - @keyframes appear { - from { - opacity: 0; - } - to { - opacity: 1; - } - } - .ecogesture-list-item { - width: 48%; - height: 8rem; - margin: 1% 1%; - animation: appear 600ms ease; - } - .ecogesture-list-item > button { - height: 100%; - overflow: hidden; - animation: appear 600ms ease; - } - } -} diff --git a/src/components/Ecogesture/ecogestureModal.scss b/src/components/Ecogesture/ecogestureModal.scss deleted file mode 100644 index 0956bc70a4333dcdb938b0e682c687ae37d6c17a..0000000000000000000000000000000000000000 --- a/src/components/Ecogesture/ecogestureModal.scss +++ /dev/null @@ -1,102 +0,0 @@ -@import 'src/styles/base/breakpoint'; -@import 'src/styles/base/color'; - -.em-header { - color: $grey-bright; - border-bottom: 1px solid rgba(163, 163, 163, 0.4); - padding-bottom: 1em; - width: 100%; - display: flex; - justify-content: center; -} - -.em-root { - overflow: auto; - width: 100%; - display: flex; - justify-content: center; - /* width */ - &::-webkit-scrollbar { - width: 10px; - } - /* Track */ - &::-webkit-scrollbar-track { - background: $scrollbar-track; - } - /* Handle */ - &::-webkit-scrollbar-thumb { - background: $scrollbar-thumb; - } - .em-content { - padding: 1.5rem 2.5rem 0; - - @media #{$large-phone} { - width: 100%; - padding: 1.5rem 1.5rem 0; - } - .em-content-box-img { - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - .icon { - margin-bottom: 1rem; - } - } - .em-detail { - display: flex; - flex-direction: row; - margin: 0.5em 0; - .em-detail-nwh { - display: flex; - flex: 1; - align-self: flex-start; - margin-top: 0.65rem; - color: $soft-grey; - .em-detail-nwh-unit { - margin-left: 0.2rem; - } - } - .em-picto-flow { - display: flex; - align-self: flex-end; - .em-pic-content { - margin: 0.3em; - } - } - } - .em-title { - margin-bottom: 0; - text-align: center; - } - - .long-name { - font-weight: bold; - line-height: 150%; - margin: 0.5rem 0 1rem; - } - .em-description { - padding-bottom: 2rem; - } - } -} -.em-content-box-text { - display: flex; - flex-direction: column; - padding: 1.5rem 2.5rem; - @media #{$large-phone} { - padding: 1.5rem 1.5rem; - } - .em-description { - padding-bottom: 2rem; - } - .em-description-2 { - padding-top: 2rem; - } - .em-description-3 { - padding-bottom: 0.5rem; - } - .em-title { - margin-bottom: 0; - } -} diff --git a/src/components/Splash/splashRoot.scss b/src/components/Splash/splashRoot.scss deleted file mode 100644 index 11f02d688547e70bd3f40719993fcabd7356472b..0000000000000000000000000000000000000000 --- a/src/components/Splash/splashRoot.scss +++ /dev/null @@ -1,21 +0,0 @@ -@import 'src/styles/base/color'; -@import 'src/styles/base/breakpoint'; - -.splash-root { - position: fixed; - z-index: 1500; - left: 0; - top: 0; - height: 100vh; - width: 100vw; - opacity: 1; - overflow: hidden; - background-color: rgba(27, 28, 34, 1); - display: flex; - flex-direction: column; - transition-property: opacity; - transition-timing-function: ease-in-out; - &.splash-fade { - opacity: 0; - } -}