├── .env.example ├── .eslintrc.json ├── .gitignore ├── @types ├── next-auth.d.ts └── prisma.ts ├── README.md ├── app ├── (checkout) │ ├── checkout │ │ └── page.tsx │ └── layout.tsx ├── (dashboard) │ ├── dashboard │ │ └── page.tsx │ └── layout.tsx ├── (root) │ ├── @modal │ │ ├── (.)product │ │ │ └── [id] │ │ │ │ └── page.tsx │ │ ├── [...catchAll] │ │ │ └── page.tsx │ │ └── default.tsx │ ├── layout.tsx │ ├── not-auth │ │ └── page.tsx │ ├── page.tsx │ ├── product │ │ └── [id] │ │ │ └── page.tsx │ └── profile │ │ └── page.tsx ├── actions.ts ├── api │ ├── auth │ │ ├── [...nextauth] │ │ │ └── route.ts │ │ ├── me │ │ │ └── route.ts │ │ └── verify │ │ │ └── route.ts │ ├── cart │ │ ├── [id] │ │ │ └── route.ts │ │ └── route.ts │ ├── ingredients │ │ └── route.ts │ ├── products │ │ └── search │ │ │ └── route.ts │ ├── stories │ │ └── route.ts │ └── users │ │ └── route.ts ├── favicon.ico ├── globals.css └── layout.tsx ├── components.json ├── next.config.mjs ├── package.json ├── postcss.config.mjs ├── prisma ├── constants.ts ├── prisma-client.ts ├── schema.prisma └── seed.ts ├── public ├── assets │ └── images │ │ ├── empty-box.png │ │ ├── lock.png │ │ ├── not-found.png │ │ ├── numbers-icon.png │ │ └── phone-icon.png └── logo.png ├── shared ├── components │ ├── index.ts │ ├── shared │ │ ├── address-input.tsx │ │ ├── cart-button.tsx │ │ ├── cart-drawer-item.tsx │ │ ├── cart-drawer.tsx │ │ ├── cart-item-details │ │ │ ├── cart-item-details-count-button.tsx │ │ │ ├── cart-item-details-image.tsx │ │ │ ├── cart-item-details-price.tsx │ │ │ ├── cart-item-details.types.ts │ │ │ ├── cart-item-info.tsx │ │ │ └── index.ts │ │ ├── categories.tsx │ │ ├── checkbox-filters-group.tsx │ │ ├── checkout-item-details.tsx │ │ ├── checkout-item-skeleton.tsx │ │ ├── checkout-item.tsx │ │ ├── checkout-sidebar.tsx │ │ ├── checkout │ │ │ ├── checkout-address-form.tsx │ │ │ ├── checkout-cart.tsx │ │ │ ├── checkout-form-schema.ts │ │ │ ├── checkout-personal-info.tsx │ │ │ └── index.ts │ │ ├── choose-pizza-form.tsx │ │ ├── choose-product-form.tsx │ │ ├── clear-button.tsx │ │ ├── container.tsx │ │ ├── count-button.tsx │ │ ├── count-icon-button.tsx │ │ ├── email-templates │ │ │ ├── index.ts │ │ │ ├── pay-order.tsx │ │ │ └── verification-user.tsx │ │ ├── error-text.tsx │ │ ├── filter-checkbox.tsx │ │ ├── filters.tsx │ │ ├── form │ │ │ ├── form-input.tsx │ │ │ ├── form-textarea.tsx │ │ │ └── index.ts │ │ ├── group-variants.tsx │ │ ├── header.tsx │ │ ├── index.ts │ │ ├── info-block.tsx │ │ ├── ingredient-item.tsx │ │ ├── modals │ │ │ ├── auth-modal │ │ │ │ ├── auth-modal.tsx │ │ │ │ └── index.ts │ │ │ ├── choose-product-modal.tsx │ │ │ ├── forms │ │ │ │ ├── login-form.tsx │ │ │ │ ├── register-form.tsx │ │ │ │ └── schema.ts │ │ │ └── index.ts │ │ ├── pizza-image.tsx │ │ ├── product-card.tsx │ │ ├── products-group-list.tsx │ │ ├── profile-button.tsx │ │ ├── profile-form.tsx │ │ ├── providers.tsx │ │ ├── range-slider.tsx │ │ ├── required-symbol.tsx │ │ ├── search-input.tsx │ │ ├── sort-popup.tsx │ │ ├── stories.tsx │ │ ├── switch-product-form.tsx │ │ ├── title.tsx │ │ ├── top-bar.tsx │ │ └── white-block.tsx │ └── ui │ │ ├── button.tsx │ │ ├── checkbox.tsx │ │ ├── dialog.tsx │ │ ├── drawer.tsx │ │ ├── index.ts │ │ ├── input.tsx │ │ ├── popover.tsx │ │ ├── select.tsx │ │ ├── sheet.tsx │ │ ├── skeleton.tsx │ │ ├── slider.tsx │ │ └── textarea.tsx ├── constants │ ├── auth-options.ts │ └── pizza.ts ├── hooks │ ├── index.ts │ ├── use-cart.ts │ ├── use-filters.ts │ ├── use-ingredients.ts │ ├── use-pizza-options.ts │ └── use-query-filter.ts ├── lib │ ├── calc-cart-item-total-price.ts │ ├── calc-total-pizza-price.ts │ ├── find-or-create-cart.ts │ ├── find-pizza.ts │ ├── get-available-pizza-sizes.ts │ ├── get-cart-details.ts │ ├── get-cart-item-details.ts │ ├── get-pizza-details.ts │ ├── get-user-session.ts │ ├── index.ts │ ├── send-email.ts │ ├── update-cart-total-amount.ts │ └── utils.ts ├── services │ ├── api-client.ts │ ├── auth.ts │ ├── cart.ts │ ├── constants.ts │ ├── dto │ │ └── cart.dto.ts │ ├── ingredients.ts │ ├── instance.ts │ ├── products.ts │ └── stories.ts └── store │ ├── cart.ts │ ├── category.ts │ └── index.ts ├── tailwind.config.ts └── tsconfig.json /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/.gitignore -------------------------------------------------------------------------------- /@types/next-auth.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/@types/next-auth.d.ts -------------------------------------------------------------------------------- /@types/prisma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/@types/prisma.ts -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/README.md -------------------------------------------------------------------------------- /app/(checkout)/checkout/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/(checkout)/checkout/page.tsx -------------------------------------------------------------------------------- /app/(checkout)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/(checkout)/layout.tsx -------------------------------------------------------------------------------- /app/(dashboard)/dashboard/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/(dashboard)/dashboard/page.tsx -------------------------------------------------------------------------------- /app/(dashboard)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/(dashboard)/layout.tsx -------------------------------------------------------------------------------- /app/(root)/@modal/(.)product/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/(root)/@modal/(.)product/[id]/page.tsx -------------------------------------------------------------------------------- /app/(root)/@modal/[...catchAll]/page.tsx: -------------------------------------------------------------------------------- 1 | export default function CatchAll() { 2 | return null 3 | } 4 | -------------------------------------------------------------------------------- /app/(root)/@modal/default.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/(root)/@modal/default.tsx -------------------------------------------------------------------------------- /app/(root)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/(root)/layout.tsx -------------------------------------------------------------------------------- /app/(root)/not-auth/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/(root)/not-auth/page.tsx -------------------------------------------------------------------------------- /app/(root)/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/(root)/page.tsx -------------------------------------------------------------------------------- /app/(root)/product/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/(root)/product/[id]/page.tsx -------------------------------------------------------------------------------- /app/(root)/profile/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/(root)/profile/page.tsx -------------------------------------------------------------------------------- /app/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/actions.ts -------------------------------------------------------------------------------- /app/api/auth/[...nextauth]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/api/auth/[...nextauth]/route.ts -------------------------------------------------------------------------------- /app/api/auth/me/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/api/auth/me/route.ts -------------------------------------------------------------------------------- /app/api/auth/verify/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/api/auth/verify/route.ts -------------------------------------------------------------------------------- /app/api/cart/[id]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/api/cart/[id]/route.ts -------------------------------------------------------------------------------- /app/api/cart/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/api/cart/route.ts -------------------------------------------------------------------------------- /app/api/ingredients/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/api/ingredients/route.ts -------------------------------------------------------------------------------- /app/api/products/search/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/api/products/search/route.ts -------------------------------------------------------------------------------- /app/api/stories/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/api/stories/route.ts -------------------------------------------------------------------------------- /app/api/users/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/api/users/route.ts -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/components.json -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/next.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /prisma/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/prisma/constants.ts -------------------------------------------------------------------------------- /prisma/prisma-client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/prisma/prisma-client.ts -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /prisma/seed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/prisma/seed.ts -------------------------------------------------------------------------------- /public/assets/images/empty-box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/public/assets/images/empty-box.png -------------------------------------------------------------------------------- /public/assets/images/lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/public/assets/images/lock.png -------------------------------------------------------------------------------- /public/assets/images/not-found.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/public/assets/images/not-found.png -------------------------------------------------------------------------------- /public/assets/images/numbers-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/public/assets/images/numbers-icon.png -------------------------------------------------------------------------------- /public/assets/images/phone-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/public/assets/images/phone-icon.png -------------------------------------------------------------------------------- /public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/public/logo.png -------------------------------------------------------------------------------- /shared/components/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/index.ts -------------------------------------------------------------------------------- /shared/components/shared/address-input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/address-input.tsx -------------------------------------------------------------------------------- /shared/components/shared/cart-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/cart-button.tsx -------------------------------------------------------------------------------- /shared/components/shared/cart-drawer-item.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/cart-drawer-item.tsx -------------------------------------------------------------------------------- /shared/components/shared/cart-drawer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/cart-drawer.tsx -------------------------------------------------------------------------------- /shared/components/shared/cart-item-details/cart-item-details-count-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/cart-item-details/cart-item-details-count-button.tsx -------------------------------------------------------------------------------- /shared/components/shared/cart-item-details/cart-item-details-image.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/cart-item-details/cart-item-details-image.tsx -------------------------------------------------------------------------------- /shared/components/shared/cart-item-details/cart-item-details-price.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/cart-item-details/cart-item-details-price.tsx -------------------------------------------------------------------------------- /shared/components/shared/cart-item-details/cart-item-details.types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/cart-item-details/cart-item-details.types.ts -------------------------------------------------------------------------------- /shared/components/shared/cart-item-details/cart-item-info.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/cart-item-details/cart-item-info.tsx -------------------------------------------------------------------------------- /shared/components/shared/cart-item-details/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/cart-item-details/index.ts -------------------------------------------------------------------------------- /shared/components/shared/categories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/categories.tsx -------------------------------------------------------------------------------- /shared/components/shared/checkbox-filters-group.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/checkbox-filters-group.tsx -------------------------------------------------------------------------------- /shared/components/shared/checkout-item-details.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/checkout-item-details.tsx -------------------------------------------------------------------------------- /shared/components/shared/checkout-item-skeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/checkout-item-skeleton.tsx -------------------------------------------------------------------------------- /shared/components/shared/checkout-item.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/checkout-item.tsx -------------------------------------------------------------------------------- /shared/components/shared/checkout-sidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/checkout-sidebar.tsx -------------------------------------------------------------------------------- /shared/components/shared/checkout/checkout-address-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/checkout/checkout-address-form.tsx -------------------------------------------------------------------------------- /shared/components/shared/checkout/checkout-cart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/checkout/checkout-cart.tsx -------------------------------------------------------------------------------- /shared/components/shared/checkout/checkout-form-schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/checkout/checkout-form-schema.ts -------------------------------------------------------------------------------- /shared/components/shared/checkout/checkout-personal-info.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/checkout/checkout-personal-info.tsx -------------------------------------------------------------------------------- /shared/components/shared/checkout/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/checkout/index.ts -------------------------------------------------------------------------------- /shared/components/shared/choose-pizza-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/choose-pizza-form.tsx -------------------------------------------------------------------------------- /shared/components/shared/choose-product-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/choose-product-form.tsx -------------------------------------------------------------------------------- /shared/components/shared/clear-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/clear-button.tsx -------------------------------------------------------------------------------- /shared/components/shared/container.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/container.tsx -------------------------------------------------------------------------------- /shared/components/shared/count-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/count-button.tsx -------------------------------------------------------------------------------- /shared/components/shared/count-icon-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/count-icon-button.tsx -------------------------------------------------------------------------------- /shared/components/shared/email-templates/index.ts: -------------------------------------------------------------------------------- 1 | export { PayOrderTemplate } from './pay-order' -------------------------------------------------------------------------------- /shared/components/shared/email-templates/pay-order.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/email-templates/pay-order.tsx -------------------------------------------------------------------------------- /shared/components/shared/email-templates/verification-user.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/email-templates/verification-user.tsx -------------------------------------------------------------------------------- /shared/components/shared/error-text.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/error-text.tsx -------------------------------------------------------------------------------- /shared/components/shared/filter-checkbox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/filter-checkbox.tsx -------------------------------------------------------------------------------- /shared/components/shared/filters.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/filters.tsx -------------------------------------------------------------------------------- /shared/components/shared/form/form-input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/form/form-input.tsx -------------------------------------------------------------------------------- /shared/components/shared/form/form-textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/form/form-textarea.tsx -------------------------------------------------------------------------------- /shared/components/shared/form/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/form/index.ts -------------------------------------------------------------------------------- /shared/components/shared/group-variants.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/group-variants.tsx -------------------------------------------------------------------------------- /shared/components/shared/header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/header.tsx -------------------------------------------------------------------------------- /shared/components/shared/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/index.ts -------------------------------------------------------------------------------- /shared/components/shared/info-block.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/info-block.tsx -------------------------------------------------------------------------------- /shared/components/shared/ingredient-item.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/ingredient-item.tsx -------------------------------------------------------------------------------- /shared/components/shared/modals/auth-modal/auth-modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/modals/auth-modal/auth-modal.tsx -------------------------------------------------------------------------------- /shared/components/shared/modals/auth-modal/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/modals/auth-modal/index.ts -------------------------------------------------------------------------------- /shared/components/shared/modals/choose-product-modal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/modals/choose-product-modal.tsx -------------------------------------------------------------------------------- /shared/components/shared/modals/forms/login-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/modals/forms/login-form.tsx -------------------------------------------------------------------------------- /shared/components/shared/modals/forms/register-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/modals/forms/register-form.tsx -------------------------------------------------------------------------------- /shared/components/shared/modals/forms/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/modals/forms/schema.ts -------------------------------------------------------------------------------- /shared/components/shared/modals/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/modals/index.ts -------------------------------------------------------------------------------- /shared/components/shared/pizza-image.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/pizza-image.tsx -------------------------------------------------------------------------------- /shared/components/shared/product-card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/product-card.tsx -------------------------------------------------------------------------------- /shared/components/shared/products-group-list.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/products-group-list.tsx -------------------------------------------------------------------------------- /shared/components/shared/profile-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/profile-button.tsx -------------------------------------------------------------------------------- /shared/components/shared/profile-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/profile-form.tsx -------------------------------------------------------------------------------- /shared/components/shared/providers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/providers.tsx -------------------------------------------------------------------------------- /shared/components/shared/range-slider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/range-slider.tsx -------------------------------------------------------------------------------- /shared/components/shared/required-symbol.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/required-symbol.tsx -------------------------------------------------------------------------------- /shared/components/shared/search-input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/search-input.tsx -------------------------------------------------------------------------------- /shared/components/shared/sort-popup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/sort-popup.tsx -------------------------------------------------------------------------------- /shared/components/shared/stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/stories.tsx -------------------------------------------------------------------------------- /shared/components/shared/switch-product-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/switch-product-form.tsx -------------------------------------------------------------------------------- /shared/components/shared/title.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/title.tsx -------------------------------------------------------------------------------- /shared/components/shared/top-bar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/top-bar.tsx -------------------------------------------------------------------------------- /shared/components/shared/white-block.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/shared/white-block.tsx -------------------------------------------------------------------------------- /shared/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/ui/button.tsx -------------------------------------------------------------------------------- /shared/components/ui/checkbox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/ui/checkbox.tsx -------------------------------------------------------------------------------- /shared/components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/ui/dialog.tsx -------------------------------------------------------------------------------- /shared/components/ui/drawer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/ui/drawer.tsx -------------------------------------------------------------------------------- /shared/components/ui/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/ui/index.ts -------------------------------------------------------------------------------- /shared/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/ui/input.tsx -------------------------------------------------------------------------------- /shared/components/ui/popover.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/ui/popover.tsx -------------------------------------------------------------------------------- /shared/components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/ui/select.tsx -------------------------------------------------------------------------------- /shared/components/ui/sheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/ui/sheet.tsx -------------------------------------------------------------------------------- /shared/components/ui/skeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/ui/skeleton.tsx -------------------------------------------------------------------------------- /shared/components/ui/slider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/ui/slider.tsx -------------------------------------------------------------------------------- /shared/components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/components/ui/textarea.tsx -------------------------------------------------------------------------------- /shared/constants/auth-options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/constants/auth-options.ts -------------------------------------------------------------------------------- /shared/constants/pizza.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/constants/pizza.ts -------------------------------------------------------------------------------- /shared/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/hooks/index.ts -------------------------------------------------------------------------------- /shared/hooks/use-cart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/hooks/use-cart.ts -------------------------------------------------------------------------------- /shared/hooks/use-filters.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/hooks/use-filters.ts -------------------------------------------------------------------------------- /shared/hooks/use-ingredients.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/hooks/use-ingredients.ts -------------------------------------------------------------------------------- /shared/hooks/use-pizza-options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/hooks/use-pizza-options.ts -------------------------------------------------------------------------------- /shared/hooks/use-query-filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/hooks/use-query-filter.ts -------------------------------------------------------------------------------- /shared/lib/calc-cart-item-total-price.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/lib/calc-cart-item-total-price.ts -------------------------------------------------------------------------------- /shared/lib/calc-total-pizza-price.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/lib/calc-total-pizza-price.ts -------------------------------------------------------------------------------- /shared/lib/find-or-create-cart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/lib/find-or-create-cart.ts -------------------------------------------------------------------------------- /shared/lib/find-pizza.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/lib/find-pizza.ts -------------------------------------------------------------------------------- /shared/lib/get-available-pizza-sizes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/lib/get-available-pizza-sizes.ts -------------------------------------------------------------------------------- /shared/lib/get-cart-details.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/lib/get-cart-details.ts -------------------------------------------------------------------------------- /shared/lib/get-cart-item-details.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/lib/get-cart-item-details.ts -------------------------------------------------------------------------------- /shared/lib/get-pizza-details.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/lib/get-pizza-details.ts -------------------------------------------------------------------------------- /shared/lib/get-user-session.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/lib/get-user-session.ts -------------------------------------------------------------------------------- /shared/lib/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/lib/index.ts -------------------------------------------------------------------------------- /shared/lib/send-email.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/lib/send-email.ts -------------------------------------------------------------------------------- /shared/lib/update-cart-total-amount.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/lib/update-cart-total-amount.ts -------------------------------------------------------------------------------- /shared/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/lib/utils.ts -------------------------------------------------------------------------------- /shared/services/api-client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/services/api-client.ts -------------------------------------------------------------------------------- /shared/services/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/services/auth.ts -------------------------------------------------------------------------------- /shared/services/cart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/services/cart.ts -------------------------------------------------------------------------------- /shared/services/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/services/constants.ts -------------------------------------------------------------------------------- /shared/services/dto/cart.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/services/dto/cart.dto.ts -------------------------------------------------------------------------------- /shared/services/ingredients.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/services/ingredients.ts -------------------------------------------------------------------------------- /shared/services/instance.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/services/instance.ts -------------------------------------------------------------------------------- /shared/services/products.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/services/products.ts -------------------------------------------------------------------------------- /shared/services/stories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/services/stories.ts -------------------------------------------------------------------------------- /shared/store/cart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/store/cart.ts -------------------------------------------------------------------------------- /shared/store/category.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/store/category.ts -------------------------------------------------------------------------------- /shared/store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/shared/store/index.ts -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikemaz-dev/next-pizza/HEAD/tsconfig.json --------------------------------------------------------------------------------