Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
godismygirl committed May 20, 2024
1 parent f9d1b27 commit 99aa11e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 15 deletions.
8 changes: 4 additions & 4 deletions src/AllyConfig/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ const AllyConfig = () => {
<div className={css.container}>
<div className={css.roles}>
<div className={css.remi}>
<img src={`./adventurer/remi.png`} />
<img alt="" src={`./adventurer/remi.png`} />
</div>
<div className={css.nightingale}>
<img src={`./adventurer/nightingale.png`} />
<img alt="" src={`./adventurer/nightingale.png`} />
</div>
<div className={css.rook}>
<img src={`./adventurer/rook.png`} />
<img alt="" src={`./adventurer/rook.png`} />
</div>
<div className={css.zeke}>
<img src={`./adventurer/zeke.png`} />
<img alt="" src={`./adventurer/zeke.png`} />
</div>
</div>
<div className={css.body}>
Expand Down
1 change: 0 additions & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import Dice from "./Dice";
import "./global.css";
import EnemySelectPanel from "./EnemySelectPanel";
import BattleField from "./BattleField";
Expand Down
2 changes: 1 addition & 1 deletion src/BattleField/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const BattleField = () => {
)}

<div className={css.portait}>
<img src={`./portait/${enemy.type}.png`} />
<img alt="" src={`./portait/${enemy.type}.png`} />
</div>
<div className={css.content}>
<div className={css.row}>
Expand Down
11 changes: 2 additions & 9 deletions src/EnemySelectPanel/index.jsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
import React, { useState } from "react";
import useGlobalStore from "../GlobalStore";
import { FLAT_ENEMY_COLLECTION } from "../GlobalStore";
import {
MinusCircleFilled,
PlusCircleFilled,
MinusOutlined,
PlusOutlined,
MinusCircleOutlined,
PlusCircleOutlined,
} from "@ant-design/icons";
import { MinusOutlined, PlusOutlined } from "@ant-design/icons";
import css from "./css.module.css";

const FoeSelectPanel = () => {
Expand All @@ -31,7 +24,7 @@ const FoeSelectPanel = () => {
const count = getFoeCount(el.type);
return (
<div key={el.type} className={css.block}>
<img src={`./portait/${el.type}.png`} />
<img alt="" src={`./portait/${el.type}.png`} />
<div className={css.action}>
<i
className={count > 0 ? css.btn : css.disabledBtn}
Expand Down

0 comments on commit 99aa11e

Please sign in to comment.