From f837e880d0e6efc84f52e1680798cce4a513c71f Mon Sep 17 00:00:00 2001 From: AzenKain Date: Sat, 10 Jan 2026 20:23:16 +0700 Subject: [PATCH] UPDATE: Draft --- messages/cn.json | 20 +- messages/en.json | 52 ++-- messages/ja.json | 18 +- messages/ko.json | 20 +- messages/vi.json | 20 +- messages/zh.json | 20 +- src/app/globals.css | 44 +-- src/components/card/characterCard.tsx | 2 +- src/components/extraSettingBar/index.tsx | 292 ++++++++++++++---- src/components/monsterBar/peak.tsx | 2 +- src/components/relicBar/index.tsx | 12 +- src/components/select/customSelectImage.tsx | 55 +++- src/components/select/customSelectText.tsx | 45 ++- .../themeController/themeContext.tsx | 2 +- src/constant/constant.ts | 28 ++ src/types/extraData.ts | 8 +- 16 files changed, 473 insertions(+), 167 deletions(-) diff --git a/messages/cn.json b/messages/cn.json index 068b543..8697bfa 100644 --- a/messages/cn.json +++ b/messages/cn.json @@ -254,9 +254,25 @@ "extraSetting": "额外设置", "disableCensorship": "禁用审查", "hideUI": "隐藏界面", - "theoryCraftMode": "理论研究模式", + "theoryCraftMode": "Theory Craft 模式", "cycleCount": "循环次数", "pleaseSelectAllSubStats": "请选取所有副属性", - "subStatRollCountCannotBeZero": "副属性的行数不能为0" + "subStatRollCountCannotBeZero": "副属性的行数不能为0", + "theoryCraft": "Theory Craft", + "multipathCharacter": "多命途角色", + "mainPath": "主角命途", + "march7Path": "三月七命途", + "challenge": "挑战", + "skipNode": "跳过节点", + "disableSkip": "禁用跳过", + "skipNode1": "跳过节点1", + "skipNode2": "跳过节点2", + "extraFeatures": "附加功能", + "detailTheoryCraft": "开启后可自定义循环数,并在敌人设置中调整生命值。", + "detailSkipNode": "开启后可跳过混沌回忆或虚构叙事的(节点1/节点2)。", + "detailChallengePeak": "允许更改当前异相中的「巅峰」赛季。", + "detailHiddenUi": "开启后将隐藏游戏界面。", + "detailDisableCensorship": "开启后将关闭游戏内的审查。", + "detailMultipathCharacter": "允许更改部分角色的命途。" } } \ No newline at end of file diff --git a/messages/en.json b/messages/en.json index c073a29..5f55450 100644 --- a/messages/en.json +++ b/messages/en.json @@ -19,22 +19,22 @@ "servant": "Servant", "damage": "Damage", "type": "Type", - "warrior": "Destruction", - "knight": "Preservation", - "mage": "Erudition", - "priest": "Abundance", - "rogue": "The Hunt", - "shaman": "Harmony", - "warlock": "Nihility", - "memory": "Remembrance", + "warrior": "Destruction", + "knight": "Preservation", + "mage": "Erudition", + "priest": "Abundance", + "rogue": "The Hunt", + "shaman": "Harmony", + "warlock": "Nihility", + "memory": "Remembrance", "elation": "The Elation", - "fire": "Fire", - "ice": "Ice", - "imaginary": "Imaginary", - "physical": "Physical", - "quantum": "Quantum", - "thunder": "Thunder", - "wind": "Wind", + "fire": "Fire", + "ice": "Ice", + "imaginary": "Imaginary", + "physical": "Physical", + "quantum": "Quantum", + "thunder": "Thunder", + "wind": "Wind", "hp": "Hp", "atk": "Atk", "speed": "Speed", @@ -60,8 +60,8 @@ "dot": "Damage over time ", "qte": "QTE Skill", "level": "Level", - "relics": "Relics", - "eidolons": "Eidolons", + "relics": "Relics", + "eidolons": "Eidolons", "lightcones": "Lightcones", "loadData": "Load data", "exportData": "Export data", @@ -258,6 +258,22 @@ "theoryCraftMode": "Theorycraft Mode", "cycleCount": "Cycle Count", "pleaseSelectAllSubStats": "Please select all sub stats", - "subStatRollCountCannotBeZero": "Sub stat roll count cannot be zero" + "subStatRollCountCannotBeZero": "Sub stat roll count cannot be zero", + "theorycraft": "Theorycraft", + "multipathCharacter": "Multipath Character", + "mainPath": "Main Path", + "march7Path": "March 7 Path", + "challenge": "Challenge", + "skipNode": "Skip Node", + "disableSkip": "Disable skip", + "skipNode1": "Skip node 1", + "skipNode2": "Skip node 2", + "extraFeatures": "Extra Features", + "detailTheoryCraft": "Enabling this feature allows you to customize the cycle count and adjust enemy HP in the enemy settings.", + "detailSkipNode": "Enabling this feature allows you to skip (Node 1/Node 2) in Memory of Chaos or Pure Fiction.", + "detailChallengePeak": "Allows changing the Peak season in the current Anomaly.", + "detailHiddenUi": "Enabling this feature will hide the game UI.", + "detailDisableCensorship": "Enabling this feature will disable in-game censorship.", + "detailMultipathCharacter": "Allows changing the Path of certain characters." } } \ No newline at end of file diff --git a/messages/ja.json b/messages/ja.json index a51e5b1..7994a05 100644 --- a/messages/ja.json +++ b/messages/ja.json @@ -257,6 +257,22 @@ "theoryCraftMode": "シアリークラフトモード", "cycleCount": "サイクル数", "pleaseSelectAllSubStats": "すべてのサブステータスを選択してください", - "subStatRollCountCannotBeZero": "サブステータスの行数は0にできません" + "subStatRollCountCannotBeZero": "サブステータスの行数は0にできません", + "theoryCraft": "シアリークラフト", + "multipathCharacter": "複数運命キャラ", + "mainPath": "主人公の運命", + "march7Path": "三月なのかの運命", + "challenge": "挑戦", + "skipNode": "ノードをスキップ", + "disableSkip": "スキップ無効", + "skipNode1": "ノード1をスキップ", + "skipNode2": "ノード2をスキップ", + "extraFeatures": "追加機能", + "detailTheoryCraft": "この機能を有効にすると、サイクル数の調整や敵設定でHPの調整が可能になります。", + "detailSkipNode": "この機能を有効にすると、混沌の記憶または虚構叙事の(ノード1/ノード2)をスキップできます。", + "detailChallengePeak": "現在の異相における「頂」のシーズンを変更できます。", + "detailHiddenUi": "この機能を有効にすると、ゲームのUIを非表示にします。", + "detailDisableCensorship": "この機能を有効にすると、ゲーム内の検閲を無効にします。", + "detailMultipathCharacter": "一部キャラクターの運命を変更できます。" } } \ No newline at end of file diff --git a/messages/ko.json b/messages/ko.json index e518c5f..153ca37 100644 --- a/messages/ko.json +++ b/messages/ko.json @@ -254,9 +254,25 @@ "extraSetting": "추가 설정", "disableCensorship": "검열 비활성화", "hideUI": "UI 숨기기", - "theoryCraftMode": "이론 제작 모드", + "theoryCraftMode": "Theory Craft 모드", "cycleCount": "사이클 수", "pleaseSelectAllSubStats": "모든 부옵션을 선택하세요", - "subStatRollCountCannotBeZero": "부옵션의 줄 수는 0일 수 없습니다" + "subStatRollCountCannotBeZero": "부옵션의 줄 수는 0일 수 없습니다", + "theoryCraft": "Theory Craft", + "multipathCharacter": "다중 운명 캐릭터", + "mainPath": "개척자 운명", + "march7Path": "삼월칠일 운명", + "challenge": "도전", + "skipNode": "노드 건너뛰기", + "disableSkip": "건너뛰기 비활성화", + "skipNode1": "노드 1 건너뛰기", + "skipNode2": "노드 2 건너뛰기", + "extraFeatures": "추가 기능", + "detailTheoryCraft": "이 기능을 활성화하면 사이클 수를 조정하고 적 설정에서 HP를 변경할 수 있습니다.", + "detailSkipNode": "이 기능을 활성화하면 혼돈의 기억 또는 허구 서사의 (노드 1/노드 2)를 건너뛸 수 있습니다.", + "detailChallengePeak": "현재 이형에서의 피크 시즌을 변경할 수 있습니다.", + "detailHiddenUi": "이 기능을 활성화하면 게임 UI가 숨겨집니다.", + "detailDisableCensorship": "이 기능을 활성화하면 게임 내 검열이 비활성화됩니다.", + "detailMultipathCharacter": "일부 캐릭터의 운명을 변경할 수 있습니다." } } \ No newline at end of file diff --git a/messages/vi.json b/messages/vi.json index 27fdc80..7f21069 100644 --- a/messages/vi.json +++ b/messages/vi.json @@ -254,9 +254,25 @@ "extraSetting": "Cài đặt bổ sung", "disableCensorship": "Tắt kiểm duyệt", "hideUI": "Ẩn giao diện", - "theoryCraftMode": "Chế độ Theorycraft", + "theoryCraftMode": "Chế độ Theory Craft", "cycleCount": "Số vòng", "pleaseSelectAllSubStats": "Vui lòng chọn tất cả chỉ số phụ", - "subStatRollCountCannotBeZero": "Số dòng của chỉ số phụ không thể bằng 0" + "subStatRollCountCannotBeZero": "Số dòng của chỉ số phụ không thể bằng 0", + "theoryCraft": "Theory Craft", + "multipathCharacter": "Nhân vật đa Vận Mệnh", + "mainPath": "Vận Mệnh Nhân Vật Chính", + "march7Path": "Vận Mệnh March 7", + "challenge": "Thử thách", + "skipNode": "Bỏ qua node", + "disableSkip": "Tắt bỏ qua", + "skipNode1": "Bỏ qua node 1", + "skipNode2": "Bỏ qua node 2", + "extraFeatures": "Tính năng bổ sung", + "detailTheoryCraft": "Khi bật tính năng này sẽ cho phép tùy chỉnh số cycle và trong mục kẻ địch tủy chỉnh sẽ cho phép điều chỉnh số hp.", + "detailSkipNode": "Khi bật tính năng này sẽ cho phép bỏ qua (node 1/node 2) của Hồi ức hỗn độn hoặc Kể chuyện hư cấu.", + "detailChallengePeak": "Cho phép thay đổi mùa Trọng tại dị tướng hiện tại.", + "detailHiddenUi": "Khi bật tính năng này sẽ ẩn giao diện của game.", + "detailDisableCensorship": "Khi bật tính năng này sẽ tắt kiểm duyệt của game.", + "detailMultipathCharacter": "Cho phép thay đổi Vận Mệnh của một vài nhân vật." } } \ No newline at end of file diff --git a/messages/zh.json b/messages/zh.json index a32d6b0..9eeccc2 100644 --- a/messages/zh.json +++ b/messages/zh.json @@ -254,9 +254,25 @@ "extraSetting": "额外设置", "disableCensorship": "禁用审查", "hideUI": "隐藏界面", - "theoryCraftMode": "理论研究模式", + "theoryCraftMode": "Theory Craft 模式", "cycleCount": "循环次数", "pleaseSelectAllSubStats": "请选取所有副属性", - "subStatRollCountCannotBeZero": "副属性的行数不能为0" + "subStatRollCountCannotBeZero": "副属性的行数不能为0", + "theoryCraft": "Theory Craft", + "multipathCharacter": "多命途角色", + "mainPath": "主角命途", + "march7Path": "三月七命途", + "challenge": "挑战", + "skipNode": "跳过节点", + "disableSkip": "禁用跳过", + "skipNode1": "跳过节点1", + "skipNode2": "跳过节点2", + "extraFeatures": "附加功能", + "detailTheoryCraft": "开启后可自定义循环数,并在敌人设置中调整生命值。", + "detailSkipNode": "开启后可跳过混沌回忆或虚构叙事的(节点1/节点2)。", + "detailChallengePeak": "允许更改当前异相中的「巅峰」赛季。", + "detailHiddenUi": "开启后将隐藏游戏界面。", + "detailDisableCensorship": "开启后将关闭游戏内的审查。", + "detailMultipathCharacter": "允许更改部分角色的命途。" } } \ No newline at end of file diff --git a/src/app/globals.css b/src/app/globals.css index 33d83e6..5d774ae 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -1,12 +1,17 @@ @import "tailwindcss"; + @plugin "daisyui" { - themes: winter --default, night --prefersdark, cupcake, coffee; + themes: winter --default, night --prefersdark, cupcake, coffee; } + +@tailwind utilities; + @plugin 'tailwind-scrollbar' { nocompatible: true; } + :root { --size-big: 4vw; --size-medium: 3vw; @@ -30,40 +35,3 @@ ::-webkit-scrollbar-button { display: none; } - -@tailwind utilities; - -@layer components { - /* .my-react-select-container { - } */ - .my-react-select-container .my-react-select__control { - @apply bg-white dark:bg-neutral-700 border-2 border-neutral-300 dark:border-neutral-700 hover:border-neutral-400 dark:hover:border-neutral-500; - } - - .my-react-select-container .my-react-select__control--is-focused { - @apply border-neutral-500 hover:border-neutral-500 dark:border-neutral-400 dark:hover:border-neutral-400 shadow-none; - } - - .my-react-select-container .my-react-select__menu { - @apply bg-neutral-100 dark:bg-neutral-700 border-2 border-neutral-300 dark:border-neutral-600; - } - - .my-react-select-container .my-react-select__option { - @apply text-neutral-600 dark:text-neutral-200 bg-neutral-100 hover:bg-neutral-200 dark:bg-neutral-700 dark:hover:bg-neutral-800; - } - /* .my-react-select-container .my-react-select__option--is-focused { - @apply bg-neutral-200 dark:bg-neutral-800; - } */ - - .my-react-select-container .my-react-select__indicator-separator { - @apply bg-neutral-400; - } - .my-react-select-container .my-react-select__menu { - z-index: 999; - } - .my-react-select-container .my-react-select__input-container, - .my-react-select-container .my-react-select__placeholder, - .my-react-select-container .my-react-select__single-value { - @apply text-neutral-600 dark:text-neutral-200; - } -} \ No newline at end of file diff --git a/src/components/card/characterCard.tsx b/src/components/card/characterCard.tsx index 650e66a..996dcfa 100644 --- a/src/components/card/characterCard.tsx +++ b/src/components/card/characterCard.tsx @@ -18,7 +18,7 @@ export default function CharacterCard({ data }: CharacterCardProps) { className="z-10 flex flex-col items-center rounded-xl shadow-xl bg-linear-to-br from-base-300 via-base-100 to-warning/70 transform transition-transform duration-300 ease-in-out - hover:scale-105 cursor-pointer min-h-[170px] sm:min-h-[180px] md:min-h-[210px] lg:min-h-[220px] xl:min-h-[240px] 2xl:min-h-[340px]" + hover:scale-105 cursor-pointer min-h-42.5 sm:min-h-45 md:min-h-52.5 lg:min-h-55 xl:min-h-60 2xl:min-h-85" >
-
- {/* Theorycraft Mode */} - {extraData?.theory_craft?.mode !== undefined && ( - -