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 22import Button from " ../components/Button.astro" ;
33---
44
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>
78 <div class="countdown">
89 <div class="number day">
910 <span id="days" class="time">5</span>
@@ -36,9 +37,10 @@ import Button from "../components/Button.astro";
3637 <ol class="footnotes">
3738 <li>Literally the cheapest this course will ever be</li>
3839 </ol>
39- </section> --><!-- Show this one on Day 1 of launch week -->
40+ </section> -->
41+ <!-- Show this one on Day 1 of launch week -->
4042<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 >
4244 <div class =" countdown" >
4345 <div class =" number hour" >
4446 <span id =" hours" class =" time" >22</span >
@@ -87,11 +89,21 @@ import Button from "../components/Button.astro";
8789
8890 .banner h3 {
8991 padding: 0.3em;
92+ display: flex;
93+ justify-content: center;
94+ align-items: center;
95+ gap: .5rem;
9096 background-color: var(--brand-pink);
9197 border: var(--border-dark);
9298 border-radius: 0.3rem;
9399 box-shadow: 2px 2px 0 var(--charcoal);
94100 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;
95107 }
96108
97109 .banner p {
Original file line number Diff line number Diff line change 248248 font-size : var (--font-md );
249249}
250250
251-
252251small {
253252 font-size : var (--font-sm );
254253}
You can’t perform that action at this time.
0 commit comments