add pig pattern to footer

This commit is contained in:
elise
2024-08-05 21:00:22 +02:00
parent 92b9c1b890
commit 8442ee81f3
3 changed files with 30 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

View File

@ -36,6 +36,7 @@ async function OpeningHoursTable() {
export const Footer = () => { export const Footer = () => {
return ( return (
<>
<footer className={styles.footer}> <footer className={styles.footer}>
<div className={styles.social}> <div className={styles.social}>
<h2 className="suphead">Følg oss</h2> <h2 className="suphead">Følg oss</h2>
@ -124,5 +125,8 @@ export const Footer = () => {
<ToTop /> <ToTop />
</div> </div>
</footer> </footer>
<div className={styles.pigPattern}>
</div>
</>
); );
}; };

View File

@ -115,6 +115,32 @@
} }
} }
.pigPattern {
background-color: var(--color-background);
background-image: url("/assets/graphics/grisemonster.png");
background-size: 100% auto;
background-position: 0 100%;
background-attachment: fixed;
background-repeat: no-repeat;
width: 100%;
height: 50vh;
position: relative;
z-index: 700;
@media (orientation: landscape) {
background-size: 100% auto;
}
@media (orientation: portrait) {
background-size: auto 50%;
}
@media (hover: none) {
background-attachment: initial;
background-size: cover;
}
}
@media (max-width: 900px) { @media (max-width: 900px) {
.social, .social,
.contact, .contact,