update 30/01

This commit is contained in:
2026-01-30 17:09:41 +07:00
parent bf78d0583d
commit eb44cc2575
17 changed files with 6781 additions and 6473 deletions

View File

@@ -0,0 +1,19 @@
'use client';
import { useEffect } from 'react';
import { Fancybox as NativeFancybox } from '@fancyapps/ui';
export default function FancyboxWrapper({ children }: { children: React.ReactNode }) {
useEffect(() => {
NativeFancybox.bind('[data-fancybox]', {
// Options
});
return () => {
NativeFancybox.destroy();
};
}, []);
return <>{children}</>;
}