feat: Integrate Remotion for video generation, add video compositions, and adapt ContactForm for Remotion compatibility.
Some checks failed
Build & Deploy Mintel Blog / build-and-deploy (push) Failing after 2m19s
Some checks failed
Build & Deploy Mintel Blog / build-and-deploy (push) Failing after 2m19s
This commit is contained in:
20
video/mocks/next-navigation.tsx
Normal file
20
video/mocks/next-navigation.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import React from 'react';
|
||||
|
||||
export const useRouter = () => ({
|
||||
push: () => { },
|
||||
replace: () => { },
|
||||
prefetch: () => { },
|
||||
back: () => { },
|
||||
});
|
||||
|
||||
export const useSearchParams = () => {
|
||||
return new URLSearchParams();
|
||||
};
|
||||
|
||||
export const usePathname = () => '/';
|
||||
|
||||
export const Link: React.FC<{ href: string; children: React.ReactNode; className?: string }> = ({ children, className }) => {
|
||||
return <div className={className}>{children}</div>;
|
||||
};
|
||||
|
||||
export default Link;
|
||||
Reference in New Issue
Block a user