add featured block

This commit is contained in:
2024-05-23 00:42:08 +02:00
parent a1dddb64b1
commit c3021e0b8b
10 changed files with 184 additions and 65 deletions

View File

@ -54,6 +54,20 @@
}
.image {
width: 100%;
padding-top: 60%;
position: relative;
img {
position: absolute;
top: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
}
.placeholderImage {
width: 100%;
padding-top: 60%;
background: var(--color-placeholder);