Skip to content

Commit 329b094

Browse files
committed
update copy
1 parent 3d1fde5 commit 329b094

File tree

1 file changed

+11
-25
lines changed

1 file changed

+11
-25
lines changed

usehooks.com/src/components/CountdownBanner.astro

Lines changed: 11 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -65,21 +65,16 @@ import Button from "../components/Button.astro";
6565
</div>
6666
</div>
6767
<p>
68-
Get up to <strong>25% off</strong> the react.gg course, plus a <strong>FREE</strong> ui.dev t-shirt if you buy before this giant clock goes to zero.
68+
Want to learn how to build useHooks yourself? Get 25% off our brand new
69+
React course during our launch sale.
6970
</p>
7071
<Button
7172
type="link"
72-
href="https://react.gg/#register"
73+
href="https://react.gg/"
7374
color="yellow"
7475
size="large"
75-
text="Get the course + t-shirt now"
76+
text="Check it out"
7677
/>
77-
<!-- <ol class="footnotes">
78-
<li>Literally the cheapest this course will ever be</li>
79-
<li>Our shirts are very soft</li>
80-
<li>We’ll probably send you stickers too</li>
81-
<li>We might lose money on this but wdgaf</li>
82-
</ol> -->
8378
</section>
8479

8580
<style>
@@ -115,8 +110,9 @@ import Button from "../components/Button.astro";
115110

116111
.banner p {
117112
text-align: center;
118-
max-width: 50ch;
113+
max-width: 45ch;
119114
justify-self: center;
115+
margin-top: 8px;
120116
}
121117

122118
.info-main {
@@ -125,6 +121,7 @@ import Button from "../components/Button.astro";
125121

126122
p {
127123
line-height: 1.3;
124+
font-size: 20px;
128125
}
129126

130127
p strong {
@@ -141,30 +138,19 @@ import Button from "../components/Button.astro";
141138
transform: translateY(-0.2em);
142139
}
143140

141+
p a {
142+
color: var(--white);
143+
}
144+
144145
.button {
145146
margin: 1rem 0;
146147
justify-self: center;
147148
}
148149

149150
.day-one .button.large {
150-
padding-right: 5em !important;
151151
position: relative;
152152
}
153153

154-
.day-one .button::after {
155-
content: "";
156-
width: 5.4em;
157-
aspect-ratio: 46 / 40;
158-
display: block;
159-
position: absolute;
160-
right: -1%;
161-
top: 50%;
162-
background-repeat: no-repeat;
163-
background-image: url("/img/bytes-tshirt.png");
164-
background-size: contain;
165-
transform: translateY(-52%) rotate(15deg);
166-
}
167-
168154
.footnotes {
169155
display: flex;
170156
justify-content: center;

0 commit comments

Comments
 (0)