├── public ├── favicon.ico ├── vercel.svg └── styles │ └── globals.css ├── postcss.config.js ├── next.config.js ├── tailwind.config.js ├── src ├── pages │ ├── about.jsx │ ├── search.jsx │ ├── _app.jsx │ ├── index.jsx │ ├── actors │ │ └── [id].jsx │ ├── movies │ │ └── [id].jsx │ └── series │ │ └── [id].jsx └── components │ ├── Static │ ├── CardGroup.jsx │ ├── Header.jsx │ └── Card.jsx │ └── Global │ └── WatchTrailer.jsx ├── package.json ├── README.md └── next-seo.config.js /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clqu/movie-app/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('next').NextConfig} */ 2 | const nextConfig = { 3 | reactStrictMode: true, 4 | } 5 | 6 | module.exports = nextConfig 7 | -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | content: [ 3 | "./src/**/**/*.{js,ts,jsx,tsx}" 4 | ], 5 | theme: { 6 | extend: {}, 7 | }, 8 | plugins: [], 9 | } 10 | -------------------------------------------------------------------------------- /src/pages/about.jsx: -------------------------------------------------------------------------------- 1 | function About() { 2 | return <> 3 |
About Us
5 |We are not real, this is an open-source project. That's why there is no about us page content.
6 |{title}
8 | {seeMore && ( 9 |See more
10 | )} 11 |
4 |
5 | #### [Demo](https://movie-app-clqu.vercel.app)
6 |
7 |
8 |
9 | ## Getting Started
10 |
11 | ### 🛠 Development Server
12 |
13 | ```bash
14 | npm install --s --f && npm run dev
15 | # or
16 | yarn install && yarn dev
17 | ```
18 | ### 🛠 Production Server
19 | ```bash
20 | npm install --s --f && npm run build && npm run start
21 | # or
22 | yarn install && yarn build && yarn start
23 | ```
24 | Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
25 | You can start editing the page by modifying `src/pages/index.js`. The page auto-updates as you edit the file.
26 |
27 |
28 | ## Learn More
29 |
30 | To learn more about Next.js, take a look at the following resources:
31 |
32 | - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
33 | - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
34 |
35 | You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
36 |
37 | ## Deploy on Vercel
38 |
39 | The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new/import?s=https://github.com/clqu/clqu.live&utm_source=clqu.live) from the clqu.
40 |
41 | Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
42 |
43 | ## ⭐ Star
44 | - Don't forget to star this repo for support :)
45 |
--------------------------------------------------------------------------------
/next-seo.config.js:
--------------------------------------------------------------------------------
1 | export default {
2 | title: "Movie App",
3 | description: "Find your best movie to make time beautiful.",
4 | canonical: "https://www.canonical.ie/",
5 | openGraph: {
6 | url: 'https://www.url.ie/a',
7 | title: 'Movie App',
8 | description: 'Find your best movie to make time beautiful.',
9 | images: [
10 | {
11 | url: 'https://camo.githubusercontent.com/7c2653420dcefe95b95440f99ee500ca3fb4bb610408a949d102fab2a73fe8af/68747470733a2f2f692e696d6775722e636f6d2f6d457443484c412e706e67',
12 | width: 800,
13 | height: 600,
14 | alt: 'Og Image Alt',
15 | type: 'image/jpeg',
16 | },
17 | {
18 | url: 'https://camo.githubusercontent.com/7c2653420dcefe95b95440f99ee500ca3fb4bb610408a949d102fab2a73fe8af/68747470733a2f2f692e696d6775722e636f6d2f6d457443484c412e706e67',
19 | width: 900,
20 | height: 800,
21 | alt: 'Og Image Alt Second',
22 | type: 'image/jpeg',
23 | },
24 | { url: 'https://camo.githubusercontent.com/7c2653420dcefe95b95440f99ee500ca3fb4bb610408a949d102fab2a73fe8af/68747470733a2f2f692e696d6775722e636f6d2f6d457443484c412e706e67' },
25 | { url: 'https://camo.githubusercontent.com/7c2653420dcefe95b95440f99ee500ca3fb4bb610408a949d102fab2a73fe8af/68747470733a2f2f692e696d6775722e636f6d2f6d457443484c412e706e67' },
26 | ],
27 | site_name: 'Movie App',
28 | },
29 | twitter: {
30 | handle: '@handle',
31 | site: '@site',
32 | cardType: 'summary_large_image',
33 | }
34 | };
35 |
--------------------------------------------------------------------------------
/src/pages/search.jsx:
--------------------------------------------------------------------------------
1 | import Head from 'next/head'
2 | import Image from 'next/image'
3 | import { FiFilter } from "react-icons/fi";
4 | import { BsSearch } from "react-icons/bs";
5 | import CardGroup from '../components/Static/CardGroup';
6 |
7 | function Search({ data, query }) {
8 | return <>
9 |
10 | Millions of movies, TV shows and people to discover. Explore now.
12 | 20 |{item.title}
28 |{index + 1}
{item.title}
38 |Millions of movies, TV shows and people to discover. Explore now.
12 | 20 |{data?.name}
28 |{data?.overview}
32 |Biography
40 |{data?.biography}
41 |Also Known As
44 |{i}
47 | ))} 48 |{data?.original_title}
26 |{data?.overview}
39 | 40 |{data?.name}
26 |{data?.overview}
39 | 40 |Movie App
14 |{movie?.title || movie?.name}
22 | {value !== "actors" && value !== "seasons" && ( 23 |{movie?.title || movie?.name}
42 |{movie?.title || movie?.name}
58 |