Switched to Bootstrap alert on archived project pages instead of an image

This commit is contained in:
NinjaCheetah 2023-01-27 16:16:32 +00:00
parent e8e6d85e44
commit 7babc88ca6
3 changed files with 5 additions and 2 deletions

View File

@ -66,6 +66,7 @@ GEM
PLATFORMS
x86_64-darwin-21
x86_64-linux
DEPENDENCIES
jekyll (~> 4.2)

View File

@ -4,7 +4,9 @@ layout: default
<div class="container text-center pb-3" id="projectPage">
{% if page.archived == true %}
<img src="https://cdn.ncxprogramming.com/file/image/banner/archived.svg" class="projectimg" style="width:80%;" alt="A banner showing that this project is archived.">
<div class="alert alert-warning" role="alert">
<span class="badge bg-warning text-dark">Important</span> This project is no longer maintained and does not recieve updates.
</div>
{% endif %}
<img src="{{ page.iconurl }}" class="projectimg" style="width:256px;height:256px;padding-top:8px;" alt="The icon for {{ page.title }}.">
<h1>{{ page.title }}</h1>

View File

@ -74,7 +74,7 @@ layout: default
<h5 class="card-title">{{ item.truename }}</h5>
<h6 class="card-subtitle mb-2 text-muted">{{ item.author }}</h6>
<p class="card-text">{{ item.desc }}</p>
<a href="https://github.com/{{ item.author }}/{{ item.name }}" class="btn btn-primary">Source</a>
<a href="https://github.com/{{ item.author }}/{{ item.name }}" class="btn btn-primary">Source <i class="bi bi-box-arrow-up-right"></i></a>
</div>
</div>
</div>