-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add tests and improve container binding
- Loading branch information
1 parent
1ef1fee
commit 85453da
Showing
6 changed files
with
85 additions
and
7 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
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
53 changes: 53 additions & 0 deletions
53
tests/__snapshots__/TweetComponentTest__it_renders__1.html
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link href="https://unpkg.com/tailwindcss@%5E2/dist/tailwind.min.css" rel="stylesheet"> | ||
</head> | ||
<body class="min-h-screen bg-gray-100 flex flex-col justify-center"> | ||
|
||
<section class="relative py-3 px-2"> | ||
<article class="max-w-full sm:max-w-2xl sm:mx-auto"> | ||
<div class="relative bg-white shadow-lg rounded sm:rounded-md p-4 sm:p-6 lg:p-8 space-y-4"> | ||
<header class="flex flex-row items-center space-x-2"> | ||
<div> | ||
<img src="https://pbs.twimg.com/profile_images/1353128720270290946/IG1iQCUQ_normal.jpg" class="h-12 sm:h-16 w-12 sm:w-16" alt=" avatar"> | ||
</div> | ||
<div class="flex-grow"> | ||
<div class="flex flex-row space-x-2"> | ||
<div class="text-xl text-gray-600 font-bold tracking-wide">Zuzana</div> | ||
<div class="text-gray-400">@zuzana_kunckova</div> | ||
</div> | ||
<div class="text-sm text-gray-400">Fri, Mar 19, 2021 4:21 PM</div> | ||
</div> | ||
<div> | ||
<a href="https://twitter.com/zuzana_kunckova/status/1372946230783934465"> | ||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="289.984" height="289.984" viewbox="0 0 289.984 289.984" xml:space="preserve" class="h-4 sm:h-6"> | ||
<desc>Created with Fabric.js 1.7.22</desc> | ||
<defs> | ||
</defs> | ||
<g id="icon" style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: none; fill-rule: nonzero; opacity: 1;" transform="translate(-1.611022222222232 -1.611022222222232) scale(3.22 3.22)"> | ||
<path d="M 28.303 81.565 c 33.962 0 52.538 -28.138 52.538 -52.538 c 0 -0.799 0 -1.595 -0.054 -2.387 c 3.614 -2.614 6.733 -5.85 9.212 -9.558 c -3.37 1.493 -6.945 2.473 -10.606 2.905 c 3.855 -2.308 6.74 -5.937 8.118 -10.213 c -3.625 2.151 -7.59 3.667 -11.725 4.482 c -6.993 -7.436 -18.69 -7.795 -26.126 -0.802 c -4.796 4.51 -6.83 11.23 -5.342 17.643 C 29.473 30.352 15.64 23.34 6.264 11.804 c -4.901 8.437 -2.398 19.231 5.717 24.649 c -2.939 -0.087 -5.813 -0.88 -8.381 -2.311 c 0 0.076 0 0.155 0 0.234 c 0.002 8.79 6.198 16.36 14.814 18.101 c -2.718 0.741 -5.571 0.85 -8.338 0.317 c 2.419 7.522 9.351 12.675 17.251 12.823 c -6.539 5.139 -14.616 7.928 -22.932 7.92 C 2.926 73.534 1.459 73.445 0 73.27 c 8.444 5.419 18.27 8.293 28.303 8.28" style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: rgb(29,161,242); fill-rule: nonzero; opacity: 1;" transform=" matrix(1 0 0 1 0 0) " stroke-linecap="round"></path> | ||
</g> | ||
</svg> | ||
</a> | ||
</div> | ||
</header> | ||
|
||
<main> | ||
<p class="overflow-clip overflow-hidden inline"> | ||
I *think* I finally understood what Laravel's service container is all about🥳. Only took me ... a long time 😅. | ||
</p> | ||
</main> | ||
|
||
<footer class="space-x-4"> | ||
<span class="text-gray-400 text-sm">♡ 14</span> | ||
<span class="text-gray-400 text-sm"><a href="https://twitter.com/zuzana_kunckova">★ See Zuzana's other Tweets</a></span> | ||
</footer> | ||
</div> | ||
</article> | ||
</section> | ||
|
||
</body> | ||
</html> |