mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-14 10:09:31 -07:00
feat(customCursor.ts): add custom cursor functionality to improve user experience
feat(stage.ts): implement stage functionality to display images and handle mouse events feat(stageNav.ts): add stage navigation functionality to navigate between images and close the stage fix(main.ts): fix import paths for customCursor, stage, and stageNav modules
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { incIndex, getState } from './state'
|
||||
import { incIndex, getState } from '../state'
|
||||
import { gsap, Power3 } from 'gsap'
|
||||
import { ImageJSON } from './resources'
|
||||
import { Watchable } from './utils'
|
||||
import { ImageJSON } from '../resources'
|
||||
import { Watchable } from '../utils'
|
||||
|
||||
// types
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { setCustomCursor } from './customCursor'
|
||||
import { decIndex, incIndex, getState } from './state'
|
||||
import { increment, decrement } from './utils'
|
||||
import { decIndex, incIndex, getState } from '../state'
|
||||
import { increment, decrement } from '../utils'
|
||||
import { cordHist, isOpen, isAnimating, active, minimizeImage } from './stage'
|
||||
|
||||
type NavItem = (typeof navItems)[number]
|
||||
@@ -1,9 +1,9 @@
|
||||
import { initResources } from './resources'
|
||||
import { initState } from './state'
|
||||
import { initCustomCursor } from './customCursor'
|
||||
import { initCustomCursor } from './desktop/customCursor'
|
||||
import { initNav } from './nav'
|
||||
import { initStage } from './stage'
|
||||
import { initStageNav } from './stageNav'
|
||||
import { initStage } from './desktop/stage'
|
||||
import { initStageNav } from './desktop/stageNav'
|
||||
|
||||
initCustomCursor()
|
||||
const ijs = initResources()
|
||||
|
||||
0
assets/ts/mobile/collection.ts
Normal file
0
assets/ts/mobile/collection.ts
Normal file
Reference in New Issue
Block a user