Skip to content

Commit 6ab41f7

Browse files
committed
Add new zip field to AddonsData type, integrate react-toastify, and implement light effect on mouse movement; refactor imports and enhance error messages in Post component
1 parent f4de75a commit 6ab41f7

30 files changed

+437
-134
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"react-dom": "^19.0.0",
2424
"react-markdown": "^9.0.3",
2525
"react-router-dom": "^7.1.1",
26+
"react-toastify": "^11.0.3",
2627
"rehype-raw": "^7.0.0",
2728
"remark-gfm": "^4.0.0",
2829
"tailwind-variants": "^0.3.0",

pnpm-lock.yaml

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/expansions/cataclysm.webp

24.1 KB
Loading

public/expansions/lichking.webp

23.5 KB
Loading

public/expansions/pandaria.webp

20.8 KB
Loading

public/expansions/tbc.webp

22.6 KB
Loading

public/expansions/vanilla.webp

35.2 KB
Loading

public/tbc.webp

38.9 KB
Loading

public/vanilla.webp

22.7 KB
Loading

src/NextUIProv.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
import { HeroUIProvider } from "@heroui/react"
1+
import { useLightEffect } from '@/hook/useMouseLanter'
2+
import { HeroUIProvider } from '@heroui/react'
23
import { ReactNode } from 'react'
34
import { useHref, useNavigate } from 'react-router-dom'
45

56
export function NextUIProv({ children }: { children: ReactNode }) {
67
const navigate = useNavigate()
8+
const lightRef = useLightEffect()
79

810
return (
911
<HeroUIProvider navigate={navigate} useHref={useHref} className="bg-backgrounds-main">
1012
<div className="bg-backgrounds-main-shadows" />
13+
<div ref={lightRef} className="light-effect" />
1114
{children}
1215
</HeroUIProvider>
1316
)

0 commit comments

Comments
 (0)