Skip to content

Commit ec1daf9

Browse files
committed
Convert h4s to p in heading section on blog, world, community and foundation
1 parent 0aff610 commit ec1daf9

File tree

6 files changed

+8
-13
lines changed

6 files changed

+8
-13
lines changed

_pages/community.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<div class="heading__headline common-headline">
1313
<h1>We make Rails better.</h1>
1414

15-
<h4>Rails is improving every year from the work of thousands of volunteers contributing in ways big and small. Everyone can help make this framework better whether they’ve been using it since the beginning or they just started yesterday.</h4>
15+
<p>Rails is improving every year from the work of thousands of volunteers contributing in ways big and small. Everyone can help make this framework better whether they’ve been using it since the beginning or they just started yesterday.</p>
1616
</div>
1717
</div>
1818
</div>

_pages/foundation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<div class="heading__body">
1313
<div class="heading__headline common-headline">
1414
<h1>The Rails Foundation.</h1>
15-
<h4>A non-profit organization helping our ecosystem prosper.</h4>
15+
<p>A non-profit organization helping our ecosystem prosper.</p>
1616
</div>
1717
</div>
1818
</div>

_sass/common/_headline.scss

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
line-height: 34px;
3535
}
3636

37-
h4 {
37+
h4, p {
3838

3939
color: $color-black;
4040
font-size: 26px;
@@ -110,14 +110,10 @@
110110
line-height: 43px;
111111
}
112112

113-
h4 {
113+
h4, p {
114114
font-size: 39px;
115115
letter-spacing: -0.01em;
116116
line-height: 44px;
117117
}
118-
119118
}
120-
121-
122-
123119
}

_sass/modules/_heading.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
padding-bottom: 3px;
2727
}
2828

29-
h4 {
29+
h4, p {
3030
padding-top: 17px;
3131
}
3232

@@ -166,10 +166,9 @@
166166
padding-top: 4px;
167167
}
168168

169-
h4 {
169+
h4, p {
170170
padding-top: 20px;
171171
}
172-
173172
}
174173

175174
&__button {

blog/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<div class="heading__body">
99
<div class="heading__headline common-headline">
1010
<h1>The Rails Blog: News & Release Notes</h1>
11-
<h4>Discover the latest Rails news, version releases, community updates, and feature announcements.</h4>
11+
<p>Discover the latest Rails news, version releases, community updates, and feature announcements.</p>
1212
</div>
1313
</div>
1414
</div>

world/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<div class="heading__body">
1010
<div class="heading__headline common-headline">
1111
<h1>Rails World</h1>
12-
<h4>Shaping the future of Ruby on Rails.</h4>
12+
<p>Shaping the future of Ruby on Rails.</p>
1313
</div>
1414
</div>
1515
</div>

0 commit comments

Comments
 (0)