mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Website: update default image for articles (#16365)
Closes: #16032 Changes: - Updated the cards on article pages to display the Fleet logo on a white background for articles that do not have an image.
This commit is contained in:
parent
0728f8389b
commit
a3565ed90a
2 changed files with 1 additions and 1 deletions
BIN
website/assets/images/blog-fleet-logo-white-background-800x450@2x.png
vendored
Normal file
BIN
website/assets/images/blog-fleet-logo-white-background-800x450@2x.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
2
website/views/pages/articles/articles.ejs
vendored
2
website/views/pages/articles/articles.ejs
vendored
|
|
@ -26,7 +26,7 @@
|
|||
<div purpose="articles" class="card-deck d-flex justify-content-center" v-if="selectedArticles.length > 0">
|
||||
<div purpose="article-card" class="card" v-for="article in selectedArticles">
|
||||
<a purpose="article-card-link" :href="article.url">
|
||||
<img style="width: 100%; height: auto;" :src="[article.meta.articleImageUrl ? article.meta.articleImageUrl : '/images/press-kit/press-kit-fleet-logo-white-preview-600x336@2x.png']" alt="Article hero image">
|
||||
<img style="width: 100%; height: auto;" :src="[article.meta.articleImageUrl ? article.meta.articleImageUrl : '/images/blog-fleet-logo-white-background-800x450@2x.png']" alt="Article hero image">
|
||||
</a>
|
||||
<div purpose="article-card-body" class="card-body d-flex flex-column">
|
||||
<p purpose="category-name" class="pb-2 mb-0">{{article.meta.category}}</p>
|
||||
|
|
|
|||
Loading…
Reference in a new issue