├── .eslintrc.json ├── .github └── workflows │ └── linux.yml ├── .gitignore ├── .prettierignore ├── .prettierrc.json ├── LICENSE.md ├── README.md ├── index.html ├── package.json ├── public ├── favicon.svg ├── manifest.json └── robots.txt ├── src ├── App.jsx ├── assets │ ├── background │ │ ├── bg1.svg │ │ └── bg2.svg │ └── values │ │ ├── Balance.svg │ │ ├── ChinaTerritory.svg │ │ ├── Crown.svg │ │ ├── DollarSign.svg │ │ ├── Factory.svg │ │ ├── Family.svg │ │ ├── Flag.svg │ │ ├── FlagOfPRC.svg │ │ ├── FlagOfTWIndependence.svg │ │ ├── FlagOfUSA.svg │ │ ├── Globe.svg │ │ ├── Liberty.svg │ │ ├── RainbowFlag.svg │ │ └── RecyclingSymbol.svg ├── components │ ├── MatchCard.jsx │ ├── ValueIntroCard.jsx │ └── ValueMatchCard.jsx ├── data │ ├── ideology.jsx │ ├── ideology_tag.jsx │ ├── political_party.jsx │ └── question.jsx ├── index.css ├── index.jsx ├── locales │ ├── en │ │ └── translation.json │ ├── zh-CN │ │ └── translation.json │ └── zh-TW │ │ └── translation.json ├── modules │ └── main │ │ ├── Main.jsx │ │ ├── footer │ │ └── Footer.jsx │ │ └── header │ │ └── Header.jsx ├── pages │ ├── Quiz.jsx │ ├── Result.jsx │ └── Welcome.jsx ├── store │ └── store.js ├── themes │ ├── dark.js │ ├── light.js │ └── theme.js └── utils │ ├── apiVersion.js │ ├── apiVersion.test.js │ ├── getValueConstant.js │ ├── i18n.js │ ├── match.js │ ├── match.test.js │ ├── multiplier.js │ ├── range.js │ ├── shuffle.js │ ├── shuffle.test.js │ ├── toStringWithSign.js │ └── useBreakpoint.js ├── tsconfig.json ├── vite-env.d.ts └── vite.config.js /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/workflows/linux.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/.github/workflows/linux.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | .github 2 | dist 3 | node_modules 4 | public 5 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/README.md -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/public/favicon.svg -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/public/manifest.json -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/public/robots.txt -------------------------------------------------------------------------------- /src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/App.jsx -------------------------------------------------------------------------------- /src/assets/background/bg1.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/assets/background/bg1.svg -------------------------------------------------------------------------------- /src/assets/background/bg2.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/assets/background/bg2.svg -------------------------------------------------------------------------------- /src/assets/values/Balance.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/assets/values/Balance.svg -------------------------------------------------------------------------------- /src/assets/values/ChinaTerritory.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/assets/values/ChinaTerritory.svg -------------------------------------------------------------------------------- /src/assets/values/Crown.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/assets/values/Crown.svg -------------------------------------------------------------------------------- /src/assets/values/DollarSign.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/assets/values/DollarSign.svg -------------------------------------------------------------------------------- /src/assets/values/Factory.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/assets/values/Factory.svg -------------------------------------------------------------------------------- /src/assets/values/Family.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/assets/values/Family.svg -------------------------------------------------------------------------------- /src/assets/values/Flag.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/assets/values/Flag.svg -------------------------------------------------------------------------------- /src/assets/values/FlagOfPRC.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/assets/values/FlagOfPRC.svg -------------------------------------------------------------------------------- /src/assets/values/FlagOfTWIndependence.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/assets/values/FlagOfTWIndependence.svg -------------------------------------------------------------------------------- /src/assets/values/FlagOfUSA.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/assets/values/FlagOfUSA.svg -------------------------------------------------------------------------------- /src/assets/values/Globe.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/assets/values/Globe.svg -------------------------------------------------------------------------------- /src/assets/values/Liberty.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/assets/values/Liberty.svg -------------------------------------------------------------------------------- /src/assets/values/RainbowFlag.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/assets/values/RainbowFlag.svg -------------------------------------------------------------------------------- /src/assets/values/RecyclingSymbol.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/assets/values/RecyclingSymbol.svg -------------------------------------------------------------------------------- /src/components/MatchCard.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/components/MatchCard.jsx -------------------------------------------------------------------------------- /src/components/ValueIntroCard.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/components/ValueIntroCard.jsx -------------------------------------------------------------------------------- /src/components/ValueMatchCard.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/components/ValueMatchCard.jsx -------------------------------------------------------------------------------- /src/data/ideology.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/data/ideology.jsx -------------------------------------------------------------------------------- /src/data/ideology_tag.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/data/ideology_tag.jsx -------------------------------------------------------------------------------- /src/data/political_party.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/data/political_party.jsx -------------------------------------------------------------------------------- /src/data/question.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/data/question.jsx -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/index.css -------------------------------------------------------------------------------- /src/index.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/index.jsx -------------------------------------------------------------------------------- /src/locales/en/translation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/locales/en/translation.json -------------------------------------------------------------------------------- /src/locales/zh-CN/translation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/locales/zh-CN/translation.json -------------------------------------------------------------------------------- /src/locales/zh-TW/translation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/locales/zh-TW/translation.json -------------------------------------------------------------------------------- /src/modules/main/Main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/modules/main/Main.jsx -------------------------------------------------------------------------------- /src/modules/main/footer/Footer.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/modules/main/footer/Footer.jsx -------------------------------------------------------------------------------- /src/modules/main/header/Header.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/modules/main/header/Header.jsx -------------------------------------------------------------------------------- /src/pages/Quiz.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/pages/Quiz.jsx -------------------------------------------------------------------------------- /src/pages/Result.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/pages/Result.jsx -------------------------------------------------------------------------------- /src/pages/Welcome.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/pages/Welcome.jsx -------------------------------------------------------------------------------- /src/store/store.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/store/store.js -------------------------------------------------------------------------------- /src/themes/dark.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/themes/dark.js -------------------------------------------------------------------------------- /src/themes/light.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/themes/light.js -------------------------------------------------------------------------------- /src/themes/theme.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/themes/theme.js -------------------------------------------------------------------------------- /src/utils/apiVersion.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/utils/apiVersion.js -------------------------------------------------------------------------------- /src/utils/apiVersion.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/utils/apiVersion.test.js -------------------------------------------------------------------------------- /src/utils/getValueConstant.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/utils/getValueConstant.js -------------------------------------------------------------------------------- /src/utils/i18n.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/utils/i18n.js -------------------------------------------------------------------------------- /src/utils/match.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/utils/match.js -------------------------------------------------------------------------------- /src/utils/match.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/utils/match.test.js -------------------------------------------------------------------------------- /src/utils/multiplier.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/utils/multiplier.js -------------------------------------------------------------------------------- /src/utils/range.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/utils/range.js -------------------------------------------------------------------------------- /src/utils/shuffle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/utils/shuffle.js -------------------------------------------------------------------------------- /src/utils/shuffle.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/utils/shuffle.test.js -------------------------------------------------------------------------------- /src/utils/toStringWithSign.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/utils/toStringWithSign.js -------------------------------------------------------------------------------- /src/utils/useBreakpoint.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/src/utils/useBreakpoint.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TWValues/TW-Values/HEAD/vite.config.js --------------------------------------------------------------------------------