|
|
|
@ -41,6 +41,7 @@ export type ShapeType = |
|
|
|
|
| "plus" |
|
|
|
|
| "ring" |
|
|
|
|
| "triangle" |
|
|
|
|
| "triangleBig" |
|
|
|
|
| "waves" |
|
|
|
|
| "waveBig"; |
|
|
|
|
|
|
|
|
@ -60,6 +61,7 @@ function Shape(props: { type: ShapeType; style: CSSProperties }) { |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Used for most mobile pages
|
|
|
|
|
export const mobileShapesConfig = { |
|
|
|
|
dots: [ |
|
|
|
|
{ |
|
|
|
@ -87,3 +89,33 @@ export const mobileShapesConfig = { |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
// Used for Constitution, Code of Conduct, and Our Supporters desktop pages
|
|
|
|
|
export const aboutShapesConfig = { |
|
|
|
|
cross: [ |
|
|
|
|
{ |
|
|
|
|
top: "calc(400rem / 16)", |
|
|
|
|
right: "90vw", |
|
|
|
|
width: "calc(225rem / 16)", |
|
|
|
|
height: "calc(225rem / 16)", |
|
|
|
|
transform: "rotate(30deg)", |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
triangleBig: [ |
|
|
|
|
{ |
|
|
|
|
bottom: "calc(120rem / 16)", |
|
|
|
|
left: "91vw", |
|
|
|
|
width: "calc(138rem / 16)", |
|
|
|
|
height: "calc(138rem / 16)", |
|
|
|
|
transform: "rotate(-25deg)", |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
wavesBig: [ |
|
|
|
|
{ |
|
|
|
|
top: "calc(-32rem / 16)", |
|
|
|
|
left: "88vw", |
|
|
|
|
width: "calc(296rem / 16)", |
|
|
|
|
height: "calc(254rem / 16)", |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}; |
|
|
|
|