Skip to content

Commit 49ef414

Browse files
Replace <center> tag
Replaced deprecated <center> tags with <article> elements and inline styles for better HTML5 compliance
1 parent e89c870 commit 49ef414

File tree

3 files changed

+23
-16
lines changed

3 files changed

+23
-16
lines changed

docs/github/file_issue.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ Spot something wrong? Please let us know. <a href="https://github.com/sparkfun/S
44

55
!!! attention
66
This is not where customers should seek assistance on a product. If you require technical assistance or have questions about a product that is not working as expected, please head over to the [SparkFun Technical Assistance](https://www.sparkfun.com/technical_assistance) page for some initial troubleshooting.
7-
<center>
7+
8+
<article style="text-align: center;" markdown>
89
[SparkFun Technical Assistance Page](https://www.sparkfun.com/technical_assistance){ .md-button .md-button--primary }
9-
</center>
10+
</article>
1011

1112
If you can't find what you need there, you'll need a [Forum Account](https://forum.sparkfun.com/ucp.php?mode=register) to search product forums and post questions.
1213

docs/hardware_overview.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -248,23 +248,25 @@ A 3D model of the SparkFun BlueSMiRF v2 SMD and components was exported to STEP
248248
<script type="module" src="https://ajax.googleapis.com/ajax/libs/model-viewer/3.5.0/model-viewer.min.js"></script>
249249

250250
<div style="text-align: center;">
251-
<model-viewer src="../assets/3d_model/SparkFun_BlueSMiRF-v2-Headers_3D_model.glb" camera-controls poster="../assets/3d_model/SparkFun_BlueSMiRF-v2-Headers_3D_image.png" environment-image="legacy" shadow-intensity="1.58" exposure="0.64" shadow-softness="0.24" tone-mapping="neutral" camera-orbit="-46.67deg 57.14deg 153.3m" field-of-view="30deg" style="width: 750px; height: 500px;">
252-
</model-viewer>
253-
</div>
251+
252+
<model-viewer src="../assets/3d_model/SparkFun_BlueSMiRF-v2-Headers_3D_model.glb" camera-controls poster="../assets/3d_model/SparkFun_BlueSMiRF-v2-Headers_3D_image.png" environment-image="legacy" shadow-intensity="1.58" exposure="0.64" shadow-softness="0.24" tone-mapping="neutral" camera-orbit="-46.67deg 57.14deg 153.3m" field-of-view="30deg" style="width: 750px; height: 500px; margin: auto;">
253+
</model-viewer>
254+
254255
<br />
255-
<div style="text-align: center">
256-
<a href="../assets/3d_model/SparkFun_BlueSMiRF-v2-Headers_3D_model.step" target="stp_file" class="md-button">Click Here for the STEP File</a>
256+
257+
<a href="../assets/3d_model/SparkFun_BlueSMiRF-v2-Headers_3D_model.step" target="stp_file" class="md-button">Click Here for the STEP File</a>
257258
</div>
258259

259260
A 3D model of the SparkFun BlueSMiRF v2 PTH and components was also exported to STEP file using KiCad.
260261

261262
<div style="text-align: center;">
262-
<model-viewer src="../assets/3d_model/SparkFun_BlueSMiRF-v2_3D_model.glb" camera-controls poster="../assets/3d_model/SparkFun_BlueSMiRF-v2_3D_image.png" environment-image="legacy" shadow-intensity="1.58" exposure="0.64" shadow-softness="0.24" tone-mapping="neutral" camera-orbit="-46.67deg 57.14deg 153.3m" field-of-view="30deg" style="width: 750px; height: 500px;">
263-
</model-viewer>
264-
</div>
263+
264+
<model-viewer src="../assets/3d_model/SparkFun_BlueSMiRF-v2_3D_model.glb" camera-controls poster="../assets/3d_model/SparkFun_BlueSMiRF-v2_3D_image.png" environment-image="legacy" shadow-intensity="1.58" exposure="0.64" shadow-softness="0.24" tone-mapping="neutral" camera-orbit="-46.67deg 57.14deg 153.3m" field-of-view="30deg" style="width: 750px; height: 500px; margin: auto;">
265+
</model-viewer>
266+
265267
<br />
266-
<div style="text-align: center">
267-
<a href="../assets/3d_model/SparkFun_BlueSMiRF-v2_3D_model.step" target="stp_file" class="md-button">Click Here for the STEP File</a>
268+
269+
<a href="../assets/3d_model/SparkFun_BlueSMiRF-v2_3D_model.step" target="stp_file" class="md-button">Click Here for the STEP File</a>
268270
</div>
269271

270272

docs/introduction.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
The [SparkFun BlueSMiRF v2](https://www.sparkfun.com/products/24113) is a wireless Bluetooth&reg; serial link. This version of the popular BlueSMiRF uses the ESP32. These boards work as a wireless serial UART pipe and are a great wireless replacement for serial cables. Simply pair, connect, and transmit serial data between your TX/RX lines! Any serial stream from 2400 to 921600 baud can be passed seamlessly between two devices.
33

4-
<center>
4+
55
<div class="grid cards col-2" markdown>
66

77
- <a href="https://www.sparkfun.com/products/24113">
@@ -17,7 +17,9 @@ The [SparkFun BlueSMiRF v2](https://www.sparkfun.com/products/24113) is a wirele
1717
<br />
1818
WRL-24113
1919
<br />
20-
<center>[Purchase from SparkFun :fontawesome-solid-cart-plus:](https://www.sparkfun.com/products/23288){ .md-button .md-button--primary }</center>
20+
<article style="text-align: center;" markdown>
21+
[Purchase from SparkFun :fontawesome-solid-cart-plus:](https://www.sparkfun.com/products/23288){ .md-button .md-button--primary }
22+
</article>
2123
</a>
2224
<!-- ----------WHITE SPACE BETWEEN PRODUCTS---------- -->
2325
- <a href="https://www.sparkfun.com/products/23287">
@@ -33,11 +35,13 @@ The [SparkFun BlueSMiRF v2](https://www.sparkfun.com/products/24113) is a wirele
3335
<br />
3436
WRL-23287
3537
<br />
36-
<center>[Purchase from SparkFun :fontawesome-solid-cart-plus:](https://www.sparkfun.com/products/23288){ .md-button .md-button--primary }</center>
38+
<article style="text-align: center;" markdown>
39+
[Purchase from SparkFun :fontawesome-solid-cart-plus:](https://www.sparkfun.com/products/23288){ .md-button .md-button--primary }
40+
</article>
3741
</a>
3842

3943
</div>
40-
</center>
44+
4145

4246
<div style="text-align: center;">
4347
<iframe width="560" height="315" src="https://www.youtube.com/embed/i8u3W0jVFTw?si=9iwrsCm9Ih9n9VCz" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

0 commit comments

Comments
 (0)