Skip to content

Commit ac6b6bb

Browse files
megasteve19github-actions[bot]
authored andcommitted
Fix styling
1 parent aa12ff0 commit ac6b6bb

26 files changed

+84
-84
lines changed

resources/php/bootstrap-five/attaches.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<div class="rounded d-flex gap-3 mb-3">
2-
<div class="bg-light text-uppercase fs-5 fw-bold p-4 rounded"><?php echo $data('file.extension'); ?></div>
2+
<div class="bg-light text-uppercase fs-5 fw-bold p-4 rounded"><?= $data('file.extension'); ?></div>
33
<div>
44
<p class="text-lg fw-bold mb-0">
55
<a
66
class="link-dark gap-1 d-inline-flex justify-content-center align-items-center"
7-
href="<?php echo $data('file.url'); ?>"
7+
href="<?= $data('file.url'); ?>"
88
target="_blank"
99
>
10-
<span><?php echo $data('title') ?? $data('file.name'); ?></span>
10+
<span><?= $data('title') ?? $data('file.name'); ?></span>
1111
<svg
1212
class="inline"
1313
fill="currentColor"
@@ -27,6 +27,6 @@ class="inline"
2727
</svg>
2828
</a>
2929
</p>
30-
<p class="fw-semibold text-secondary"><small><?php echo number_format($data('file.size') * 0.000001, 2); ?>MiB</small></p>
30+
<p class="fw-semibold text-secondary"><small><?= number_format($data('file.size') * 0.000001, 2); ?>MiB</small></p>
3131
</div>
3232
</div>

resources/php/bootstrap-five/checklist.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class="d-flex flex-column align-items-start pl-8 gap-1 mb-3"
44
>
55
<?php foreach($data('items', []) as $item): ?>
66
<li class="inline-flex justify-center align-items-center gap-2">
7-
<span class="bg-light rounded-circle <?php echo $item['checked'] ? 'text-secondary' : 'text-black'; ?>">
7+
<span class="bg-light rounded-circle <?= $item['checked'] ? 'text-secondary' : 'text-black'; ?>">
88
<svg
99
fill="currentColor"
1010
height="24"
@@ -19,9 +19,9 @@ class="d-flex flex-column align-items-start pl-8 gap-1 mb-3"
1919
</span>
2020

2121
<?php if($item['checked']): ?>
22-
<del><?php echo $item['text']; ?></del>
22+
<del><?= $item['text']; ?></del>
2323
<?php else: ?>
24-
<span><?php echo $item['text']; ?></span>
24+
<span><?= $item['text']; ?></span>
2525
<?php endif; ?>
2626
</li>
2727
<?php endforeach; ?>

resources/php/bootstrap-five/code.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="p-4 bg-light rounded mb-3">
22
<div class="overflow-x-auto w-full bg-white rounded p-3">
3-
<pre><?php echo $data('code'); ?></pre>
3+
<pre><?= $data('code'); ?></pre>
44
</div>
55
</div>

resources/php/bootstrap-five/embed.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
<div class="mb-3 bg-light p-4 rounded">
22
<iframe
33
class="block mb-3 rounded bg-white"
4-
height="<?php echo $data('height'); ?>"
4+
height="<?= $data('height'); ?>"
55
loading="lazy"
6-
src="<?php echo $data('embed'); ?>"
6+
src="<?= $data('embed'); ?>"
77
width="100%"
88
></iframe>
99

1010
<p class="bg-white p-4 rounded mb-1">
11-
<?php echo $data('caption'); ?>
11+
<?= $data('caption'); ?>
1212

1313
</p>
1414

1515
<p>
1616
<small>
1717
<a
1818
class="link-secondary"
19-
href="<?php echo $data('source'); ?>"
19+
href="<?= $data('source'); ?>"
2020
target="_blank"
21-
><?php echo $data('source'); ?></a>
21+
><?= $data('source'); ?></a>
2222
</small>
2323
</p>
2424

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
<?php switch($data('level')):
22
case (1): ?>
3-
<h1 class="fw-bold mb-3"><?php echo $data('text'); ?></h1>
3+
<h1 class="fw-bold mb-3"><?= $data('text'); ?></h1>
44
<?php break; ?>
55

66
<?php case (2): ?>
7-
<h2 class="fw-bold mb-3"><?php echo $data('text'); ?></h2>
7+
<h2 class="fw-bold mb-3"><?= $data('text'); ?></h2>
88
<?php break; ?>
99

1010
<?php case (3): ?>
11-
<h3 class="fw-bold mb-3"><?php echo $data('text'); ?></h3>
11+
<h3 class="fw-bold mb-3"><?= $data('text'); ?></h3>
1212
<?php break; ?>
1313

1414
<?php case (4): ?>
15-
<h4 class="fw-semibold mb-3"><?php echo $data('text'); ?></h4>
15+
<h4 class="fw-semibold mb-3"><?= $data('text'); ?></h4>
1616
<?php break; ?>
1717

1818
<?php case (5): ?>
19-
<h5 class="fw-semibold mb-3"><?php echo $data('text'); ?></h5>
19+
<h5 class="fw-semibold mb-3"><?= $data('text'); ?></h5>
2020
<?php break; ?>
2121

2222
<?php case (6): ?>
23-
<h6 class="fw-semibold mb-1"><?php echo $data('text'); ?></h6>
23+
<h6 class="fw-semibold mb-1"><?= $data('text'); ?></h6>
2424
<?php break; ?>
2525
<?php endswitch; ?>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<img
2-
alt="<?php echo $data('caption'); ?>"
3-
src="<?php echo $data('file.url'); ?>"
2+
alt="<?= $data('caption'); ?>"
3+
src="<?= $data('file.url'); ?>"
44
class="d-block mb-3 w-100 rounded"
55
>
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
<div class="bg-light d-flex mb-3 rounded overflow-hidden flex-column flex-sm-row">
22
<img
3-
alt="<?php echo $data('meta.title'); ?>"
3+
alt="<?= $data('meta.title'); ?>"
44
width="100%"
5-
src="<?php echo $data('meta.image.url'); ?>"
5+
src="<?= $data('meta.image.url'); ?>"
66
style="object-fit: cover"
77
>
88
<div class="m-4 p-4 bg-white rounded flex-2">
9-
<h4 class="text-xl fw-semibold"><?php echo $data('meta.title'); ?></h4>
9+
<h4 class="text-xl fw-semibold"><?= $data('meta.title'); ?></h4>
1010
<p class="mb-3 text-sm">
1111
<small>
1212
<a
1313
class="link-dark fw-bold"
14-
href="<?php echo $data('link'); ?>"
14+
href="<?= $data('link'); ?>"
1515
target="_blank"
16-
><?php echo $data('link'); ?></a>
16+
><?= $data('link'); ?></a>
1717
</small>
1818
</p>
19-
<p class="mb-0"><?php echo $data('meta.description'); ?></p>
19+
<p class="mb-0"><?= $data('meta.description'); ?></p>
2020
</div>
2121
</div>

resources/php/bootstrap-five/list.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?php if($data('style') === 'ordered'): ?>
22
<ol class="mb-3">
33
<?php foreach($data('items', []) as $item): ?>
4-
<li class="mb-1"><?php echo $item; ?></li>
4+
<li class="mb-1"><?= $item; ?></li>
55
<?php endforeach; ?>
66
</ol>
77
<?php else: ?>
88
<ul class="mb-3">
99
<?php foreach($data('items', []) as $item): ?>
10-
<li class="mb-1"><?php echo $item; ?></li>
10+
<li class="mb-1"><?= $item; ?></li>
1111
<?php endforeach; ?>
1212
</ul>
1313
<?php endif; ?>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<p class="mb-3"><?php echo $data('text'); ?></p>
1+
<p class="mb-3"><?= $data('text'); ?></p>
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
<div class="bg-light d-flex mb-3 rounded overflow-hidden flex-column flex-sm-row">
22
<img
3-
alt="<?php echo $data('name'); ?>"
4-
src="<?php echo $data('photo'); ?>"
3+
alt="<?= $data('name'); ?>"
4+
src="<?= $data('photo'); ?>"
55
style="object-fit: cover"
66
width="100%"
77
>
88
<div class="m-4 p-4 bg-white rounded flex-2">
9-
<h4 class="text-xl fw-semibold"><?php echo $data('name'); ?></h4>
9+
<h4 class="text-xl fw-semibold"><?= $data('name'); ?></h4>
1010
<p class="mb-3 text-sm">
1111
<small>
1212
<a
1313
class="link-dark fw-bold"
14-
href="<?php echo $data('link'); ?>"
14+
href="<?= $data('link'); ?>"
1515
target="_blank"
16-
><?php echo $data('link'); ?></a>
16+
><?= $data('link'); ?></a>
1717
</small>
1818
</p>
19-
<p class="mb-0"><?php echo $data('description'); ?></p>
19+
<p class="mb-0"><?= $data('description'); ?></p>
2020
</div>
2121
</div>

resources/php/bootstrap-five/quote.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</svg>
1414
</div>
1515
<div class="z-1 position-relative">
16-
<p class="fs-4 fw-semibold mb-0"><?php echo $data('text'); ?></p>
17-
<small class="d-block text-end"><?php echo $data('caption'); ?></small>
16+
<p class="fs-4 fw-semibold mb-0"><?= $data('text'); ?></p>
17+
<small class="d-block text-end"><?= $data('caption'); ?></small>
1818
</div>
1919
</blockquote>

resources/php/bootstrap-five/table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<thead class=" text-gray-700 text-uppercase bg-light">
55
<tr>
66
<?php foreach($headings as $heading): ?>
7-
<th class="px-4 py-3"><?php echo $heading; ?></th>
7+
<th class="px-4 py-3"><?= $heading; ?></th>
88
<?php endforeach; ?>
99
</tr>
1010
</thead>
@@ -18,7 +18,7 @@
1818

1919
<tr class="bg-white">
2020
<?php foreach($row as $cell): ?>
21-
<td class="px-4 py-3 fw-semibold"><?php echo $cell; ?></td>
21+
<td class="px-4 py-3 fw-semibold"><?= $cell; ?></td>
2222
<?php endforeach; ?>
2323
</tr>
2424
<?php endforeach; ?>

resources/php/bootstrap-five/warning.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class="d-flex justify-content-center align-items-start align-items-sm-center"
1717
</div>
1818

1919
<div class="flex-grow-1">
20-
<p class="fs-4 fw-semibold mb-0"><?php echo $data('title'); ?></p>
21-
<p><?php echo $data('message'); ?></p>
20+
<p class="fs-4 fw-semibold mb-0"><?= $data('title'); ?></p>
21+
<p><?= $data('message'); ?></p>
2222
</div>
2323
</aside>

resources/php/tailwind/attaches.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<div class="rounded-xl flex gap-4 mb-4">
2-
<div class="bg-gray-100 uppercase font-black p-4 rounded-xl"><?php echo $data('file.extension'); ?></div>
2+
<div class="bg-gray-100 uppercase font-black p-4 rounded-xl"><?= $data('file.extension'); ?></div>
33
<div>
44
<p class="text-lg font-bold">
55
<a
66
class="hover:text-gray-600 gap-1 flex justify-center items-center"
7-
href="<?php echo $data('file.url'); ?>"
7+
href="<?= $data('file.url'); ?>"
88
target="_blank"
99
>
10-
<span><?php echo $data('title') ?? $data('file.name'); ?></span>
10+
<span><?= $data('title') ?? $data('file.name'); ?></span>
1111
<svg
1212
class="inline"
1313
fill="currentColor"
@@ -27,6 +27,6 @@ class="inline"
2727
</svg>
2828
</a>
2929
</p>
30-
<p class="text-xs font-semibold text-gray-600"><?php echo number_format($data('file.size') * 0.000001, 2); ?>MiB</p>
30+
<p class="text-xs font-semibold text-gray-600"><?= number_format($data('file.size') * 0.000001, 2); ?>MiB</p>
3131
</div>
3232
</div>

resources/php/tailwind/checklist.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<ul class="flex flex-col items-start pl-8 gap-1 mb-4">
22
<?php foreach($data('items', []) as $item): ?>
33
<li class="inline-flex justify-center items-center gap-2">
4-
<span class="bg-gray-100 rounded-full <?php echo $item['checked'] ? 'text-gray-700' : 'text-gray-400'; ?>">
4+
<span class="bg-gray-100 rounded-full <?= $item['checked'] ? 'text-gray-700' : 'text-gray-400'; ?>">
55
<svg
66
class="bi bi-check"
77
fill="currentColor"
@@ -17,9 +17,9 @@ class="bi bi-check"
1717
</span>
1818

1919
<?php if($item['checked']): ?>
20-
<del><?php echo $item['text']; ?></del>
20+
<del><?= $item['text']; ?></del>
2121
<?php else: ?>
22-
<span><?php echo $item['text']; ?></span>
22+
<span><?= $item['text']; ?></span>
2323
<?php endif; ?>
2424
</li>
2525
<?php endforeach; ?>

resources/php/tailwind/code.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="p-4 bg-gray-100 rounded-xl mb-4">
22
<div class="overflow-x-auto w-full bg-white rounded-xl p-4">
3-
<pre><?php echo $data('code'); ?></pre>
3+
<pre><?= $data('code'); ?></pre>
44
</div>
55
</div>

resources/php/tailwind/embed.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
<div class="mb-4 bg-gray-100 p-4 rounded-xl">
22
<iframe
33
class="block mb-4 rounded-xl bg-white"
4-
height="<?php echo $data('height'); ?>"
4+
height="<?= $data('height'); ?>"
55
loading="lazy"
6-
src="<?php echo $data('embed'); ?>"
6+
src="<?= $data('embed'); ?>"
77
width="100%"
88
></iframe>
99

1010
<p class="bg-white p-4 rounded-xl mb-1">
11-
<?php echo $data('caption'); ?>
11+
<?= $data('caption'); ?>
1212

1313
</p>
1414

1515
<p>
1616
<small>
1717
<a
1818
class="text-gray-400 hover:text-gray-700"
19-
href="<?php echo $data('source'); ?>"
19+
href="<?= $data('source'); ?>"
2020
target="_blank"
21-
><?php echo $data('source'); ?></a>
21+
><?= $data('source'); ?></a>
2222
</small>
2323
</p>
2424

resources/php/tailwind/header.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
<?php switch($data('level')):
22
case (1): ?>
3-
<h1 class="text-5xl font-bold mb-4"><?php echo $data('text'); ?></h1>
3+
<h1 class="text-5xl font-bold mb-4"><?= $data('text'); ?></h1>
44
<?php break; ?>
55

66
<?php case (2): ?>
7-
<h2 class="text-3xl font-bold mb-4"><?php echo $data('text'); ?></h2>
7+
<h2 class="text-3xl font-bold mb-4"><?= $data('text'); ?></h2>
88
<?php break; ?>
99

1010
<?php case (3): ?>
11-
<h3 class="text-2xl font-bold mb-2"><?php echo $data('text'); ?></h3>
11+
<h3 class="text-2xl font-bold mb-2"><?= $data('text'); ?></h3>
1212
<?php break; ?>
1313

1414
<?php case (4): ?>
15-
<h4 class="text-xl font-semibold mb-2"><?php echo $data('text'); ?></h4>
15+
<h4 class="text-xl font-semibold mb-2"><?= $data('text'); ?></h4>
1616
<?php break; ?>
1717

1818
<?php case (5): ?>
19-
<h5 class="text-base font-semibold mb-2"><?php echo $data('text'); ?></h5>
19+
<h5 class="text-base font-semibold mb-2"><?= $data('text'); ?></h5>
2020
<?php break; ?>
2121

2222
<?php case (6): ?>
23-
<h6 class="text-sm font-semibold mb-1"><?php echo $data('text'); ?></h6>
23+
<h6 class="text-sm font-semibold mb-1"><?= $data('text'); ?></h6>
2424
<?php break; ?>
2525
<?php endswitch; ?>

resources/php/tailwind/image.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<img
2-
alt="<?php echo $data('caption'); ?>"
3-
src="<?php echo $data('file.url'); ?>"
2+
alt="<?= $data('caption'); ?>"
3+
src="<?= $data('file.url'); ?>"
44
class="block rounded-xl mb-4"
55
>

resources/php/tailwind/linktool.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<div class="bg-gray-100 flex mb-4 rounded-xl overflow-hidden flex-col sm:flex-row">
22
<img
3-
alt="<?php echo $data('meta.title'); ?>"
3+
alt="<?= $data('meta.title'); ?>"
44
class="sm:max-w-[16rem] object-cover grow sm:grow-0"
5-
src="<?php echo $data('meta.image.url'); ?>"
5+
src="<?= $data('meta.image.url'); ?>"
66
>
77
<div class="m-4 p-4 bg-white rounded-xl flex-1">
8-
<h4 class="text-xl font-semibold"><?php echo $data('meta.title'); ?></h4>
8+
<h4 class="text-xl font-semibold"><?= $data('meta.title'); ?></h4>
99
<p class="mb-2 text-sm">
1010
<small>
1111
<a
1212
class="text-black hover:text-gray-600 font-bold"
13-
href="<?php echo $data('link'); ?>"
13+
href="<?= $data('link'); ?>"
1414
target="_blank"
15-
><?php echo $data('link'); ?></a>
15+
><?= $data('link'); ?></a>
1616
</small>
1717
</p>
18-
<p><?php echo $data('meta.description'); ?></p>
18+
<p><?= $data('meta.description'); ?></p>
1919
</div>
2020
</div>

0 commit comments

Comments
 (0)