Skip to content

Commit def7887

Browse files
committed
site: fix stay up to date section
1 parent c8706d9 commit def7887

File tree

1 file changed

+41
-30
lines changed

1 file changed

+41
-30
lines changed

site/src/pages/index.tsx

Lines changed: 41 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -141,55 +141,66 @@ function MonthlyReviewsSection() {
141141
className="text--center"
142142
style={{
143143
display: "flex",
144+
flexDirection: "column",
144145
justifyContent: "center",
145146
alignItems: "center",
146-
gap: 16,
147+
gap: 24,
147148
}}
148149
>
149-
<Link
150-
className="button button--primary button--lg"
151-
to="https://www.youtube.com/watch?v=wXqKpQT2H3Y&list=PLnPTB0CuBOBzWWpnojAK3ZaFy9RdofP6l&index=2"
152-
target="_blank"
153-
rel="noopener noreferrer"
150+
<div
151+
className="text--center"
154152
style={{
155153
display: "flex",
156154
flexDirection: "column",
155+
justifyContent: "center",
157156
alignItems: "center",
158-
minWidth: 180,
159157
}}
160158
>
161-
<span>Watch Live</span>
162-
<span
159+
<Link
160+
className="button button--primary button--lg"
161+
to="https://www.youtube.com/watch?v=wXqKpQT2H3Y&list=PLnPTB0CuBOBzWWpnojAK3ZaFy9RdofP6l&index=2"
162+
target="_blank"
163+
rel="noopener noreferrer"
163164
style={{
164-
fontSize: "0.68em",
165-
fontWeight: 600,
166-
color:
167-
"var(--ifm-color-primary-contrast-background, #222)",
168-
marginTop: 2,
169-
lineHeight: 1.2,
165+
display: "flex",
166+
flexDirection: "column",
167+
alignItems: "center",
168+
minWidth: 180,
170169
}}
171170
>
172-
{countdown}
173-
</span>
174-
</Link>
171+
<span>Watch Live</span>
172+
<span
173+
style={{
174+
fontSize: "0.68em",
175+
fontWeight: 600,
176+
color:
177+
"var(--ifm-color-primary-contrast-background, #222)",
178+
marginTop: 2,
179+
lineHeight: 1.2,
180+
}}
181+
>
182+
{countdown}
183+
</span>
184+
</Link>
185+
<div
186+
style={{
187+
fontSize: "1rem",
188+
marginTop: 10,
189+
color: "var(--ifm-color-emphasis-800)",
190+
textAlign: "center",
191+
fontWeight: 500,
192+
}}
193+
>
194+
Next update: {nextDate}
195+
</div>
196+
</div>
175197
<Link
176198
className={clsx(styles.underlineLink)}
177199
to="/docs/development/monthly-reviews"
178200
>
179-
Catch Up Now
201+
Catch Up on Past Reviews
180202
</Link>
181203
</div>
182-
<div
183-
style={{
184-
fontSize: "1rem",
185-
marginTop: 10,
186-
color: "var(--ifm-color-emphasis-800)",
187-
textAlign: "center",
188-
fontWeight: 500,
189-
}}
190-
>
191-
Next update: {nextDate}
192-
</div>
193204
</div>
194205
</div>
195206
</div>

0 commit comments

Comments
 (0)