File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 2
2
import Button from " ../components/Button.astro" ;
3
3
---
4
4
5
- <!-- Show this one on Day 2 of launch week --><!-- <section class="banner week">
6
- <h3>Launch Week Sale</h3>
5
+ <!-- Show this one on Day 2 of launch week -->
6
+ <!-- <section class="banner week">
7
+ <h3><img src="/img/react-gg-logo-sticker.svg" width="358" height="86" alt="react.gg" /> Launch Week Sale</h3>
7
8
<div class="countdown">
8
9
<div class="number day">
9
10
<span id="days" class="time">5</span>
@@ -36,9 +37,10 @@ import Button from "../components/Button.astro";
36
37
<ol class="footnotes">
37
38
<li>Literally the cheapest this course will ever be</li>
38
39
</ol>
39
- </section> --><!-- Show this one on Day 1 of launch week -->
40
+ </section> -->
41
+ <!-- Show this one on Day 1 of launch week -->
40
42
<section class =" banner day-one" >
41
- <h3 >Launch Day Sale</h3 >
43
+ <h3 >< img src = " /img/react-gg-logo-sticker.svg " width = " 358 " height = " 86 " alt = " react.gg " /> Launch Day Sale</h3 >
42
44
<div class =" countdown" >
43
45
<div class =" number hour" >
44
46
<span id =" hours" class =" time" >22</span >
@@ -87,11 +89,21 @@ import Button from "../components/Button.astro";
87
89
88
90
.banner h3 {
89
91
padding: 0.3em;
92
+ display: flex;
93
+ justify-content: center;
94
+ align-items: center;
95
+ gap: .5rem;
90
96
background-color: var(--brand-pink);
91
97
border: var(--border-dark);
92
98
border-radius: 0.3rem;
93
99
box-shadow: 2px 2px 0 var(--charcoal);
94
100
text-align: center;
101
+ font-size: clamp(1rem, 2.2vw, 1.5rem);
102
+ }
103
+
104
+ .banner h3 img {
105
+ width: auto;
106
+ max-height: 30px;
95
107
}
96
108
97
109
.banner p {
Original file line number Diff line number Diff line change 248
248
font-size : var (--font-md );
249
249
}
250
250
251
-
252
251
small {
253
252
font-size : var (--font-sm );
254
253
}
You can’t perform that action at this time.
0 commit comments