Skip to content

Commit d94a774

Browse files
authored
Adding JSON as well
1 parent 531651f commit d94a774

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

resources/views/index.blade.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,9 @@ class="inline-flex text-xs"
284284
@if (str_contains($rule, 'string'))
285285
<span class="inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-green-100 bg-green-500 rounded">String</span>
286286
@endif
287+
@if (str_contains($rule, 'json'))
288+
<span class="inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-green-100 bg-green-500 rounded">JSON</span>
289+
@endif
287290
@if (str_contains($rule, 'array'))
288291
<span class="inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-gray-800 bg-blue-200 rounded">Array</span>
289292
@endif

0 commit comments

Comments
 (0)