mirror of
https://codeberg.org/angestoepselt/homepage.git
synced 2025-05-24 14:46:16 +00:00
Update banner image settings
This commit is contained in:
parent
e2b606fb0c
commit
f18d79cbe2
2 changed files with 4 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
justify-content: space-around;
|
||||
position: relative;
|
||||
min-height: 60vh;
|
||||
background-color: colors.$blue-800;
|
||||
|
||||
> .background {
|
||||
position: absolute;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue