├── .better-commits.json ├── .browserslistrc ├── .env ├── .eslintignore ├── .eslintrc.json ├── .gitignore ├── .hintrc ├── .husky └── pre-commit ├── .lintstagedrc.js ├── .prettierignore ├── .prettierrc.json ├── .stylelintignore ├── .stylelintrc.json ├── README.md ├── next.config.js ├── package.json ├── postcss.config.cjs ├── public └── screenshot.png ├── src ├── app │ ├── [lang] │ │ ├── (auth) │ │ │ ├── sign-in │ │ │ │ └── [[...sign-in]] │ │ │ │ │ └── page.tsx │ │ │ ├── sign-up │ │ │ │ └── [[...sign-up]] │ │ │ │ │ └── page.tsx │ │ │ └── user-account │ │ │ │ └── [[...user-account]] │ │ │ │ └── page.tsx │ │ ├── (swell) │ │ │ └── product │ │ │ │ └── [slug] │ │ │ │ ├── error.tsx │ │ │ │ └── page.tsx │ │ ├── layout.tsx │ │ └── page.tsx │ └── favicon.ico ├── components │ ├── auth │ │ ├── form │ │ │ ├── index.ts │ │ │ ├── sign-in │ │ │ │ └── index.tsx │ │ │ └── sign-up │ │ │ │ └── index.tsx │ │ ├── index.ts │ │ ├── loader │ │ │ └── index.tsx │ │ └── user │ │ │ ├── avatar │ │ │ └── index.tsx │ │ │ ├── details │ │ │ └── index.tsx │ │ │ └── index.ts │ ├── icon │ │ ├── gradiant-waves │ │ │ └── index.tsx │ │ ├── index.ts │ │ ├── not-found │ │ │ └── index.tsx │ │ └── stars │ │ │ └── index.tsx │ ├── index.ts │ ├── link │ │ ├── dock │ │ │ └── index.tsx │ │ ├── group │ │ │ ├── category │ │ │ │ └── index.tsx │ │ │ ├── index.ts │ │ │ └── link │ │ │ │ ├── index.module.css │ │ │ │ └── index.tsx │ │ ├── index.ts │ │ └── localized │ │ │ └── index.tsx │ ├── menu │ │ ├── index.ts │ │ └── language │ │ │ ├── collection.ts │ │ │ └── index.tsx │ ├── swell │ │ ├── cart │ │ │ ├── button │ │ │ │ ├── add │ │ │ │ │ └── index.tsx │ │ │ │ ├── checkout │ │ │ │ │ └── index.tsx │ │ │ │ ├── index.ts │ │ │ │ └── remove │ │ │ │ │ └── index.tsx │ │ │ ├── index.ts │ │ │ └── list │ │ │ │ ├── drawer │ │ │ │ └── index.tsx │ │ │ │ ├── index.tsx │ │ │ │ └── target │ │ │ │ └── index.tsx │ │ ├── index.ts │ │ └── product │ │ │ ├── card-placeholder │ │ │ └── index.tsx │ │ │ ├── card │ │ │ ├── index.module.css │ │ │ └── index.tsx │ │ │ ├── details-placeholder │ │ │ └── index.tsx │ │ │ ├── details │ │ │ ├── index.module.css │ │ │ └── index.tsx │ │ │ ├── error-alert │ │ │ └── index.tsx │ │ │ ├── filter │ │ │ ├── index.module.css │ │ │ └── index.tsx │ │ │ ├── index.ts │ │ │ └── search │ │ │ └── index.tsx │ ├── theme │ │ ├── controllers │ │ │ ├── collection.ts │ │ │ └── index.tsx │ │ ├── index.ts │ │ └── switch │ │ │ ├── index.module.css │ │ │ ├── index.tsx │ │ │ └── variants.ts │ └── wallpaper │ │ └── index.tsx ├── config │ ├── i18n.config.ts │ ├── index.ts │ ├── metadata.config.ts │ └── swell.config.ts ├── data │ └── dictionaries │ │ ├── en.json │ │ └── fa.json ├── features │ ├── index.ts │ ├── navigation │ │ ├── dockbar │ │ │ └── index.tsx │ │ ├── hooks │ │ │ ├── index.ts │ │ │ └── use-nav-link.ts │ │ ├── index.ts │ │ ├── sidebar │ │ │ └── index.tsx │ │ └── state │ │ │ ├── index.ts │ │ │ └── nav-link │ │ │ ├── collection.ts │ │ │ ├── index.ts │ │ │ ├── initial.ts │ │ │ └── reducer.ts │ └── swell │ │ ├── hooks │ │ ├── index.ts │ │ ├── use-products.ts │ │ └── use-single-product.ts │ │ ├── index.ts │ │ ├── products │ │ └── index.tsx │ │ ├── single-products │ │ └── index.tsx │ │ └── state │ │ ├── index.ts │ │ ├── products │ │ ├── index.ts │ │ ├── initial.ts │ │ └── reducer.ts │ │ └── single-product │ │ ├── index.ts │ │ ├── initial.ts │ │ └── reducer.ts ├── fonts │ ├── index.ts │ ├── poppins │ │ └── index.ts │ └── sahel │ │ ├── black │ │ ├── index.eot │ │ ├── index.ttf │ │ ├── index.woff │ │ └── index.woff2 │ │ ├── bold │ │ ├── index.eot │ │ ├── index.ttf │ │ ├── index.woff │ │ └── index.woff2 │ │ ├── default │ │ ├── index.eot │ │ ├── index.ttf │ │ ├── index.woff │ │ └── index.woff2 │ │ ├── index.ts │ │ ├── light │ │ ├── index.eot │ │ ├── index.ttf │ │ ├── index.woff │ │ └── index.woff2 │ │ └── semi-bold │ │ ├── index.eot │ │ ├── index.ttf │ │ ├── index.woff │ │ └── index.woff2 ├── hooks │ ├── index.ts │ ├── use-color-scheme.ts │ ├── use-locale.ts │ ├── use-primary-color.ts │ └── use-query-params.ts ├── layouts │ ├── index.ts │ └── public │ │ ├── header │ │ └── index.tsx │ │ └── index.tsx ├── lib │ ├── i18n │ │ ├── dictionary.ts │ │ └── index.ts │ ├── index.ts │ └── swell │ │ ├── carts.ts │ │ ├── categories.ts │ │ ├── index.ts │ │ └── products.ts ├── middleware.ts ├── middlewares │ ├── authorization.ts │ ├── index.ts │ └── internationalization.ts ├── providers │ ├── auth │ │ └── index.tsx │ ├── index.tsx │ └── ui │ │ ├── index.tsx │ │ └── plugins │ │ ├── colorScheme.ts │ │ ├── index.ts │ │ └── theme.ts ├── styles │ └── global.css ├── types │ ├── index.ts │ ├── language.ts │ ├── locale.ts │ ├── nav-link.ts │ ├── primary-color.ts │ ├── promise-response.ts │ └── swell.ts └── utils │ ├── constant │ ├── index.ts │ ├── layout.ts │ └── products.ts │ ├── helpers │ ├── categorize-data.ts │ ├── change-pathname-locale.ts │ ├── change-swell-locale.ts │ ├── formatting.ts │ ├── get-preferred-locale.ts │ ├── index.ts │ ├── is-active-pathname.ts │ ├── random-id.ts │ └── stack-middlewares.ts │ └── index.ts └── tsconfig.json /.better-commits.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/.better-commits.json -------------------------------------------------------------------------------- /.browserslistrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/.browserslistrc -------------------------------------------------------------------------------- /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/.env -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["next/core-web-vitals", "prettier"] 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/.gitignore -------------------------------------------------------------------------------- /.hintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/.hintrc -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | npx lint-staged 5 | -------------------------------------------------------------------------------- /.lintstagedrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/.lintstagedrc.js -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.stylelintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/.stylelintignore -------------------------------------------------------------------------------- /.stylelintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/.stylelintrc.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/README.md -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/postcss.config.cjs -------------------------------------------------------------------------------- /public/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/public/screenshot.png -------------------------------------------------------------------------------- /src/app/[lang]/(auth)/sign-in/[[...sign-in]]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/app/[lang]/(auth)/sign-in/[[...sign-in]]/page.tsx -------------------------------------------------------------------------------- /src/app/[lang]/(auth)/sign-up/[[...sign-up]]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/app/[lang]/(auth)/sign-up/[[...sign-up]]/page.tsx -------------------------------------------------------------------------------- /src/app/[lang]/(auth)/user-account/[[...user-account]]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/app/[lang]/(auth)/user-account/[[...user-account]]/page.tsx -------------------------------------------------------------------------------- /src/app/[lang]/(swell)/product/[slug]/error.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/app/[lang]/(swell)/product/[slug]/error.tsx -------------------------------------------------------------------------------- /src/app/[lang]/(swell)/product/[slug]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/app/[lang]/(swell)/product/[slug]/page.tsx -------------------------------------------------------------------------------- /src/app/[lang]/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/app/[lang]/layout.tsx -------------------------------------------------------------------------------- /src/app/[lang]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/app/[lang]/page.tsx -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/components/auth/form/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/auth/form/index.ts -------------------------------------------------------------------------------- /src/components/auth/form/sign-in/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/auth/form/sign-in/index.tsx -------------------------------------------------------------------------------- /src/components/auth/form/sign-up/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/auth/form/sign-up/index.tsx -------------------------------------------------------------------------------- /src/components/auth/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/auth/index.ts -------------------------------------------------------------------------------- /src/components/auth/loader/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/auth/loader/index.tsx -------------------------------------------------------------------------------- /src/components/auth/user/avatar/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/auth/user/avatar/index.tsx -------------------------------------------------------------------------------- /src/components/auth/user/details/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/auth/user/details/index.tsx -------------------------------------------------------------------------------- /src/components/auth/user/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/auth/user/index.ts -------------------------------------------------------------------------------- /src/components/icon/gradiant-waves/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/icon/gradiant-waves/index.tsx -------------------------------------------------------------------------------- /src/components/icon/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/icon/index.ts -------------------------------------------------------------------------------- /src/components/icon/not-found/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/icon/not-found/index.tsx -------------------------------------------------------------------------------- /src/components/icon/stars/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/icon/stars/index.tsx -------------------------------------------------------------------------------- /src/components/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/index.ts -------------------------------------------------------------------------------- /src/components/link/dock/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/link/dock/index.tsx -------------------------------------------------------------------------------- /src/components/link/group/category/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/link/group/category/index.tsx -------------------------------------------------------------------------------- /src/components/link/group/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/link/group/index.ts -------------------------------------------------------------------------------- /src/components/link/group/link/index.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/link/group/link/index.module.css -------------------------------------------------------------------------------- /src/components/link/group/link/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/link/group/link/index.tsx -------------------------------------------------------------------------------- /src/components/link/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/link/index.ts -------------------------------------------------------------------------------- /src/components/link/localized/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/link/localized/index.tsx -------------------------------------------------------------------------------- /src/components/menu/index.ts: -------------------------------------------------------------------------------- 1 | export * from './language'; 2 | -------------------------------------------------------------------------------- /src/components/menu/language/collection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/menu/language/collection.ts -------------------------------------------------------------------------------- /src/components/menu/language/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/menu/language/index.tsx -------------------------------------------------------------------------------- /src/components/swell/cart/button/add/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/swell/cart/button/add/index.tsx -------------------------------------------------------------------------------- /src/components/swell/cart/button/checkout/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/swell/cart/button/checkout/index.tsx -------------------------------------------------------------------------------- /src/components/swell/cart/button/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/swell/cart/button/index.ts -------------------------------------------------------------------------------- /src/components/swell/cart/button/remove/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/swell/cart/button/remove/index.tsx -------------------------------------------------------------------------------- /src/components/swell/cart/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/swell/cart/index.ts -------------------------------------------------------------------------------- /src/components/swell/cart/list/drawer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/swell/cart/list/drawer/index.tsx -------------------------------------------------------------------------------- /src/components/swell/cart/list/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/swell/cart/list/index.tsx -------------------------------------------------------------------------------- /src/components/swell/cart/list/target/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/swell/cart/list/target/index.tsx -------------------------------------------------------------------------------- /src/components/swell/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/swell/index.ts -------------------------------------------------------------------------------- /src/components/swell/product/card-placeholder/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/swell/product/card-placeholder/index.tsx -------------------------------------------------------------------------------- /src/components/swell/product/card/index.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/swell/product/card/index.module.css -------------------------------------------------------------------------------- /src/components/swell/product/card/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/swell/product/card/index.tsx -------------------------------------------------------------------------------- /src/components/swell/product/details-placeholder/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/swell/product/details-placeholder/index.tsx -------------------------------------------------------------------------------- /src/components/swell/product/details/index.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/swell/product/details/index.module.css -------------------------------------------------------------------------------- /src/components/swell/product/details/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/swell/product/details/index.tsx -------------------------------------------------------------------------------- /src/components/swell/product/error-alert/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/swell/product/error-alert/index.tsx -------------------------------------------------------------------------------- /src/components/swell/product/filter/index.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/swell/product/filter/index.module.css -------------------------------------------------------------------------------- /src/components/swell/product/filter/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/swell/product/filter/index.tsx -------------------------------------------------------------------------------- /src/components/swell/product/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/swell/product/index.ts -------------------------------------------------------------------------------- /src/components/swell/product/search/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/swell/product/search/index.tsx -------------------------------------------------------------------------------- /src/components/theme/controllers/collection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/theme/controllers/collection.ts -------------------------------------------------------------------------------- /src/components/theme/controllers/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/theme/controllers/index.tsx -------------------------------------------------------------------------------- /src/components/theme/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/theme/index.ts -------------------------------------------------------------------------------- /src/components/theme/switch/index.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/theme/switch/index.module.css -------------------------------------------------------------------------------- /src/components/theme/switch/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/theme/switch/index.tsx -------------------------------------------------------------------------------- /src/components/theme/switch/variants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/theme/switch/variants.ts -------------------------------------------------------------------------------- /src/components/wallpaper/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/components/wallpaper/index.tsx -------------------------------------------------------------------------------- /src/config/i18n.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/config/i18n.config.ts -------------------------------------------------------------------------------- /src/config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/config/index.ts -------------------------------------------------------------------------------- /src/config/metadata.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/config/metadata.config.ts -------------------------------------------------------------------------------- /src/config/swell.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/config/swell.config.ts -------------------------------------------------------------------------------- /src/data/dictionaries/en.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/data/dictionaries/en.json -------------------------------------------------------------------------------- /src/data/dictionaries/fa.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/data/dictionaries/fa.json -------------------------------------------------------------------------------- /src/features/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/features/index.ts -------------------------------------------------------------------------------- /src/features/navigation/dockbar/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/features/navigation/dockbar/index.tsx -------------------------------------------------------------------------------- /src/features/navigation/hooks/index.ts: -------------------------------------------------------------------------------- 1 | export * from './use-nav-link'; 2 | -------------------------------------------------------------------------------- /src/features/navigation/hooks/use-nav-link.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/features/navigation/hooks/use-nav-link.ts -------------------------------------------------------------------------------- /src/features/navigation/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/features/navigation/index.ts -------------------------------------------------------------------------------- /src/features/navigation/sidebar/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/features/navigation/sidebar/index.tsx -------------------------------------------------------------------------------- /src/features/navigation/state/index.ts: -------------------------------------------------------------------------------- 1 | export * from './nav-link'; 2 | -------------------------------------------------------------------------------- /src/features/navigation/state/nav-link/collection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/features/navigation/state/nav-link/collection.ts -------------------------------------------------------------------------------- /src/features/navigation/state/nav-link/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/features/navigation/state/nav-link/index.ts -------------------------------------------------------------------------------- /src/features/navigation/state/nav-link/initial.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/features/navigation/state/nav-link/initial.ts -------------------------------------------------------------------------------- /src/features/navigation/state/nav-link/reducer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/features/navigation/state/nav-link/reducer.ts -------------------------------------------------------------------------------- /src/features/swell/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/features/swell/hooks/index.ts -------------------------------------------------------------------------------- /src/features/swell/hooks/use-products.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/features/swell/hooks/use-products.ts -------------------------------------------------------------------------------- /src/features/swell/hooks/use-single-product.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/features/swell/hooks/use-single-product.ts -------------------------------------------------------------------------------- /src/features/swell/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/features/swell/index.ts -------------------------------------------------------------------------------- /src/features/swell/products/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/features/swell/products/index.tsx -------------------------------------------------------------------------------- /src/features/swell/single-products/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/features/swell/single-products/index.tsx -------------------------------------------------------------------------------- /src/features/swell/state/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/features/swell/state/index.ts -------------------------------------------------------------------------------- /src/features/swell/state/products/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/features/swell/state/products/index.ts -------------------------------------------------------------------------------- /src/features/swell/state/products/initial.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/features/swell/state/products/initial.ts -------------------------------------------------------------------------------- /src/features/swell/state/products/reducer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/features/swell/state/products/reducer.ts -------------------------------------------------------------------------------- /src/features/swell/state/single-product/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/features/swell/state/single-product/index.ts -------------------------------------------------------------------------------- /src/features/swell/state/single-product/initial.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/features/swell/state/single-product/initial.ts -------------------------------------------------------------------------------- /src/features/swell/state/single-product/reducer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/features/swell/state/single-product/reducer.ts -------------------------------------------------------------------------------- /src/fonts/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/fonts/index.ts -------------------------------------------------------------------------------- /src/fonts/poppins/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/fonts/poppins/index.ts -------------------------------------------------------------------------------- /src/fonts/sahel/black/index.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/fonts/sahel/black/index.eot -------------------------------------------------------------------------------- /src/fonts/sahel/black/index.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/fonts/sahel/black/index.ttf -------------------------------------------------------------------------------- /src/fonts/sahel/black/index.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/fonts/sahel/black/index.woff -------------------------------------------------------------------------------- /src/fonts/sahel/black/index.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/fonts/sahel/black/index.woff2 -------------------------------------------------------------------------------- /src/fonts/sahel/bold/index.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/fonts/sahel/bold/index.eot -------------------------------------------------------------------------------- /src/fonts/sahel/bold/index.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/fonts/sahel/bold/index.ttf -------------------------------------------------------------------------------- /src/fonts/sahel/bold/index.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/fonts/sahel/bold/index.woff -------------------------------------------------------------------------------- /src/fonts/sahel/bold/index.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/fonts/sahel/bold/index.woff2 -------------------------------------------------------------------------------- /src/fonts/sahel/default/index.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/fonts/sahel/default/index.eot -------------------------------------------------------------------------------- /src/fonts/sahel/default/index.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/fonts/sahel/default/index.ttf -------------------------------------------------------------------------------- /src/fonts/sahel/default/index.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/fonts/sahel/default/index.woff -------------------------------------------------------------------------------- /src/fonts/sahel/default/index.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/fonts/sahel/default/index.woff2 -------------------------------------------------------------------------------- /src/fonts/sahel/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/fonts/sahel/index.ts -------------------------------------------------------------------------------- /src/fonts/sahel/light/index.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/fonts/sahel/light/index.eot -------------------------------------------------------------------------------- /src/fonts/sahel/light/index.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/fonts/sahel/light/index.ttf -------------------------------------------------------------------------------- /src/fonts/sahel/light/index.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/fonts/sahel/light/index.woff -------------------------------------------------------------------------------- /src/fonts/sahel/light/index.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/fonts/sahel/light/index.woff2 -------------------------------------------------------------------------------- /src/fonts/sahel/semi-bold/index.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/fonts/sahel/semi-bold/index.eot -------------------------------------------------------------------------------- /src/fonts/sahel/semi-bold/index.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/fonts/sahel/semi-bold/index.ttf -------------------------------------------------------------------------------- /src/fonts/sahel/semi-bold/index.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/fonts/sahel/semi-bold/index.woff -------------------------------------------------------------------------------- /src/fonts/sahel/semi-bold/index.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/fonts/sahel/semi-bold/index.woff2 -------------------------------------------------------------------------------- /src/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/hooks/index.ts -------------------------------------------------------------------------------- /src/hooks/use-color-scheme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/hooks/use-color-scheme.ts -------------------------------------------------------------------------------- /src/hooks/use-locale.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/hooks/use-locale.ts -------------------------------------------------------------------------------- /src/hooks/use-primary-color.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/hooks/use-primary-color.ts -------------------------------------------------------------------------------- /src/hooks/use-query-params.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/hooks/use-query-params.ts -------------------------------------------------------------------------------- /src/layouts/index.ts: -------------------------------------------------------------------------------- 1 | export * from './public'; 2 | -------------------------------------------------------------------------------- /src/layouts/public/header/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/layouts/public/header/index.tsx -------------------------------------------------------------------------------- /src/layouts/public/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/layouts/public/index.tsx -------------------------------------------------------------------------------- /src/lib/i18n/dictionary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/lib/i18n/dictionary.ts -------------------------------------------------------------------------------- /src/lib/i18n/index.ts: -------------------------------------------------------------------------------- 1 | export * from './dictionary'; 2 | -------------------------------------------------------------------------------- /src/lib/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/lib/index.ts -------------------------------------------------------------------------------- /src/lib/swell/carts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/lib/swell/carts.ts -------------------------------------------------------------------------------- /src/lib/swell/categories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/lib/swell/categories.ts -------------------------------------------------------------------------------- /src/lib/swell/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/lib/swell/index.ts -------------------------------------------------------------------------------- /src/lib/swell/products.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/lib/swell/products.ts -------------------------------------------------------------------------------- /src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/middleware.ts -------------------------------------------------------------------------------- /src/middlewares/authorization.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/middlewares/authorization.ts -------------------------------------------------------------------------------- /src/middlewares/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/middlewares/index.ts -------------------------------------------------------------------------------- /src/middlewares/internationalization.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/middlewares/internationalization.ts -------------------------------------------------------------------------------- /src/providers/auth/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/providers/auth/index.tsx -------------------------------------------------------------------------------- /src/providers/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/providers/index.tsx -------------------------------------------------------------------------------- /src/providers/ui/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/providers/ui/index.tsx -------------------------------------------------------------------------------- /src/providers/ui/plugins/colorScheme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/providers/ui/plugins/colorScheme.ts -------------------------------------------------------------------------------- /src/providers/ui/plugins/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/providers/ui/plugins/index.ts -------------------------------------------------------------------------------- /src/providers/ui/plugins/theme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/providers/ui/plugins/theme.ts -------------------------------------------------------------------------------- /src/styles/global.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/styles/global.css -------------------------------------------------------------------------------- /src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/types/index.ts -------------------------------------------------------------------------------- /src/types/language.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/types/language.ts -------------------------------------------------------------------------------- /src/types/locale.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/types/locale.ts -------------------------------------------------------------------------------- /src/types/nav-link.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/types/nav-link.ts -------------------------------------------------------------------------------- /src/types/primary-color.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/types/primary-color.ts -------------------------------------------------------------------------------- /src/types/promise-response.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/types/promise-response.ts -------------------------------------------------------------------------------- /src/types/swell.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/types/swell.ts -------------------------------------------------------------------------------- /src/utils/constant/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/utils/constant/index.ts -------------------------------------------------------------------------------- /src/utils/constant/layout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/utils/constant/layout.ts -------------------------------------------------------------------------------- /src/utils/constant/products.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/utils/constant/products.ts -------------------------------------------------------------------------------- /src/utils/helpers/categorize-data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/utils/helpers/categorize-data.ts -------------------------------------------------------------------------------- /src/utils/helpers/change-pathname-locale.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/utils/helpers/change-pathname-locale.ts -------------------------------------------------------------------------------- /src/utils/helpers/change-swell-locale.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/utils/helpers/change-swell-locale.ts -------------------------------------------------------------------------------- /src/utils/helpers/formatting.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/utils/helpers/formatting.ts -------------------------------------------------------------------------------- /src/utils/helpers/get-preferred-locale.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/utils/helpers/get-preferred-locale.ts -------------------------------------------------------------------------------- /src/utils/helpers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/utils/helpers/index.ts -------------------------------------------------------------------------------- /src/utils/helpers/is-active-pathname.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/utils/helpers/is-active-pathname.ts -------------------------------------------------------------------------------- /src/utils/helpers/random-id.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/utils/helpers/random-id.ts -------------------------------------------------------------------------------- /src/utils/helpers/stack-middlewares.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/utils/helpers/stack-middlewares.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AliBagheri2079/elixir-online-shop/HEAD/tsconfig.json --------------------------------------------------------------------------------