spy info, medigun name
All checks were successful
CI / checks (push) Successful in 59s

This commit is contained in:
Robin Appelman 2025-06-28 19:20:37 +02:00
commit bdc35d0907
16 changed files with 143 additions and 27 deletions

View file

@ -29,12 +29,20 @@ export function MapRender(props: MapRenderProps) {
const image = `${map_root}images/${mapAlias}.webp`;
const background = `url(${image})`;
console.log(props.cart);
return (
<svg class="map-background" width={props.size.width} height={props.size.height}
style={{"background-image": background}}>
<defs>
<pattern id="diagonalHatchRed" patternUnits="userSpaceOnUse" width="8" height="8"
patternTransform="rotate(45 0 0)">
<line x1="0" y1="0" x2="0" y2="10" style="stroke:#a75d50; stroke-width:10"/>
</pattern>
<pattern id="diagonalHatchBlue" patternUnits="userSpaceOnUse" width="8" height="8"
patternTransform="rotate(45 0 0)">
<line x1="0" y1="0" x2="0" y2="10" style="stroke:#5b818f; stroke-width:8"/>
</pattern>
<filter id="sofGlowRed" height="300%" width="300%" x="-75%" y="-75%">
<feMorphology operator="dilate" radius="4" in="SourceAlpha" result="thicken"/>
<feGaussianBlur in="thicken" stdDeviation="5" result="blurred"/>