NPM info box

This commit is contained in:
Daniel Brendel
2022-12-19 15:30:50 +01:00
parent 157b9286aa
commit 1884f49293
3 changed files with 26 additions and 2 deletions

View File

@ -166,6 +166,27 @@ tbody strong {
background-color: rgb(200, 200, 200);
}
.info-box {
position: relative;
background-color: rgba(130, 130, 255, 0.4);
border: 1px solid rgb(130, 130, 255);
border-radius: 5px;
padding: 20px;
}
.info-box strong {
color: rgb(200, 200, 200);
}
.info-box a {
color: rgb(123, 220, 255);
}
.info-box a:hover {
color: rgb(123, 220, 255);
text-decoration: underline;
}
.stats-input {
padding: 8px;
color: rgb(50, 50, 50);

View File

@ -44,7 +44,10 @@
<p>
You can also use NPM to install the package. Please visit the NPM page of the package in order to get instruction details:<br/>
<br/>
<a href="{{ env('APP_NPMPACKAGEURL') }}">{{ env('APP_NPMPACKAGEURL') }}</a>
<div class="info-box">
<strong>NPM package: </strong><a href="{{ env('APP_NPMPACKAGEURL') }}">{{ env('APP_NPMPACKAGEURL') }}</a>
</div>
</p>
@endif