chore: overhaul infrastructure and integrate @mintel packages
Some checks failed
🧪 CI (QA) / 🧪 Quality Assurance (push) Failing after 1m3s
Some checks failed
🧪 CI (QA) / 🧪 Quality Assurance (push) Failing after 1m3s
- Restructure to pnpm monorepo (site moved to apps/web) - Integrate @mintel/tsconfig, @mintel/eslint-config, @mintel/husky-config - Implement Docker service architecture (Varnish, Directus, Gatekeeper) - Setup environment-aware Gitea Actions deployment
This commit is contained in:
20
apps/web/video/mocks/next-navigation.tsx
Normal file
20
apps/web/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