feat: implement basic web app

This commit is contained in:
Henry Li
2026-01-15 23:40:21 +08:00
parent b44144dd2c
commit 9f2b94ed52
49 changed files with 4142 additions and 626 deletions

View File

@@ -0,0 +1,17 @@
"use client";
import { useEffect } from "react";
export function Overscroll({
behavior,
overflow = "hidden",
}: {
behavior: "none" | "contain" | "auto";
overflow?: "hidden" | "auto" | "scroll";
}) {
useEffect(() => {
document.documentElement.style.overflow = overflow;
document.documentElement.style.overscrollBehavior = behavior;
}, [behavior, overflow]);
return null;
}