Skip to content

Commit fef887f

Browse files
ashleywolfCopilot
andcommitted
Add intro text to Ships page
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent f080492 commit fef887f

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

components/ships/Ships.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ const Ships = ({ ships }) => {
2626

2727
return (
2828
<section className="ships">
29+
<div className="ships__intro">
30+
<h2 className="ships__heading">Recent ships for maintainers</h2>
31+
<p className="ships__subtitle">GitHub features and updates that make maintaining open source projects easier. Shipped recently or coming soon.</p>
32+
</div>
2933
<div className="ships__grid">
3034
{sorted.map((ship) => (
3135
<article key={ship.url} className="ships__card">

components/ships/ships.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,22 @@
99
padding-right: spacing(4);
1010
}
1111

12+
&__intro {
13+
margin-bottom: spacing(5);
14+
max-width: 640px;
15+
}
16+
17+
&__heading {
18+
@extend %header-2;
19+
color: $white;
20+
margin-bottom: spacing(2);
21+
}
22+
23+
&__subtitle {
24+
@extend %body-1;
25+
color: $white-50;
26+
}
27+
1228
&__empty {
1329
text-align: center;
1430
padding: spacing(8) spacing(2);

0 commit comments

Comments
 (0)