├── .eslintrc.json ├── .gitignore ├── README.md ├── actions ├── get-billboards.tsx ├── get-categories.tsx ├── get-category.tsx ├── get-colors.tsx ├── get-product.tsx ├── get-products.tsx └── get-sizes.tsx ├── app ├── (routes) │ ├── cart │ │ ├── components │ │ │ ├── cart-item.tsx │ │ │ └── summary.tsx │ │ └── page.tsx │ ├── category │ │ └── [categoryId] │ │ │ ├── components │ │ │ ├── filter.tsx │ │ │ └── mobile-filters.tsx │ │ │ └── page.tsx │ ├── page.tsx │ └── product │ │ └── [productId] │ │ └── page.tsx ├── favicon.ico ├── globals.css └── layout.tsx ├── components ├── billboard.tsx ├── footer.tsx ├── gallery │ ├── gallery-tab.tsx │ └── index.tsx ├── info.tsx ├── main-nav.tsx ├── navbar-actions.tsx ├── navbar.tsx ├── preview-modal.tsx ├── product-list.tsx └── ui │ ├── button.tsx │ ├── container.tsx │ ├── currency.tsx │ ├── icon-button.tsx │ ├── modal.tsx │ ├── no-results.tsx │ └── product-card.tsx ├── demo ├── category.png ├── demo.gif ├── filter.png ├── homepage.png ├── productpreview.png ├── related.png ├── shoppingcart.png └── stripe.png ├── hooks ├── use-cart.ts └── use-preview-modal.ts ├── lib └── utils.ts ├── next.config.js ├── package.json ├── postcss.config.js ├── providers ├── modal-provider.tsx └── toast-provider.tsx ├── public ├── next.svg └── vercel.svg ├── tailwind.config.ts ├── tsconfig.json └── types.ts /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/README.md -------------------------------------------------------------------------------- /actions/get-billboards.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/actions/get-billboards.tsx -------------------------------------------------------------------------------- /actions/get-categories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/actions/get-categories.tsx -------------------------------------------------------------------------------- /actions/get-category.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/actions/get-category.tsx -------------------------------------------------------------------------------- /actions/get-colors.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/actions/get-colors.tsx -------------------------------------------------------------------------------- /actions/get-product.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/actions/get-product.tsx -------------------------------------------------------------------------------- /actions/get-products.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/actions/get-products.tsx -------------------------------------------------------------------------------- /actions/get-sizes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/actions/get-sizes.tsx -------------------------------------------------------------------------------- /app/(routes)/cart/components/cart-item.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/app/(routes)/cart/components/cart-item.tsx -------------------------------------------------------------------------------- /app/(routes)/cart/components/summary.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/app/(routes)/cart/components/summary.tsx -------------------------------------------------------------------------------- /app/(routes)/cart/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/app/(routes)/cart/page.tsx -------------------------------------------------------------------------------- /app/(routes)/category/[categoryId]/components/filter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/app/(routes)/category/[categoryId]/components/filter.tsx -------------------------------------------------------------------------------- /app/(routes)/category/[categoryId]/components/mobile-filters.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/app/(routes)/category/[categoryId]/components/mobile-filters.tsx -------------------------------------------------------------------------------- /app/(routes)/category/[categoryId]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/app/(routes)/category/[categoryId]/page.tsx -------------------------------------------------------------------------------- /app/(routes)/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/app/(routes)/page.tsx -------------------------------------------------------------------------------- /app/(routes)/product/[productId]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/app/(routes)/product/[productId]/page.tsx -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /components/billboard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/components/billboard.tsx -------------------------------------------------------------------------------- /components/footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/components/footer.tsx -------------------------------------------------------------------------------- /components/gallery/gallery-tab.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/components/gallery/gallery-tab.tsx -------------------------------------------------------------------------------- /components/gallery/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/components/gallery/index.tsx -------------------------------------------------------------------------------- /components/info.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/components/info.tsx -------------------------------------------------------------------------------- /components/main-nav.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/components/main-nav.tsx -------------------------------------------------------------------------------- /components/navbar-actions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/components/navbar-actions.tsx -------------------------------------------------------------------------------- /components/navbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/components/navbar.tsx -------------------------------------------------------------------------------- /components/preview-modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/components/preview-modal.tsx -------------------------------------------------------------------------------- /components/product-list.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/components/product-list.tsx -------------------------------------------------------------------------------- /components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/components/ui/button.tsx -------------------------------------------------------------------------------- /components/ui/container.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/components/ui/container.tsx -------------------------------------------------------------------------------- /components/ui/currency.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/components/ui/currency.tsx -------------------------------------------------------------------------------- /components/ui/icon-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/components/ui/icon-button.tsx -------------------------------------------------------------------------------- /components/ui/modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/components/ui/modal.tsx -------------------------------------------------------------------------------- /components/ui/no-results.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/components/ui/no-results.tsx -------------------------------------------------------------------------------- /components/ui/product-card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/components/ui/product-card.tsx -------------------------------------------------------------------------------- /demo/category.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/demo/category.png -------------------------------------------------------------------------------- /demo/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/demo/demo.gif -------------------------------------------------------------------------------- /demo/filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/demo/filter.png -------------------------------------------------------------------------------- /demo/homepage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/demo/homepage.png -------------------------------------------------------------------------------- /demo/productpreview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/demo/productpreview.png -------------------------------------------------------------------------------- /demo/related.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/demo/related.png -------------------------------------------------------------------------------- /demo/shoppingcart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/demo/shoppingcart.png -------------------------------------------------------------------------------- /demo/stripe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/demo/stripe.png -------------------------------------------------------------------------------- /hooks/use-cart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/hooks/use-cart.ts -------------------------------------------------------------------------------- /hooks/use-preview-modal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/hooks/use-preview-modal.ts -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/lib/utils.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/postcss.config.js -------------------------------------------------------------------------------- /providers/modal-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/providers/modal-provider.tsx -------------------------------------------------------------------------------- /providers/toast-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/providers/toast-provider.tsx -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/demitraps/ecommerce-store-next13/HEAD/types.ts --------------------------------------------------------------------------------