diff --git a/public/index.html b/public/index.html deleted file mode 100644 index 3989dc1..0000000 --- a/public/index.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - 战神纪元 - - -
- - - \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx index a749280..3c8f312 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -32,44 +32,66 @@ const App: React.FC = () => { const closeLoginModal = () => { setIsLoginModalOpen(false); }; - const characters = [ + + // 即将登场的角色数据 + const upcomingCharacters = [ + { + id: 1, + name: "星璇法师", + role: "法师", + image: "", + description: "掌控星辰能量的神秘法师,可以操纵时空进行战斗。", + features: "星辰轨道 / 时空裂隙 / 引力操控", + color: "purple" + }, + { + id: 2, + name: "炎武士", + role: "战士", + image: "", + description: "融合古代武士精神与现代能量技术的战士。", + features: "能量刀刃 / 武士之魂 / 烈焰斩击", + color: "red" + }, + { + id: 3, + name: "生态猎手", + role: "射手", + image: "https://readdy.ai/api/search-image?query=A%20high-tech%20archer%20character%20with%20sleek%20armor%20and%20holographic%20bow%2C%20nature-themed%20accessories%2C%20standing%20in%20a%20dynamic%20pose%20against%20a%20dark%20misty%20background%20with%20green%20energy%20effects%2C%20high-quality%20gaming%20character%20render%2C%20detailed%20futuristic%20design&width=400&height=500&seq=upcoming3&orientation=portrait", + description: "运用生态能量的远程射手,善于控制战场环境。", + features: "自然之力 / 生态屏障 / 藤蔓控制", + color: "green" + } + ]; + + // 最新更新的角色数据 + const updatedCharacters = [ { id: 1, name: "暗影刺客", role: "刺客", - image: - "https://public.readdy.ai/ai/img_res/2d91abc57bd6b7d125bf2f87ed449c3d.jpg", + image: "https://public.readdy.ai/ai/img_res/2d91abc57bd6b7d125bf2f87ed449c3d.jpg", description: "暗影刺客获得了全新的技能组合,提升了突进能力和爆发伤害。", - changes: "基础攻击力 +15%,技能冷却时间 -10%", + changes: "基础攻击力 +15%,技能冷却时间 -10%" }, { id: 2, name: "元素法师", role: "法师", - image: - "https://public.readdy.ai/ai/img_res/fad8f5cdf974a6cdf13f117039146645.jpg", + image: "https://public.readdy.ai/ai/img_res/fad8f5cdf974a6cdf13f117039146645.jpg", description: "元素法师的控场能力得到加强,新增了区域冻结效果。", - changes: "法术穿透 +8%,控制效果持续时间 +1秒", + changes: "法术穿透 +8%,控制效果持续时间 +1秒" }, { id: 3, name: "钢铁守卫", role: "坦克", - image: - "https://public.readdy.ai/ai/img_res/618fff0b876f9d124ad1921db66683e5.jpg", + image: "https://public.readdy.ai/ai/img_res/618fff0b876f9d124ad1921db66683e5.jpg", description: "钢铁守卫现在拥有更强的生存能力和团队保护机制。", - changes: "护甲值 +20%,生命回复速度 +15%", - }, - { - id: 4, - name: "狂战士", - role: "战士", - image: - "https://public.readdy.ai/ai/img_res/38093515cf7120e0f8fe258becedcf96.jpg", - description: "狂战士获得了全新的怒气系统,可以在战斗中积累更多能量。", - changes: "暴击率 +12%,攻击速度 +10%", - }, + changes: "护甲值 +20%,生命回复速度 +15%" + } ]; + const equipmentBuilds = [ { id: 1, @@ -441,112 +463,40 @@ const App: React.FC = () => {
-
-
-
- 法师 + {upcomingCharacters.map((character) => ( +
+
+
+ {character.role} +
+ {character.name}
- 星璇法师 -
-
-
-

星璇法师

- 即将登场 -
-

- 掌控星辰能量的神秘法师,可以操纵时空进行战斗。 -

-
-

- 核心特性 -

-

- 星辰轨道 / 时空裂隙 / 引力操控 +

+
+

{character.name}

+ 即将登场 +
+

+ {character.description}

+
+

核心特性

+

{character.features}

+
+
-
-
-
-
-
- 战士 -
- 炎武士 -
-
-
-

炎武士

- 即将登场 -
-

- 融合古代武士精神与现代能量技术的战士。 -

-
-

核心特性

-

- 能量刀刃 / 武士之魂 / 烈焰斩击 -

-
- -
-
-
-
-
- 射手 -
- 生态猎手 -
-
-
-

生态猎手

- 即将登场 -
-

- 运用生态能量的远程射手,善于控制战场环境。 -

-
-

- 核心特性 -

-

- 自然之力 / 生态屏障 / 藤蔓控制 -

-
- -
-
+ ))}
{/* 最新更新 */} @@ -569,18 +519,15 @@ const App: React.FC = () => {
-
- {characters.map((character) => ( +
+ {updatedCharacters.map((character) => (
-
-
- - {character.role} - +
+
+ {character.role}
{ className="w-full h-full object-cover object-top transition-transform duration-500 hover:scale-105" />
-
-

- {character.name} -

-

+

+
+

{character.name}

+ 最新更新 +
+

{character.description}

-
-

- 变更数据 -

-

{character.changes}

+
+

变更数据

+

{character.changes}

-