├── .eslintrc.json ├── .gitignore ├── .prettierrc ├── README.md ├── app ├── about │ └── page.tsx ├── contact │ └── page.tsx ├── favicon.ico ├── footer.tsx ├── globals.css ├── header.tsx ├── layout.tsx ├── page.tsx └── template.tsx ├── components └── animate.tsx ├── lib └── utils.ts ├── next.config.js ├── package.json ├── pnpm-lock.yaml ├── postcss.config.js ├── public ├── next.svg └── vercel.svg ├── tailwind.config.ts └── tsconfig.json /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | .yarn/install-state.gz 8 | 9 | # testing 10 | /coverage 11 | 12 | # next.js 13 | /.next/ 14 | /out/ 15 | 16 | # production 17 | /build 18 | 19 | # misc 20 | .DS_Store 21 | *.pem 22 | 23 | # debug 24 | npm-debug.log* 25 | yarn-debug.log* 26 | yarn-error.log* 27 | 28 | # local env files 29 | .env*.local 30 | 31 | # vercel 32 | .vercel 33 | 34 | # typescript 35 | *.tsbuildinfo 36 | next-env.d.ts 37 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "arrowParens": "avoid", 3 | "singleQuote": true, 4 | "jsxSingleQuote": true, 5 | "tabWidth": 2, 6 | "trailingComma": "none", 7 | "semi": false, 8 | "proseWrap": "always", 9 | "printWidth": 80, 10 | "plugins": ["prettier-plugin-tailwindcss"] 11 | } 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). 2 | 3 | ## Getting Started 4 | 5 | First, run the development server: 6 | 7 | ```bash 8 | npm run dev 9 | # or 10 | yarn dev 11 | # or 12 | pnpm dev 13 | # or 14 | bun dev 15 | ``` 16 | 17 | Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. 18 | 19 | You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. 20 | 21 | This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. 22 | 23 | ## Learn More 24 | 25 | To learn more about Next.js, take a look at the following resources: 26 | 27 | - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. 28 | - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. 29 | 30 | You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! 31 | 32 | ## Deploy on Vercel 33 | 34 | The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. 35 | 36 | Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. 37 | -------------------------------------------------------------------------------- /app/about/page.tsx: -------------------------------------------------------------------------------- 1 | export default function About() { 2 | return ( 3 |
4 |
5 |

About Us

6 |
7 |

8 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Amet, sit 9 | accusamus tenetur iure laboriosam ab dolor autem mollitia 10 | perspiciatis enim est sint facere temporibus tempora dolorem. 11 | Laborum veniam officiis eligendi. 12 |

13 |

14 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Amet, sit 15 | accusamus tenetur iure laboriosam ab dolor autem mollitia 16 | perspiciatis enim est sint facere temporibus tempora dolorem. 17 | Laborum veniam officiis eligendi. 18 |

19 |

20 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Amet, sit 21 | accusamus tenetur iure laboriosam ab dolor autem mollitia 22 | perspiciatis enim est sint facere temporibus tempora dolorem. 23 | Laborum veniam officiis eligendi. 24 |

25 |
26 |
27 |
28 | ) 29 | } 30 | -------------------------------------------------------------------------------- /app/contact/page.tsx: -------------------------------------------------------------------------------- 1 | export default function Contact() { 2 | return ( 3 |
4 |
5 |

Contact Us

6 |
7 |

8 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Amet, sit 9 | accusamus tenetur iure laboriosam ab dolor autem mollitia 10 | perspiciatis enim est sint facere temporibus tempora dolorem. 11 | Laborum veniam officiis eligendi. 12 |

13 |

14 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Amet, sit 15 | accusamus tenetur iure laboriosam ab dolor autem mollitia 16 | perspiciatis enim est sint facere temporibus tempora dolorem. 17 | Laborum veniam officiis eligendi. 18 |

19 |

20 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Amet, sit 21 | accusamus tenetur iure laboriosam ab dolor autem mollitia 22 | perspiciatis enim est sint facere temporibus tempora dolorem. 23 | Laborum veniam officiis eligendi. 24 |

25 |
26 |
27 |
28 | ) 29 | } 30 | -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HamedBahram/next-page-transition/eb43ac204aa5bdf94ac78a86eb56238c06c37dca/app/favicon.ico -------------------------------------------------------------------------------- /app/footer.tsx: -------------------------------------------------------------------------------- 1 | export default function Footer() { 2 | return 3 | } 4 | -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/header.tsx: -------------------------------------------------------------------------------- 1 | import Link from 'next/link' 2 | 3 | export default function Header() { 4 | return ( 5 |
6 | 19 |
20 | ) 21 | } 22 | -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- 1 | import type { Metadata } from 'next' 2 | import { Inter } from 'next/font/google' 3 | 4 | import Header from './header' 5 | import Footer from './footer' 6 | 7 | import './globals.css' 8 | 9 | const inter = Inter({ subsets: ['latin'] }) 10 | 11 | export const metadata: Metadata = { 12 | title: 'Create Next App', 13 | description: 'Generated by create next app' 14 | } 15 | 16 | export default function RootLayout({ 17 | children 18 | }: { 19 | children: React.ReactNode 20 | }) { 21 | return ( 22 | 23 | 24 |
25 |
{children}
26 |