-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from bumpcore/47-2x-fakeable-contract
`Fakeable` contract.
- Loading branch information
Showing
46 changed files
with
186 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<div class="p-4 bg-light rounded mb-3"> | ||
<div class="overflow-x-auto w-full bg-white rounded p-3"> | ||
<pre><?php echo $data('code'); ?></pre> | ||
<pre><?= $data('code'); ?></pre> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
<?php switch($data('level')): | ||
case (1): ?> | ||
<h1 class="fw-bold mb-3"><?php echo $data('text'); ?></h1> | ||
<h1 class="fw-bold mb-3"><?= $data('text'); ?></h1> | ||
<?php break; ?> | ||
|
||
<?php case (2): ?> | ||
<h2 class="fw-bold mb-3"><?php echo $data('text'); ?></h2> | ||
<h2 class="fw-bold mb-3"><?= $data('text'); ?></h2> | ||
<?php break; ?> | ||
|
||
<?php case (3): ?> | ||
<h3 class="fw-bold mb-3"><?php echo $data('text'); ?></h3> | ||
<h3 class="fw-bold mb-3"><?= $data('text'); ?></h3> | ||
<?php break; ?> | ||
|
||
<?php case (4): ?> | ||
<h4 class="fw-semibold mb-3"><?php echo $data('text'); ?></h4> | ||
<h4 class="fw-semibold mb-3"><?= $data('text'); ?></h4> | ||
<?php break; ?> | ||
|
||
<?php case (5): ?> | ||
<h5 class="fw-semibold mb-3"><?php echo $data('text'); ?></h5> | ||
<h5 class="fw-semibold mb-3"><?= $data('text'); ?></h5> | ||
<?php break; ?> | ||
|
||
<?php case (6): ?> | ||
<h6 class="fw-semibold mb-1"><?php echo $data('text'); ?></h6> | ||
<h6 class="fw-semibold mb-1"><?= $data('text'); ?></h6> | ||
<?php break; ?> | ||
<?php endswitch; ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<img | ||
alt="<?php echo $data('caption'); ?>" | ||
src="<?php echo $data('file.url'); ?>" | ||
alt="<?= $data('caption'); ?>" | ||
src="<?= $data('file.url'); ?>" | ||
class="d-block mb-3 w-100 rounded" | ||
> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
<div class="bg-light d-flex mb-3 rounded overflow-hidden flex-column flex-sm-row"> | ||
<img | ||
alt="<?php echo $data('meta.title'); ?>" | ||
alt="<?= $data('meta.title'); ?>" | ||
width="100%" | ||
src="<?php echo $data('meta.image.url'); ?>" | ||
src="<?= $data('meta.image.url'); ?>" | ||
style="object-fit: cover" | ||
> | ||
<div class="m-4 p-4 bg-white rounded flex-2"> | ||
<h4 class="text-xl fw-semibold"><?php echo $data('meta.title'); ?></h4> | ||
<h4 class="text-xl fw-semibold"><?= $data('meta.title'); ?></h4> | ||
<p class="mb-3 text-sm"> | ||
<small> | ||
<a | ||
class="link-dark fw-bold" | ||
href="<?php echo $data('link'); ?>" | ||
href="<?= $data('link'); ?>" | ||
target="_blank" | ||
><?php echo $data('link'); ?></a> | ||
><?= $data('link'); ?></a> | ||
</small> | ||
</p> | ||
<p class="mb-0"><?php echo $data('meta.description'); ?></p> | ||
<p class="mb-0"><?= $data('meta.description'); ?></p> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<?php if($data('style') === 'ordered'): ?> | ||
<ol class="mb-3"> | ||
<?php foreach($data('items', []) as $item): ?> | ||
<li class="mb-1"><?php echo $item; ?></li> | ||
<li class="mb-1"><?= $item; ?></li> | ||
<?php endforeach; ?> | ||
</ol> | ||
<?php else: ?> | ||
<ul class="mb-3"> | ||
<?php foreach($data('items', []) as $item): ?> | ||
<li class="mb-1"><?php echo $item; ?></li> | ||
<li class="mb-1"><?= $item; ?></li> | ||
<?php endforeach; ?> | ||
</ul> | ||
<?php endif; ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<p class="mb-3"><?php echo $data('text'); ?></p> | ||
<p class="mb-3"><?= $data('text'); ?></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
<div class="bg-light d-flex mb-3 rounded overflow-hidden flex-column flex-sm-row"> | ||
<img | ||
alt="<?php echo $data('name'); ?>" | ||
src="<?php echo $data('photo'); ?>" | ||
alt="<?= $data('name'); ?>" | ||
src="<?= $data('photo'); ?>" | ||
style="object-fit: cover" | ||
width="100%" | ||
> | ||
<div class="m-4 p-4 bg-white rounded flex-2"> | ||
<h4 class="text-xl fw-semibold"><?php echo $data('name'); ?></h4> | ||
<h4 class="text-xl fw-semibold"><?= $data('name'); ?></h4> | ||
<p class="mb-3 text-sm"> | ||
<small> | ||
<a | ||
class="link-dark fw-bold" | ||
href="<?php echo $data('link'); ?>" | ||
href="<?= $data('link'); ?>" | ||
target="_blank" | ||
><?php echo $data('link'); ?></a> | ||
><?= $data('link'); ?></a> | ||
</small> | ||
</p> | ||
<p class="mb-0"><?php echo $data('description'); ?></p> | ||
<p class="mb-0"><?= $data('description'); ?></p> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<div class="p-4 bg-gray-100 rounded-xl mb-4"> | ||
<div class="overflow-x-auto w-full bg-white rounded-xl p-4"> | ||
<pre><?php echo $data('code'); ?></pre> | ||
<pre><?= $data('code'); ?></pre> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
<?php switch($data('level')): | ||
case (1): ?> | ||
<h1 class="text-5xl font-bold mb-4"><?php echo $data('text'); ?></h1> | ||
<h1 class="text-5xl font-bold mb-4"><?= $data('text'); ?></h1> | ||
<?php break; ?> | ||
|
||
<?php case (2): ?> | ||
<h2 class="text-3xl font-bold mb-4"><?php echo $data('text'); ?></h2> | ||
<h2 class="text-3xl font-bold mb-4"><?= $data('text'); ?></h2> | ||
<?php break; ?> | ||
|
||
<?php case (3): ?> | ||
<h3 class="text-2xl font-bold mb-2"><?php echo $data('text'); ?></h3> | ||
<h3 class="text-2xl font-bold mb-2"><?= $data('text'); ?></h3> | ||
<?php break; ?> | ||
|
||
<?php case (4): ?> | ||
<h4 class="text-xl font-semibold mb-2"><?php echo $data('text'); ?></h4> | ||
<h4 class="text-xl font-semibold mb-2"><?= $data('text'); ?></h4> | ||
<?php break; ?> | ||
|
||
<?php case (5): ?> | ||
<h5 class="text-base font-semibold mb-2"><?php echo $data('text'); ?></h5> | ||
<h5 class="text-base font-semibold mb-2"><?= $data('text'); ?></h5> | ||
<?php break; ?> | ||
|
||
<?php case (6): ?> | ||
<h6 class="text-sm font-semibold mb-1"><?php echo $data('text'); ?></h6> | ||
<h6 class="text-sm font-semibold mb-1"><?= $data('text'); ?></h6> | ||
<?php break; ?> | ||
<?php endswitch; ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<img | ||
alt="<?php echo $data('caption'); ?>" | ||
src="<?php echo $data('file.url'); ?>" | ||
alt="<?= $data('caption'); ?>" | ||
src="<?= $data('file.url'); ?>" | ||
class="block rounded-xl mb-4" | ||
> |
Oops, something went wrong.