Skip to content

Commit ed25368

Browse files
[Docs] Remove some unnecessary Twitter references/examples (#41174)
* Remove some unnecessary Twitter references/examples * Changes suggested by @mdo
1 parent a2c9b39 commit ed25368

File tree

9 files changed

+60
-53
lines changed

9 files changed

+60
-53
lines changed

js/tests/visual/tooltip.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<div class="container">
2121
<h1>Tooltip <small>Bootstrap Visual Test</small></h1>
2222

23-
<p class="text-body-secondary">Tight pants next level keffiyeh <a href="#" data-bs-toggle="tooltip" title="Default tooltip">you probably</a> haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown. Farm-to-table seitan, mcsweeney's fixie sustainable quinoa 8-bit american apparel <a href="#" data-bs-toggle="tooltip" title="Another tooltip">have a</a> terry richardson vinyl chambray. Beard stumptown, cardigans banh mi lomo thundercats. Tofu biodiesel williamsburg marfa, four loko mcsweeney's cleanse vegan chambray. A really ironic artisan <a href="#" data-bs-toggle="tooltip" title="Another one here too">whatever keytar</a>, scenester farm-to-table banksy Austin <a href="#" data-bs-toggle="tooltip" title="The last tip!">X handle</a> freegan cred raw denim single-origin coffee viral.</p>
23+
<p class="text-body-secondary">Tight pants next level keffiyeh <a href="#" data-bs-toggle="tooltip" title="Default tooltip">you probably</a> haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown. Farm-to-table seitan, mcsweeney's fixie sustainable quinoa 8-bit american apparel <a href="#" data-bs-toggle="tooltip" title="Another tooltip">have a</a> terry richardson vinyl chambray. Beard stumptown, cardigans banh mi lomo thundercats. Tofu biodiesel williamsburg marfa, four loko mcsweeney's cleanse vegan chambray. A really ironic artisan <a href="#" data-bs-toggle="tooltip" title="Another one here too">whatever keytar</a>, scenester farm-to-table banksy Austin <a href="#" data-bs-toggle="tooltip" title="The last tip!">freegan cred</a> raw denim single-origin coffee viral.</p>
2424

2525
<hr>
2626

site/content/docs/5.3/content/tables.md

+30-25
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,9 @@ Highlight a table row or cell by adding a `.table-active` class.
141141
</tr>
142142
<tr>
143143
<th scope="row">3</th>
144-
<td colspan="2" class="table-active">Larry the Bird</td>
145-
<td>@x</td>
144+
<td>John</td>
145+
<td>Doe</td>
146+
<td class="table-active">@social</td>
146147
</tr>
147148
</tbody>
148149
</table>
@@ -162,8 +163,9 @@ Highlight a table row or cell by adding a `.table-active` class.
162163
</tr>
163164
<tr>
164165
<th scope="row">3</th>
165-
<td colspan="2" class="table-active">Larry the Bird</td>
166-
<td>@x</td>
166+
<td>John</td>
167+
<td>Doe</td>
168+
<td class="table-active">@social</td>
167169
</tr>
168170
</tbody>
169171
</table>
@@ -194,8 +196,9 @@ Highlight a table row or cell by adding a `.table-active` class.
194196
</tr>
195197
<tr>
196198
<th scope="row">3</th>
197-
<td colspan="2" class="table-active">Larry the Bird</td>
198-
<td>@x</td>
199+
<td>John</td>
200+
<td>Doe</td>
201+
<td class="table-active">@social</td>
199202
</tr>
200203
</tbody>
201204
</table>
@@ -215,8 +218,9 @@ Highlight a table row or cell by adding a `.table-active` class.
215218
</tr>
216219
<tr>
217220
<th scope="row">3</th>
218-
<td colspan="2" class="table-active">Larry the Bird</td>
219-
<td>@x</td>
221+
<td>John</td>
222+
<td>Doe</td>
223+
<td class="table-active">@social</td>
220224
</tr>
221225
</tbody>
222226
</table>
@@ -293,8 +297,9 @@ Add a thicker border, darker between table groups—`<thead>`, `<tbody>`, and `<
293297
</tr>
294298
<tr>
295299
<th scope="row">3</th>
296-
<td colspan="2">Larry the Bird</td>
297-
<td>@x</td>
300+
<td>John</td>
301+
<td>Doe</td>
302+
<td>@social</td>
298303
</tr>
299304
</tbody>
300305
</table>
@@ -418,9 +423,9 @@ Border styles, active styles, and table variants are not inherited by nested tab
418423
</tr>
419424
<tr>
420425
<th scope="row">3</th>
421-
<td>Larry</td>
422-
<td>the Bird</td>
423-
<td>@x</td>
426+
<td>John</td>
427+
<td>Doe</td>
428+
<td>@social</td>
424429
</tr>
425430
</tbody>
426431
</table>
@@ -482,9 +487,9 @@ Similar to tables and dark tables, use the modifier classes `.table-light` or `.
482487
</tr>
483488
<tr>
484489
<th scope="row">3</th>
485-
<td>Larry</td>
486-
<td>the Bird</td>
487-
<td>@x</td>
490+
<td>John</td>
491+
<td>Doe</td>
492+
<td>@social</td>
488493
</tr>
489494
</tbody>
490495
</table>
@@ -526,9 +531,9 @@ Similar to tables and dark tables, use the modifier classes `.table-light` or `.
526531
</tr>
527532
<tr>
528533
<th scope="row">3</th>
529-
<td>Larry</td>
530-
<td>the Bird</td>
531-
<td>@x</td>
534+
<td>John</td>
535+
<td>Doe</td>
536+
<td>@social</td>
532537
</tr>
533538
</tbody>
534539
</table>
@@ -572,9 +577,9 @@ Similar to tables and dark tables, use the modifier classes `.table-light` or `.
572577
</tr>
573578
<tr>
574579
<th scope="row">3</th>
575-
<td>Larry</td>
576-
<td>the Bird</td>
577-
<td>@x</td>
580+
<td>John</td>
581+
<td>Doe</td>
582+
<td>@social</td>
578583
</tr>
579584
</tbody>
580585
<tfoot>
@@ -653,9 +658,9 @@ You can also put the `<caption>` on the top of the table with `.caption-top`.
653658
</tr>
654659
<tr>
655660
<th scope="row">3</th>
656-
<td>Larry</td>
657-
<td>the Bird</td>
658-
<td>@x</td>
661+
<td>John</td>
662+
<td>Doe</td>
663+
<td>@social</td>
659664
</tr>
660665
</tbody>
661666
</table>

site/content/docs/5.3/examples/blog-rtl/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ <h4 class="fst-italic">الأرشيف</h4>
239239
<h4 class="fst-italic">في مكان آخر</h4>
240240
<ol class="list-unstyled">
241241
<li><a href="#">GitHub</a></li>
242-
<li><a href="#">X</a></li>
242+
<li><a href="#">Social</a></li>
243243
<li><a href="#">Facebook</a></li>
244244
</ol>
245245
</div>

site/content/docs/5.3/examples/blog/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ <h4 class="fst-italic">Archives</h4>
291291
<h4 class="fst-italic">Elsewhere</h4>
292292
<ol class="list-unstyled">
293293
<li><a href="#">GitHub</a></li>
294-
<li><a href="#">X</a></li>
294+
<li><a href="#">Social</a></li>
295295
<li><a href="#">Facebook</a></li>
296296
</ol>
297297
</div>

site/content/docs/5.3/examples/cheatsheet-rtl/index.html

+9-6
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,9 @@ <h3>الجداول</h3>
202202
</tr>
203203
<tr>
204204
<th scope="row">3</th>
205-
<td colspan="2">Larry the Bird</td>
206-
<td><bdo lang="en" dir="ltr">@x</bdo></td>
205+
<td>John</td>
206+
<td>Doe</td>
207+
<td><bdo lang="en" dir="ltr">@social</bdo></td>
207208
</tr>
208209
</tbody>
209210
</table>
@@ -234,8 +235,9 @@ <h3>الجداول</h3>
234235
</tr>
235236
<tr>
236237
<th scope="row">3</th>
237-
<td colspan="2">Larry the Bird</td>
238-
<td><bdo lang="en" dir="ltr">@x</bdo></td>
238+
<td>John</td>
239+
<td>Doe</td>
240+
<td><bdo lang="en" dir="ltr">@social</bdo></td>
239241
</tr>
240242
</tbody>
241243
</table>
@@ -294,8 +296,9 @@ <h3>الجداول</h3>
294296
</tr>
295297
<tr>
296298
<th scope="row">3</th>
297-
<td colspan="2">Larry the Bird</td>
298-
<td><bdo lang="en" dir="ltr">@x</bdo></td>
299+
<td>John</td>
300+
<td>Doe</td>
301+
<td><bdo lang="en" dir="ltr">@social</bdo></td>
299302
</tr>
300303
</tbody>
301304
</table>

site/content/docs/5.3/examples/cheatsheet/index.html

+9-6
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,9 @@ <h3>Tables</h3>
201201
</tr>
202202
<tr>
203203
<th scope="row">3</th>
204-
<td colspan="2">Larry the Bird</td>
205-
<td>@x</td>
204+
<td>John</td>
205+
<td>Doe</td>
206+
<td>@social</td>
206207
</tr>
207208
</tbody>
208209
</table>
@@ -233,8 +234,9 @@ <h3>Tables</h3>
233234
</tr>
234235
<tr>
235236
<th scope="row">3</th>
236-
<td colspan="2">Larry the Bird</td>
237-
<td>@x</td>
237+
<td>John</td>
238+
<td>Doe</td>
239+
<td>@social</td>
238240
</tr>
239241
</tbody>
240242
</table>
@@ -293,8 +295,9 @@ <h3>Tables</h3>
293295
</tr>
294296
<tr>
295297
<th scope="row">3</th>
296-
<td colspan="2">Larry the Bird</td>
297-
<td>@x</td>
298+
<td>John</td>
299+
<td>Doe</td>
300+
<td>@social</td>
298301
</tr>
299302
</tbody>
300303
</table>

site/content/docs/5.3/examples/footers/index.html

-5
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
<symbol id="instagram" viewBox="0 0 16 16">
1616
<path d="M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z"/>
1717
</symbol>
18-
<symbol id="x" viewBox="0 0 16 16">
19-
<path d="M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865z"/>
20-
</symbol>
2118
</svg>
2219

2320
<div class="container">
@@ -50,7 +47,6 @@
5047
</div>
5148

5249
<ul class="nav col-md-4 justify-content-end list-unstyled d-flex">
53-
<li class="ms-3"><a class="text-body-secondary" href="#" aria-label="X"><svg class="bi" width="24" height="24" aria-hidden="true"><use xlink:href="#x"/></svg></a></li>
5450
<li class="ms-3"><a class="text-body-secondary" href="#" aria-label="Instagram"><svg class="bi" width="24" height="24" aria-hidden="true"><use xlink:href="#instagram"/></svg></a></li>
5551
<li class="ms-3"><a class="text-body-secondary" href="#" aria-label="Facebook"><svg class="bi" width="24" height="24"><use xlink:href="#facebook"/></svg></a></li>
5652
</ul>
@@ -177,7 +173,6 @@ <h5>Subscribe to our newsletter</h5>
177173
<div class="d-flex flex-column flex-sm-row justify-content-between py-4 my-4 border-top">
178174
<p>&copy; {{< year >}} Company, Inc. All rights reserved.</p>
179175
<ul class="list-unstyled d-flex">
180-
<li class="ms-3"><a class="link-body-emphasis" href="#" aria-label="X"><svg class="bi" width="24" height="24" aria-hidden="true"><use xlink:href="#x"/></svg></a></li>
181176
<li class="ms-3"><a class="link-body-emphasis" href="#" aria-label="Instagram"><svg class="bi" width="24" height="24"><use xlink:href="#instagram"/></svg></a></li>
182177
<li class="ms-3"><a class="link-body-emphasis" href="#" aria-label="Facebook"><svg class="bi" width="24" height="24" aria-hidden="true"><use xlink:href="#facebook"/></svg></a></li>
183178
</ul>

site/content/docs/5.3/examples/modals/index.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
<path d="M0 1a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V1zm4 0v6h8V1H4zm8 8H4v6h8V9zM1 1v2h2V1H1zm2 3H1v2h2V4zM1 7v2h2V7H1zm2 3H1v2h2v-2zm-2 3v2h2v-2H1zM15 1h-2v2h2V1zm-2 3v2h2V4h-2zm2 3h-2v2h2V7zm-2 3v2h2v-2h-2zm2 3h-2v2h2v-2z"/>
2121
</symbol>
2222

23-
<symbol id="github" viewBox="0 0 16 16">
24-
<path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z"/>
23+
<symbol id="google" viewBox="0 0 16 16">
24+
<path d="M15.545 6.558a9.4 9.4 0 0 1 .139 1.626c0 2.434-.87 4.492-2.384 5.885h.002C11.978 15.292 10.158 16 8 16A8 8 0 1 1 8 0a7.7 7.7 0 0 1 5.352 2.082l-2.284 2.284A4.35 4.35 0 0 0 8 3.166c-2.087 0-3.86 1.408-4.492 3.304a4.8 4.8 0 0 0 0 3.063h.003c.635 1.893 2.405 3.301 4.492 3.301 1.078 0 2.004-.276 2.722-.764h-.003a3.7 3.7 0 0 0 1.599-2.431H8v-3.08z"/>
2525
</symbol>
2626

27-
<symbol id="x" viewBox="0 0 16 16">
28-
<path d="M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865z"/>
27+
<symbol id="github" viewBox="0 0 16 16">
28+
<path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z"/>
2929
</symbol>
3030

3131
<symbol id="facebook" viewBox="0 0 16 16">
@@ -130,8 +130,8 @@ <h1 class="fw-bold mb-0 fs-2">Sign up for free</h1>
130130
<hr class="my-4">
131131
<h2 class="fs-5 fw-bold mb-3">Or use a third-party</h2>
132132
<button class="w-100 py-2 mb-2 btn btn-outline-secondary rounded-3" type="submit">
133-
<svg class="bi me-1" width="16" height="16" aria-hidden="true"><use xlink:href="#x"/></svg>
134-
Sign up with X
133+
<svg class="bi me-1" width="16" height="16" aria-hidden="true"><use xlink:href="#google"/></svg>
134+
Sign up with Google
135135
</button>
136136
<button class="w-100 py-2 mb-2 btn btn-outline-primary rounded-3" type="submit">
137137
<svg class="bi me-1" width="16" height="16" aria-hidden="true"><use xlink:href="#facebook"/></svg>

site/layouts/partials/table-content.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
</tr>
2222
<tr>
2323
<th scope="row">3</th>
24-
<td colspan="2">Larry the Bird</td>
25-
<td>@x</td>
24+
<td>John</td>
25+
<td>Doe</td>
26+
<td>@social</td>
2627
</tr>
2728
</tbody>

0 commit comments

Comments
 (0)