#14 Check before rendering

This commit is contained in:
Daniel Brendel
2024-04-03 02:12:03 +02:00
parent bcc773aa67
commit 56eec4c113

View File

@ -39,17 +39,23 @@
</div> </div>
<div class="navbar-end"> <div class="navbar-end">
@if (env('APP_REPOSITORY'))
<div class="navbar-item"> <div class="navbar-item">
<img src="https://img.shields.io/github/forks/{{ env('APP_REPOSITORY') }}?style=flat"/> <img src="https://img.shields.io/github/forks/{{ env('APP_REPOSITORY') }}?style=flat"/>
</div> </div>
@endif
@if (env('APP_REPOSITORY'))
<div class="navbar-item"> <div class="navbar-item">
<img src="https://img.shields.io/github/stars/{{ env('APP_REPOSITORY') }}?style=flat"/> <img src="https://img.shields.io/github/stars/{{ env('APP_REPOSITORY') }}?style=flat"/>
</div> </div>
@endif
@if (env('APP_NPMPACKAGENAME'))
<div class="navbar-item"> <div class="navbar-item">
<img src="https://img.shields.io/npm/dt/{{ env('APP_NPMPACKAGENAME') }}?style=flat"/> <img src="https://img.shields.io/npm/dt/{{ env('APP_NPMPACKAGENAME') }}?style=flat"/>
</div> </div>
@endif
</div> </div>
</div> </div>
</nav> </nav>