├── .gitignore ├── finished ├── .eslintrc.json ├── .gitignore ├── .vscode │ └── settings.json ├── README.md ├── app │ ├── globals.css │ ├── head.tsx │ ├── layout.tsx │ ├── page.module.css │ └── page.tsx ├── components │ ├── AddToCart.tsx │ ├── CartTotal.tsx │ ├── Description.tsx │ ├── Header.tsx │ ├── ProductInfo.tsx │ ├── StoreInitializer.tsx │ └── VisualWrapper.tsx ├── data │ ├── cutters.png │ └── product.json ├── next.config.js ├── package-lock.json ├── package.json ├── pages │ └── api │ │ └── hello.ts ├── postcss.config.js ├── public │ ├── favicon.ico │ ├── next.svg │ ├── thirteen.svg │ └── vercel.svg ├── src │ └── store.ts ├── tailwind.config.js └── tsconfig.json └── starter ├── .eslintrc.json ├── .gitignore ├── .vscode └── settings.json ├── README.md ├── app ├── globals.css ├── head.tsx ├── layout.tsx ├── page.module.css └── page.tsx ├── components ├── AddToCart.tsx ├── CartTotal.tsx ├── Description.tsx ├── Header.tsx ├── ProductInfo.tsx └── VisualWrapper.tsx ├── data ├── cutters.png └── product.json ├── next.config.js ├── package-lock.json ├── package.json ├── pages └── api │ └── hello.ts ├── postcss.config.js ├── public ├── favicon.ico ├── next.svg ├── thirteen.svg └── vercel.svg ├── tailwind.config.js └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .next 3 | -------------------------------------------------------------------------------- /finished/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /finished/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/.gitignore -------------------------------------------------------------------------------- /finished/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/.vscode/settings.json -------------------------------------------------------------------------------- /finished/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/README.md -------------------------------------------------------------------------------- /finished/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/app/globals.css -------------------------------------------------------------------------------- /finished/app/head.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/app/head.tsx -------------------------------------------------------------------------------- /finished/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/app/layout.tsx -------------------------------------------------------------------------------- /finished/app/page.module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /finished/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/app/page.tsx -------------------------------------------------------------------------------- /finished/components/AddToCart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/components/AddToCart.tsx -------------------------------------------------------------------------------- /finished/components/CartTotal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/components/CartTotal.tsx -------------------------------------------------------------------------------- /finished/components/Description.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/components/Description.tsx -------------------------------------------------------------------------------- /finished/components/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/components/Header.tsx -------------------------------------------------------------------------------- /finished/components/ProductInfo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/components/ProductInfo.tsx -------------------------------------------------------------------------------- /finished/components/StoreInitializer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/components/StoreInitializer.tsx -------------------------------------------------------------------------------- /finished/components/VisualWrapper.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/components/VisualWrapper.tsx -------------------------------------------------------------------------------- /finished/data/cutters.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/data/cutters.png -------------------------------------------------------------------------------- /finished/data/product.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/data/product.json -------------------------------------------------------------------------------- /finished/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/next.config.js -------------------------------------------------------------------------------- /finished/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/package-lock.json -------------------------------------------------------------------------------- /finished/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/package.json -------------------------------------------------------------------------------- /finished/pages/api/hello.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/pages/api/hello.ts -------------------------------------------------------------------------------- /finished/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/postcss.config.js -------------------------------------------------------------------------------- /finished/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/public/favicon.ico -------------------------------------------------------------------------------- /finished/public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/public/next.svg -------------------------------------------------------------------------------- /finished/public/thirteen.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/public/thirteen.svg -------------------------------------------------------------------------------- /finished/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/public/vercel.svg -------------------------------------------------------------------------------- /finished/src/store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/src/store.ts -------------------------------------------------------------------------------- /finished/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/tailwind.config.js -------------------------------------------------------------------------------- /finished/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/finished/tsconfig.json -------------------------------------------------------------------------------- /starter/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /starter/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/.gitignore -------------------------------------------------------------------------------- /starter/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/.vscode/settings.json -------------------------------------------------------------------------------- /starter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/README.md -------------------------------------------------------------------------------- /starter/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/app/globals.css -------------------------------------------------------------------------------- /starter/app/head.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/app/head.tsx -------------------------------------------------------------------------------- /starter/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/app/layout.tsx -------------------------------------------------------------------------------- /starter/app/page.module.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /starter/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/app/page.tsx -------------------------------------------------------------------------------- /starter/components/AddToCart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/components/AddToCart.tsx -------------------------------------------------------------------------------- /starter/components/CartTotal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/components/CartTotal.tsx -------------------------------------------------------------------------------- /starter/components/Description.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/components/Description.tsx -------------------------------------------------------------------------------- /starter/components/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/components/Header.tsx -------------------------------------------------------------------------------- /starter/components/ProductInfo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/components/ProductInfo.tsx -------------------------------------------------------------------------------- /starter/components/VisualWrapper.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/components/VisualWrapper.tsx -------------------------------------------------------------------------------- /starter/data/cutters.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/data/cutters.png -------------------------------------------------------------------------------- /starter/data/product.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/data/product.json -------------------------------------------------------------------------------- /starter/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/next.config.js -------------------------------------------------------------------------------- /starter/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/package-lock.json -------------------------------------------------------------------------------- /starter/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/package.json -------------------------------------------------------------------------------- /starter/pages/api/hello.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/pages/api/hello.ts -------------------------------------------------------------------------------- /starter/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/postcss.config.js -------------------------------------------------------------------------------- /starter/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/public/favicon.ico -------------------------------------------------------------------------------- /starter/public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/public/next.svg -------------------------------------------------------------------------------- /starter/public/thirteen.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/public/thirteen.svg -------------------------------------------------------------------------------- /starter/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/public/vercel.svg -------------------------------------------------------------------------------- /starter/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/tailwind.config.js -------------------------------------------------------------------------------- /starter/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/nextjs13-state-zustand/HEAD/starter/tsconfig.json --------------------------------------------------------------------------------