| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.
The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.
This project uses next/font to automatically optimize and load Inter, a custom Google Font.
To learn more about Next.js, take a look at the following resources:
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
"baseUrl": ".",
"paths": {
"@/components/*": ["components/*"],
"@/pages/*": ["pages/*"],
"@/lib/*": ["lib/*"],
"@/styles/*": ["styles/*"],
"@/data/*": ["data/*"]
},import { useEffect } from 'react';
import { useRouter } from 'next/navigation';
/*
simple 404 function to redirect to home
*/
export default function Custom404() {
const router = useRouter();
useEffect(() => {
router.replace('/');
}, []);
return null;
}'use client';
import { ThemeProvider } from 'next-themes';
import { LazyMotion, domAnimation } from 'framer-motion';
// see: https://beta.nextjs.org/docs/rendering/server-and-client-components
export const Providers = ({ children }: { children: React.ReactNode }) => {
return (
<ThemeProvider attribute='class'>
<LazyMotion features={domAnimation}>{children}</LazyMotion>
</ThemeProvider>
);
};{
"useTabs": false,
"printWidth": 100,
"semi": true,
"jsxSingleQuote": true,
"singleQuote": true
}| Back | FazBrowse Home | New Git URL |