Skip to content

Commit 2aa4d22

Browse files
committed
Remove news section from homepage for now #6
1 parent b8e4577 commit 2aa4d22

File tree

6 files changed

+0
-56
lines changed

6 files changed

+0
-56
lines changed
-19.4 KB
Loading
-19.9 KB
Loading
-19.6 KB
Loading

src/pages/index.astro

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -50,33 +50,6 @@ import PageHead from '../components/PageHead.astro';
5050
</div>
5151
</div>
5252
</section>
53-
54-
<section class="news-section" data-theme="dark">
55-
<div class="[ wrapper ] [ flow ]">
56-
<p class="section-label">News and updates</p>
57-
<ul class="grid" role="list" style="--grid-min-size: 200px;">
58-
<li>
59-
<article class="[ card ] [ flow ]">
60-
<h3>[Blog post title]</h3>
61-
<p>[Lead]</p>
62-
</article>
63-
</li>
64-
<li>
65-
<article class="[ card ] [ flow ]">
66-
<h3>[Blog post title]</h3>
67-
<p>[Lead]</p>
68-
</article>
69-
</li>
70-
<li>
71-
<article class="[ card ] [ flow ]">
72-
<h3>[Blog post title]</h3>
73-
<p>[Lead]</p>
74-
</article>
75-
</li>
76-
</ul>
77-
<a class="button" href="#">More news and updates</a>
78-
</div>
79-
</section>
8053
</main>
8154

8255
<Footer />

src/styles/blocks.css

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -243,34 +243,6 @@ body:has(.mobile-nav:target) {
243243
color: var(--color-pink);
244244
}
245245

246-
/* ---- news-section ---- */
247-
.news-section {
248-
padding-block: var(--space-2xl);
249-
}
250-
251-
.news-section .section-label {
252-
font-size: var(--font-size-sm);
253-
font-weight: var(--font-weight-semibold);
254-
color: var(--color-peach-text);
255-
margin-block-end: var(--space-md);
256-
}
257-
258-
/* ---- card ---- */
259-
.card {
260-
border: 1px solid rgba(27, 10, 60, 0.15);
261-
border-radius: 0.5rem;
262-
padding: var(--space-md);
263-
--flow-space: var(--space-xs);
264-
}
265-
266-
.card h3 {
267-
color: var(--color-peach-text);
268-
}
269-
270-
.card p {
271-
color: rgba(27, 10, 60, 0.65);
272-
}
273-
274246
/* ---- cta-section ---- */
275247
.cta-section {
276248
padding-block: var(--space-2xl);

src/styles/typography.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ h2 .dot {
7878
}
7979

8080

81-
/* News section heading and blog card titles */
8281
h3 {
8382
font-size: var(--font-size-sm);
8483
font-weight: var(--font-weight-semibold);

0 commit comments

Comments
 (0)