@@ -4,32 +4,32 @@ import CountdownTimer from "./CountdownTimer";
44---
55
66<aside class =" reactgg-container container" >
7- <div class =" reactgg-banner" >
8- <a href =" https://react.gg?s=usehooks" class =" reactgg-header" >
9- <img
10- src ={ " /img/banner-sale-reactgg.svg" }
11- alt =" react.gg - The interactive way to master modern React"
12- class =" reactgg-headline"
7+ <div class =" reactgg-banner" >
8+ <a href =" https://react.gg?s=usehooks" class =" reactgg-header" >
9+ <img
10+ src ={ " /img/banner-sale-reactgg.svg" }
11+ alt =" react.gg - The interactive way to master modern React"
12+ class =" reactgg-headline"
13+ />
14+ </a >
15+ <div class =" reactgg-spacer" ></div >
16+ <div class =" reactgg-cta" >
17+ <div class =" reactgg-cta-container" >
18+ <h2 >react.gg Launch Sale</h2 >
19+ <p >Up to 25% off through May 16th</p >
20+ <CountdownTimer client:only targetDate =" 2025-05-16" />
21+ <Button
22+ text =" Join Now"
23+ size =" small"
24+ href =" https://react.gg?s=usehooks"
25+ type =" link"
26+ color =" yellow"
27+ class =" join-now mt-4 mb-1 lg:mb-2 inline-block"
1328 />
14- </a >
15- <div class =" reactgg-spacer" ></div >
16- <div class =" reactgg-cta" >
17- <div class =" reactgg-cta-container" >
18- <h2 >react.gg Launch Sale</h2 >
19- <p >Up to 25% off through May 10th</p >
20- <CountdownTimer targetDate =" 2025-05-10" />
21- <Button
22- text =" Join Now"
23- size =" small"
24- href =" https://react.gg?s=usehooks"
25- type =" link"
26- color =" yellow"
27- class =" join-now mt-4 mb-1 lg:mb-2 inline-block"
28- />
29- </div >
3029 </div >
3130 </div >
32- </aside >
31+ </div >
32+ </aside >
3333
3434<style >
3535 .reactgg-container {
@@ -43,7 +43,7 @@ import CountdownTimer from "./CountdownTimer";
4343 background-color: var(--brand-charcoal);
4444 border: 2px solid var(--brand-charcoal);
4545 border-radius: 8px;
46- box-shadow: .2rem .2rem 0 var(--brand-charcoal);
46+ box-shadow: 0 .2rem 0 .2rem 0 var(--brand-charcoal);
4747 overflow: hidden;
4848 @media (min-width: 1024px) {
4949 display: grid;
@@ -58,7 +58,7 @@ import CountdownTimer from "./CountdownTimer";
5858 align-content: center;
5959 height: 190px;
6060 overflow: hidden;
61- @media (min-width: 1024px) {
61+ @media (min-width: 1024px) {
6262 height: 280px;
6363 grid-column: 1 / 3;
6464 grid-row: 1;
@@ -77,7 +77,7 @@ import CountdownTimer from "./CountdownTimer";
7777 background-color: var(--brand-green);
7878 z-index: 0;
7979 transform: skew(-7deg);
80- @media (min-width: 1024px) {
80+ @media (min-width: 1024px) {
8181 display: block;
8282 grid-column: 2;
8383 grid-row: 1;
@@ -92,7 +92,7 @@ import CountdownTimer from "./CountdownTimer";
9292 background-color: var(--brand-green);
9393 color: var(--brand-charcoal);
9494 z-index: 10;
95- @media (min-width: 1024px) {
95+ @media (min-width: 1024px) {
9696 padding-bottom: 0;
9797 grid-row: 1;
9898 grid-column: 3;
@@ -108,25 +108,25 @@ import CountdownTimer from "./CountdownTimer";
108108
109109 h2 {
110110 margin-top: 0;
111- margin-bottom: 0.5rem;
111+ margin-bottom: 0.5rem;
112112 font-size: 1.25rem;
113- line-height: 1.75rem;
114- font-weight: 600;
113+ line-height: 1.75rem;
114+ font-weight: 600;
115115 color: var(--brand-coal);
116- @media (min-width: 1024px) {
116+ @media (min-width: 1024px) {
117117 font-size: 1.5rem;
118118 line-height: 2rem;
119119 }
120- @media (min-width: 1280px) {
120+ @media (min-width: 1280px) {
121121 font-size: 1.875rem;
122- line-height: 2.25rem;
122+ line-height: 2.25rem;
123123 }
124124 }
125125
126126 h2 + p {
127127 margin-top: 0;
128- margin-bottom: 1.2rem;
129- text-transform: none;
128+ margin-bottom: 1.2rem;
129+ text-transform: none;
130130 font-size: 90%;
131131 }
132132 }
@@ -135,5 +135,4 @@ import CountdownTimer from "./CountdownTimer";
135135 :global(.countdown-number) {
136136 font-size: clamp(1rem, 4vw, 1.5rem);
137137 }
138-
139138</style >
0 commit comments