├── .eslintrc.json ├── public ├── favicon.ico └── spinner.svg ├── postcss.config.js ├── jsconfig.json ├── src ├── app │ ├── globals.css │ ├── loading.jsx │ ├── head.jsx │ ├── error.jsx │ ├── Providers.jsx │ ├── layout.jsx │ ├── search │ │ └── [searchTerm] │ │ │ └── page.jsx │ ├── page.jsx │ ├── movie │ │ └── [id] │ │ │ └── page.jsx │ └── about │ │ └── page.jsx └── components │ ├── Navbar.jsx │ ├── Results.jsx │ ├── MenuItem.jsx │ ├── NavbarItem.jsx │ ├── DarkModeSwitch.jsx │ ├── Header.jsx │ ├── SearchBox.jsx │ └── Card.jsx ├── next.config.js ├── tailwind.config.js ├── .gitignore ├── package.json └── README.md /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sahandghavidel/imdb/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": ".", 4 | "paths": { 5 | "@/*": ["./src/*"] 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | 5 | html::-webkit-scrollbar { 6 | display: none; 7 | } 8 | 9 | html { 10 | scrollbar-width: none; 11 | } 12 | -------------------------------------------------------------------------------- /src/app/loading.jsx: -------------------------------------------------------------------------------- 1 | export default function loading() { 2 | return ( 3 |
{title}
9 | 10 |{result.overview}
26 |
30 | {result.release_date || result.first_air_date}
31 |
36 | Overview: 37 | {movie.overview} 38 |
39 |40 | Date Released: 41 | {movie.release_date || movie.first_air_date} 42 |
43 |44 | Rating: 45 | {movie.vote_count} 46 |
47 |6 | Welcome to our movie database website! We are a team of passionate movie 7 | enthusiasts who have come together to create a one-stop destination for 8 | all your movie-related needs. 9 |
10 | 11 |12 | Our website is designed to provide you with a comprehensive database of 13 | movies from all around the world, along with the latest news, reviews, 14 | and trailers. Our movie database is constantly updated with new 15 | releases, ensuring that you have access to the latest and greatest in 16 | the world of cinema. You can search for movies by title, director, 17 | actor, genre, or release date, making it easy to find the perfect movie 18 | for any occasion. 19 |
20 | 21 |22 | In addition to our extensive movie database, we also offer a platform 23 | for movie lovers to connect and share their thoughts on the latest 24 | releases. Our community section includes a forum where you can discuss 25 | your favorite films with like-minded individuals and read reviews and 26 | ratings from other users. We also have a section dedicated to movie news 27 | and trailers, keeping you updated with the latest happenings in the 28 | world of cinema. Thank you for visiting our website and we hope you 29 | enjoy your time browsing through our movie database. If you have any 30 | feedback or suggestions, please feel free to contact us. We are always 31 | looking for ways to improve and enhance the user experience on our 32 | website. Happy browsing! 33 |
34 |