mirror of
https://github.com/rvtr/ninjacheetah.github.io.git
synced 2025-06-18 11:05:37 -04:00
Switched to Bootstrap alert on archived project pages instead of an image
This commit is contained in:
parent
e8e6d85e44
commit
7babc88ca6
@ -66,6 +66,7 @@ GEM
|
||||
|
||||
PLATFORMS
|
||||
x86_64-darwin-21
|
||||
x86_64-linux
|
||||
|
||||
DEPENDENCIES
|
||||
jekyll (~> 4.2)
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user