contentoh-components-library 21.0.57 → 21.0.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,24 +4,25 @@ import { GlobalColors, FontFamily } from "../../../global-files/variables";
4
4
  export const Container = styled.div`
5
5
  background: transparent;
6
6
  cursor: pointer;
7
- width: 40px;
8
- margin-left: 9px;
7
+ width: 40px !important;
8
+ margin: 9px;
9
9
  position: relative;
10
- & + * {
11
- margin-left: 9px;
12
- }
13
10
  `;
14
11
  export const Slider = styled.div`
15
12
  font-family: sans-serif;
16
13
  margin: auto;
17
14
  background: #281f33;
18
15
  border-radius: 6px;
19
- width: 310px;
16
+
20
17
  padding: 16px;
21
18
  padding-top: 20px;
22
19
  box-sizing: border-box;
23
20
  position: absolute;
24
- top: 50px;
21
+ top: calc(100% + 25px);
22
+ left: calc(50% - 223px / 2);
23
+ #div-slider {
24
+ width: 310px;
25
+ }
25
26
  ul,
26
27
  li {
27
28
  padding: 0;
@@ -33,6 +34,7 @@ export const Slider = styled.div`
33
34
  max-width: 300px;
34
35
  width: 100%;
35
36
  height: 270px;
37
+ margin: 0;
36
38
  li {
37
39
  position: absolute;
38
40
  left: 0px;
@@ -111,11 +113,10 @@ export const Slider = styled.div`
111
113
  }
112
114
  }
113
115
  button {
114
- display: flex;
116
+ display: none;
115
117
  justify-content: center;
116
118
  align-items: center;
117
119
  padding: 10px;
118
- position: absolute;
119
120
  width: 160px;
120
121
  height: 30px;
121
122
  border: 1px solid #d4d1d7;
@@ -128,20 +129,22 @@ export const Slider = styled.div`
128
129
  font-size: 18px;
129
130
  line-height: 25px;
130
131
  letter-spacing: -0.015em;
131
- left: 21%;
132
132
  position: absolute;
133
- top: 80%;
133
+ left: 22%;
134
+ top: 88%;
134
135
  cursor: pointer;
135
136
  }
136
137
  }
137
- li:first-child {
138
- opacity: 1; /*Mostramos el primer <li>*/
139
- }
140
- li:target {
141
- opacity: 1; /*Mostramos el primer <li>*/
142
- }
138
+ }
139
+
140
+ li:first-child {
141
+ opacity: 1; /*Mostramos el primer <li>*/
142
+ }
143
+ li:target {
144
+ opacity: 1; /*Mostramos el primer <li>*/
143
145
  }
144
146
  .menu {
147
+ margin: 0;
145
148
  text-align: center;
146
149
  li {
147
150
  display: inline-block;
@@ -152,11 +155,14 @@ export const Slider = styled.div`
152
155
  a {
153
156
  display: inline-block;
154
157
  text-decoration: none;
155
- background-color: grey;
158
+ background-color: #c4c4c4;
156
159
  width: 10px;
157
160
  height: 10px;
158
161
  border-radius: 100%;
159
162
  }
163
+ #slidea1 {
164
+ background-color: #e33aa9;
165
+ }
160
166
  }
161
167
  }
162
168
  `;
@@ -87,12 +87,14 @@ export const SignInLogin = (props) => {
87
87
  }
88
88
  }
89
89
  } catch (error) {
90
- console.log(error);
90
+ console.log(error.code);
91
91
  setLoading(false);
92
92
  console.log("error 1");
93
93
  if (error.code === "NotAuthorizedException") {
94
94
  setSignInError("NotAuthorizedException");
95
+ console.log("not autho");
95
96
  } else if (error.code === "UserNotConfirmedException") {
97
+ console.log("not user");
96
98
  sessionStorage.setItem(
97
99
  "email",
98
100
  JSON.stringify(
@@ -103,7 +105,6 @@ export const SignInLogin = (props) => {
103
105
  props.setPaso(5);
104
106
  } else {
105
107
  setSignInError("Error");
106
- console.log("error 2");
107
108
  }
108
109
  }
109
110
  }