Update banner image settings

This commit is contained in:
Yannik Rödel 2021-09-21 14:24:02 +02:00
parent e2b606fb0c
commit f18d79cbe2
2 changed files with 4 additions and 0 deletions

View file

@ -77,6 +77,9 @@ ${content}
formats: ["avif", "webp", "jpeg"],
urlPath: "/assets/img",
outputDir: "./_site/assets/img",
sharpAvifOptions: { quality: 40 },
sharpWebpOptions: { quality: 50 },
sharpJpegOptions: { quality: 65 },
});
const backgroundHTML = Image.generateHTML(backgroundMetadata, {
alt: backgroundAlt,

View file

@ -12,6 +12,7 @@
justify-content: space-around;
position: relative;
min-height: 60vh;
background-color: colors.$blue-800;
> .background {
position: absolute;