├── public ├── favicon.ico ├── vercel.svg └── next.svg ├── postcss.config.js ├── styles └── globals.css ├── app ├── components │ ├── navbar │ │ ├── Logo.tsx │ │ ├── UserMenuItem.tsx │ │ ├── Navbar.tsx │ │ ├── CategoriesItem.tsx │ │ ├── Categories.tsx │ │ └── UserMenu.tsx │ ├── MountedClient.tsx │ ├── buttons │ │ └── Button.tsx │ ├── listings │ │ ├── CategorySelect.tsx │ │ ├── CountrySelect.tsx │ │ └── CounterSelect.tsx │ ├── inputs │ │ └── Input.tsx │ └── modals │ │ ├── Modal.tsx │ │ ├── LoginModal.tsx │ │ ├── RegisterModal.tsx │ │ └── ElementModal.tsx ├── libs │ └── prismadb.ts ├── providers │ ├── ToastProvider.tsx │ └── ReduxProvider.tsx ├── redux │ ├── hooks.ts │ ├── store.ts │ └── modalSlice.ts ├── api │ ├── register │ │ └── route.ts │ └── listings │ │ └── route.ts ├── actions │ └── getCurrentUser.ts ├── page.tsx └── layout.tsx ├── next.config.js ├── .gitignore ├── tailwind.config.js ├── tsconfig.json ├── package.json ├── README.md ├── pages └── api │ └── auth │ └── [...nextauth].ts └── prisma └── schema.prisma /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/berkantkaya/youtube-next13-prisma/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /styles/globals.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | 5 | html, body, :root{ 6 | height: 100%; 7 | } -------------------------------------------------------------------------------- /app/components/navbar/Logo.tsx: -------------------------------------------------------------------------------- 1 | 'use client' 2 | 3 | const Logo = () => { 4 | return ( 5 |