├── .env ├── .eslintrc.json ├── .gitignore ├── README.md ├── next-env.d.ts ├── next.config.js ├── package.json ├── postcss.config.js ├── public ├── favicon.ico └── vercel.svg ├── src ├── api │ └── queries.ts ├── components │ ├── CategoryList │ │ ├── CategoryItem.tsx │ │ └── CategoryList.tsx │ ├── MetaHead.tsx │ ├── PageLayout │ │ ├── Cart │ │ │ ├── Cart.tsx │ │ │ ├── Item.tsx │ │ │ └── ItemList.tsx │ │ ├── Footer.tsx │ │ ├── Header.tsx │ │ └── PageLayout.tsx │ └── ProductList │ │ ├── ProductItem.tsx │ │ └── ProductList.tsx ├── contexts │ ├── cartItemsContext.ts │ └── cartVisibilityContext.ts ├── interfaces │ └── index.ts ├── lib │ └── apolloClient.ts ├── pages │ ├── _app.tsx │ ├── _document.tsx │ ├── category │ │ └── [slug].tsx │ ├── index.tsx │ └── product │ │ └── [slug].tsx ├── reducers │ └── cart │ │ ├── actions.ts │ │ ├── reducer.ts │ │ └── types.ts └── styles │ ├── _helpers.scss │ ├── components │ ├── CategoryList │ │ └── CategoryItem.module.scss │ ├── PageLayout │ │ ├── Cart │ │ │ └── Item.module.scss │ │ └── Header.module.scss │ └── ProductList │ │ └── ProductItem.module.scss │ └── globals.scss ├── tailwind.config.js ├── tsconfig.json └── yarn.lock /.env: -------------------------------------------------------------------------------- 1 | NEXT_PUBLIC_API_URI=https://react-ecommerce-v2.lougiequisel.com -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/README.md -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /src/api/queries.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/api/queries.ts -------------------------------------------------------------------------------- /src/components/CategoryList/CategoryItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/components/CategoryList/CategoryItem.tsx -------------------------------------------------------------------------------- /src/components/CategoryList/CategoryList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/components/CategoryList/CategoryList.tsx -------------------------------------------------------------------------------- /src/components/MetaHead.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/components/MetaHead.tsx -------------------------------------------------------------------------------- /src/components/PageLayout/Cart/Cart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/components/PageLayout/Cart/Cart.tsx -------------------------------------------------------------------------------- /src/components/PageLayout/Cart/Item.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/components/PageLayout/Cart/Item.tsx -------------------------------------------------------------------------------- /src/components/PageLayout/Cart/ItemList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/components/PageLayout/Cart/ItemList.tsx -------------------------------------------------------------------------------- /src/components/PageLayout/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/components/PageLayout/Footer.tsx -------------------------------------------------------------------------------- /src/components/PageLayout/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/components/PageLayout/Header.tsx -------------------------------------------------------------------------------- /src/components/PageLayout/PageLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/components/PageLayout/PageLayout.tsx -------------------------------------------------------------------------------- /src/components/ProductList/ProductItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/components/ProductList/ProductItem.tsx -------------------------------------------------------------------------------- /src/components/ProductList/ProductList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/components/ProductList/ProductList.tsx -------------------------------------------------------------------------------- /src/contexts/cartItemsContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/contexts/cartItemsContext.ts -------------------------------------------------------------------------------- /src/contexts/cartVisibilityContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/contexts/cartVisibilityContext.ts -------------------------------------------------------------------------------- /src/interfaces/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/interfaces/index.ts -------------------------------------------------------------------------------- /src/lib/apolloClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/lib/apolloClient.ts -------------------------------------------------------------------------------- /src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/pages/_app.tsx -------------------------------------------------------------------------------- /src/pages/_document.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/pages/_document.tsx -------------------------------------------------------------------------------- /src/pages/category/[slug].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/pages/category/[slug].tsx -------------------------------------------------------------------------------- /src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/pages/index.tsx -------------------------------------------------------------------------------- /src/pages/product/[slug].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/pages/product/[slug].tsx -------------------------------------------------------------------------------- /src/reducers/cart/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/reducers/cart/actions.ts -------------------------------------------------------------------------------- /src/reducers/cart/reducer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/reducers/cart/reducer.ts -------------------------------------------------------------------------------- /src/reducers/cart/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/reducers/cart/types.ts -------------------------------------------------------------------------------- /src/styles/_helpers.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/styles/_helpers.scss -------------------------------------------------------------------------------- /src/styles/components/CategoryList/CategoryItem.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/styles/components/CategoryList/CategoryItem.module.scss -------------------------------------------------------------------------------- /src/styles/components/PageLayout/Cart/Item.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/styles/components/PageLayout/Cart/Item.module.scss -------------------------------------------------------------------------------- /src/styles/components/PageLayout/Header.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/styles/components/PageLayout/Header.module.scss -------------------------------------------------------------------------------- /src/styles/components/ProductList/ProductItem.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/styles/components/ProductList/ProductItem.module.scss -------------------------------------------------------------------------------- /src/styles/globals.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/src/styles/globals.scss -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loq24/react-woocommerce/HEAD/yarn.lock --------------------------------------------------------------------------------