Skip to content

Commit

Permalink
Use button variable in template
Browse files Browse the repository at this point in the history
  • Loading branch information
Baspa committed May 19, 2023
1 parent 627de2c commit b0bac13
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion resources/views/template.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@
@if(isset($subtitle))
<h2 class="mt-6 text-[50px] font-bold text-white uppercase">{{ $subtitle }}</h2>
@endif
<div class="inline-block px-6 py-3 mt-10 text-[30px] font-bold text-white rounded-lg bg-[#fe8185]">Read more here</div>
@if (isset($button))
<div class="inline-block px-6 py-3 mt-10 text-[30px] font-bold text-white rounded-lg bg-[#fe8185]">
{{ $button }}
</div>
@endif
</div>
</body>
</html>

0 comments on commit b0bac13

Please sign in to comment.