Skip to content

Commit 342229b

Browse files
committed
fix: 로고 파일 수정 및 모달 닫기 에러 해결
1 parent b73a4f9 commit 342229b

File tree

4 files changed

+21
-3
lines changed

4 files changed

+21
-3
lines changed

src/features/landing/ui/alert-modal/alert-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const AlertModal = forwardRef<HTMLDialogElement>((_, ref) => {
1919
onClick={handleBackdropClick}
2020
>
2121
<form method="dialog" className={styles.buttonHandler}>
22-
<button type="button" aria-label="닫기" className={styles.closeButton}>
22+
<button type="submit" aria-label="닫기" className={styles.closeButton}>
2323
<IconX className={styles.closeIcon} />
2424
</button>
2525
</form>
Lines changed: 16 additions & 0 deletions
Loading

src/shared/assets/icons/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ export { default as IconAIBefore } from "./icon_ai_before.svg?react";
2424
export { default as IconEXPBefore } from "./icon_exp_before.svg?react";
2525

2626
export { default as IconX } from "./x.svg?react";
27+
28+
export { default as LOGO } from "./comfit_logo.svg?react";

src/widgets/header/header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NavLink } from "react-router-dom";
22

3-
import { Logo } from "@/shared/assets/images";
3+
import { LOGO } from "@/shared/assets/icons";
44

55
import * as styles from "./header.css";
66

@@ -10,7 +10,7 @@ export const Header = () => {
1010
<div className={styles.header}>
1111
<div className={styles.menus}>
1212
<NavLink to="/" aria-label="메인으로 이동">
13-
<img src={Logo} className={styles.logo} alt="로고" />
13+
<LOGO />
1414
</NavLink>
1515
</div>
1616
</div>

0 commit comments

Comments
 (0)