├── .eslintrc.json ├── .gitignore ├── LICENSE ├── README.md ├── app ├── favicon.ico ├── layout.tsx ├── page.tsx ├── signin │ └── page.tsx └── signup │ └── page.tsx ├── components ├── button.tsx ├── card-body.tsx ├── inputs │ ├── ImageInput.tsx │ └── attachment-details.tsx ├── modals │ ├── gallery-tab.tsx │ ├── modal.tsx │ └── upload-modal.tsx ├── navbar.tsx ├── realtime.tsx ├── sign-in-form.tsx ├── sign-up-form.tsx └── ui │ ├── button.tsx │ ├── card.tsx │ ├── dropdown-menu.tsx │ ├── icons.tsx │ ├── input.tsx │ ├── label.tsx │ ├── mode-toggle.tsx │ ├── select.tsx │ ├── separator.tsx │ └── textarea.tsx ├── hooks ├── use-upload-modal.tsx └── use-user.tsx ├── lib └── utils.ts ├── middleware.ts ├── next.config.js ├── package.json ├── postcss.config.js ├── providers ├── modal-provider.tsx ├── supabase-provider.tsx ├── theme-provider.tsx ├── toast-provider.tsx └── user-provider.tsx ├── public ├── next.svg └── vercel.svg ├── styles ├── globals.css └── mdx.css ├── tailwind.config.js ├── tsconfig.json ├── types.ts ├── types_db.ts └── utils └── supabase.ts /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/README.md -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/app/page.tsx -------------------------------------------------------------------------------- /app/signin/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/app/signin/page.tsx -------------------------------------------------------------------------------- /app/signup/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/app/signup/page.tsx -------------------------------------------------------------------------------- /components/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/components/button.tsx -------------------------------------------------------------------------------- /components/card-body.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/components/card-body.tsx -------------------------------------------------------------------------------- /components/inputs/ImageInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/components/inputs/ImageInput.tsx -------------------------------------------------------------------------------- /components/inputs/attachment-details.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/components/inputs/attachment-details.tsx -------------------------------------------------------------------------------- /components/modals/gallery-tab.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/components/modals/gallery-tab.tsx -------------------------------------------------------------------------------- /components/modals/modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/components/modals/modal.tsx -------------------------------------------------------------------------------- /components/modals/upload-modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/components/modals/upload-modal.tsx -------------------------------------------------------------------------------- /components/navbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/components/navbar.tsx -------------------------------------------------------------------------------- /components/realtime.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/components/realtime.tsx -------------------------------------------------------------------------------- /components/sign-in-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/components/sign-in-form.tsx -------------------------------------------------------------------------------- /components/sign-up-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/components/sign-up-form.tsx -------------------------------------------------------------------------------- /components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/components/ui/button.tsx -------------------------------------------------------------------------------- /components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/components/ui/card.tsx -------------------------------------------------------------------------------- /components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /components/ui/icons.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/components/ui/icons.tsx -------------------------------------------------------------------------------- /components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/components/ui/input.tsx -------------------------------------------------------------------------------- /components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/components/ui/label.tsx -------------------------------------------------------------------------------- /components/ui/mode-toggle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/components/ui/mode-toggle.tsx -------------------------------------------------------------------------------- /components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/components/ui/select.tsx -------------------------------------------------------------------------------- /components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/components/ui/separator.tsx -------------------------------------------------------------------------------- /components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/components/ui/textarea.tsx -------------------------------------------------------------------------------- /hooks/use-upload-modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/hooks/use-upload-modal.tsx -------------------------------------------------------------------------------- /hooks/use-user.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/hooks/use-user.tsx -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/lib/utils.ts -------------------------------------------------------------------------------- /middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/middleware.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/postcss.config.js -------------------------------------------------------------------------------- /providers/modal-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/providers/modal-provider.tsx -------------------------------------------------------------------------------- /providers/supabase-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/providers/supabase-provider.tsx -------------------------------------------------------------------------------- /providers/theme-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/providers/theme-provider.tsx -------------------------------------------------------------------------------- /providers/toast-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/providers/toast-provider.tsx -------------------------------------------------------------------------------- /providers/user-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/providers/user-provider.tsx -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/styles/globals.css -------------------------------------------------------------------------------- /styles/mdx.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/styles/mdx.css -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/types.ts -------------------------------------------------------------------------------- /types_db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/types_db.ts -------------------------------------------------------------------------------- /utils/supabase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhinishere/next-gallery-modal/HEAD/utils/supabase.ts --------------------------------------------------------------------------------