mirror of
https://github.com/SophiaAtkinson/steamwidgets-web.git
synced 2025-06-27 08:07:41 -07:00
#14 Check before rendering
This commit is contained in:
@ -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>
|
Reference in New Issue
Block a user