feat(contact): animate outro

This commit is contained in:
2025-11-17 23:13:40 +01:00
parent 8c8af8bac8
commit 8e418ac51d
9 changed files with 118 additions and 29 deletions

8
app/utils/math.ts Normal file
View File

@@ -0,0 +1,8 @@
export type Point = [x: number, y: number];
export type Rect = [x: number, y: number, width: number, height: number];
export function rectContains(rect: Rect, point: Point): boolean {
const [x, y, width, height] = rect;
const [px, py] = point;
return px >= x && px <= x + width && py >= y && py <= y + height;
}