Refactor code structure for improved readability and maintainability

This commit is contained in:
2026-08-31 19:59:49 +08:00
parent 812c39782e
commit 37173cfbeb
11 changed files with 836 additions and 22 deletions
+12
View File
@@ -0,0 +1,12 @@
// lib/scrollBus.ts
export interface ScrollBusState {
current: number;
velocity: number;
progress: number;
}
export const scrollBus: ScrollBusState = {
current: 0,
velocity: 0,
progress: 0,
};