Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/thatstupidcomputer / apps/web/src/animation/office/objects/Floor.tsx |
| Date | Not specified in source |
| Repository | Janady13/thatstupidcomputer |
| Revision | 57555cde46910102dd25d6c1c1fb2c359e9655bd |
| Branch | main |
| Path or archive member | apps/web/src/animation/office/objects/Floor.tsx |
| Original SHA-256 | e839cc88bf3a72d4a5fdeb03a33b5831bf623c318dcc28389153a27060c2cea8 |
| Git blob SHA | 52bab382c00c13dc338b91c9d0cfbb92c2e5c022 |
| Reading-copy SHA-256 | e839cc88bf3a72d4a5fdeb03a33b5831bf623c318dcc28389153a27060c2cea8 |
Recovered source transcript
Download complete source text ↓16 lines · 1.4 KB
import { memo } from 'react';
import type { ArtProps } from '../types';
/** Floor / complete surface. Local geometry: placement belongs to RoomObject. */
export const Floor = memo(function Floor({ idPrefix, palette, hiddenParts }: ArtProps) {
return (
<g id={`${idPrefix}--floor`} data-part="floor" display={hiddenParts?.includes("floor") ? "none" : undefined} data-art="floor">
<rect id={`${idPrefix}--floor-base`} data-part="floor-base" x="0" y="0" width="1648" height="262" rx="0" fill={palette.paper} stroke="none" strokeWidth="1.5" />
<path id={`${idPrefix}--floor-rear-tone`} data-part="floor-rear-tone" d="M0 0 H1648 V54 C1190 22 940 35 714 43 S201 87 0 46 Z" fill={palette.ink} stroke="none" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" opacity="0.035" />
<path id={`${idPrefix}--floor-seam-left`} data-part="floor-seam-left" d="M512 0 L340 262" fill="none" stroke={palette.ink} strokeWidth="0.8" strokeLinecap="round" strokeLinejoin="round" opacity="0.13" />
<path id={`${idPrefix}--floor-seam-right`} data-part="floor-seam-right" d="M1200 0 L1355 262" fill="none" stroke={palette.ink} strokeWidth="0.8" strokeLinecap="round" strokeLinejoin="round" opacity="0.1" />
<path id={`${idPrefix}--floor-seam-cross`} data-part="floor-seam-cross" d="M0 213 Q780 180 1648 233" fill="none" stroke={palette.ink} strokeWidth="0.7" strokeLinecap="round" strokeLinejoin="round" opacity="0.09" />
</g>
);
});