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:
Eric 2024-01-25 18:16:41 -06:00 committed by GitHub
parent 0728f8389b
commit a3565ed90a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -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>