mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 01:15:28 +00:00
23 lines
855 B
TypeScript
23 lines
855 B
TypeScript
// This file must be imported and used at least once for SVG masks.
|
|
|
|
export default function Masks() {
|
|
return (
|
|
<svg width={0} height={0} style={{ position: "fixed" }}>
|
|
<defs>
|
|
<mask id="server">
|
|
<rect x="0" y="0" width="32" height="32" fill="white" />
|
|
<circle cx="27" cy="5" r="7" fill={"black"} />
|
|
</mask>
|
|
<mask id="user">
|
|
<rect x="0" y="0" width="32" height="32" fill="white" />
|
|
<circle cx="27" cy="27" r="7" fill={"black"} />
|
|
</mask>
|
|
<mask id="overlap">
|
|
<rect x="0" y="0" width="32" height="32" fill="white" />
|
|
<circle cx="32" cy="16" r="18" fill={"black"} />
|
|
</mask>
|
|
</defs>
|
|
</svg>
|
|
);
|
|
}
|