parent
6f24b266eb
commit
0bbfaa59c4
@ -0,0 +1,15 @@ |
||||
.contentContainer { |
||||
position: relative; |
||||
|
||||
/* This makes the footer stay at the bottom, even if there's not much content on the screen.*/ |
||||
flex-grow: 1; |
||||
} |
||||
|
||||
.shapesContainer { |
||||
position: absolute; |
||||
top: 0; |
||||
left: 0; |
||||
right: 0; |
||||
bottom: 0; |
||||
z-index: -10; |
||||
} |
@ -0,0 +1,12 @@ |
||||
import React from "react"; |
||||
|
||||
import styles from "./ShapesBackground.module.css"; |
||||
|
||||
export function ShapesBackground(props: { children: React.ReactNode }) { |
||||
return ( |
||||
<div className={styles.contentContainer}> |
||||
<div className={styles.shapesContainer}></div> |
||||
{props.children} |
||||
</div> |
||||
); |
||||
} |
Loading…
Reference in new issue