Skip to content

Commit 463514e

Browse files
Merge pull request #60 from Groway-Studio/develop
Develop
2 parents feb1570 + b82aed3 commit 463514e

3 files changed

Lines changed: 20 additions & 14 deletions

File tree

src/component/hero.tsx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,16 @@ export default function Hero() {
9595
</article>
9696
</div>
9797
<aside className="formInfo-hero">
98-
<div className="formInfo-hero__ribbon">33% OFF</div>
98+
{/* <div className="formInfo-hero__ribbon">33% OFF</div> */}
9999
<h2>
100-
Early Bird <span>Sale!</span>
100+
{/* Early Bird */}
101+
<span>Precio General</span>
102+
{/* <span>Sale!</span> */}
101103
</h2>
102-
<p>
103-
¡Aprovecha la venta anticipada para adquirir tu lugar en el curso
104-
con un precio especial!
105-
</p>
104+
{/* <p>
105+
¡Aprovecha este curso para adquirir conocimientos en el lenguaje de
106+
programación Python de la mano de un experto en el campo!
107+
</p> */}
106108
<Form id="checkoutForm" onSubmit={handleSubmit}>
107109
<FormGroup>
108110
<Label htmlFor="firstName">Nombre</Label>
@@ -146,12 +148,12 @@ export default function Hero() {
146148
/>
147149
</FormGroup>
148150

149-
<div className="offer">
151+
{/* <div className="offer">
150152
<div>
151153
<small>USD</small>
152154
<span>150</span>
153155
</div>
154-
</div>
156+
</div> */}
155157

156158
<Button type="submit">
157159
Comprar por USD {getCurrentPrice()}.00

src/sass/base/_base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ $desktop_xl: 1920px;
7676
position: relative;
7777

7878
@include tablet {
79-
grid-column: 1 / -1;
79+
grid-column: 1 / -5;
8080
}
8181

8282
input {

src/sass/component/_hero.scss

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,13 @@
212212
.formInfo-hero {
213213
background-color: #3774a6;
214214
border-radius: 10px;
215-
padding: 32px;
215+
padding: 2rem;
216216
height: 100%;
217217
position: relative;
218218
overflow: hidden;
219+
display: flex;
220+
flex-direction: column;
221+
justify-content: space-between;
219222

220223
&__ribbon {
221224
position: absolute;
@@ -252,7 +255,7 @@
252255

253256
button {
254257
cursor: pointer;
255-
grid-column: -1 / 4;
258+
grid-column: -1 / 1;
256259
height: 100%;
257260
margin-top: 0.8rem;
258261
max-height: 2.5rem;
@@ -262,15 +265,16 @@
262265
font-size: 1rem;
263266
line-height: 1.2rem;
264267
padding: 0 2rem;
268+
height: 3rem;
265269

266270
&:hover {
267271
box-shadow: 0 5px 15px #0000004d;
268272
transform: scale(1.05);
269273
}
270274

271275
@include phone {
272-
grid-column: -6 / -1;
273-
margin-top: 1rem;
276+
// grid-column: -6 / -1;
277+
margin-top: 0.4rem;
274278
padding: 0 1rem;
275279
font-size: 0.8125rem;
276280

@@ -280,8 +284,8 @@
280284
}
281285

282286
@include tablet {
283-
grid-column: -1 / -7;
284287
margin-top: 20px;
288+
grid-column: 5 / -1;
285289
padding: 0;
286290
position: unset;
287291

0 commit comments

Comments
 (0)