Skip to content

Commit b5d5281

Browse files
committed
fix: class를 className으로 모두 수정
1 parent 92ce525 commit b5d5281

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/components/Banner.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import '../styles/Banner.css';
22

33
export function Banner(children) {
44
return (
5-
<div class="banner_container">
6-
<div class="banner_info">
7-
<p class="banner_text">{children.toptext}</p>
8-
<p class="banner_text">{children.bottomtext}</p>
5+
<div className="banner_container">
6+
<div className="banner_info">
7+
<p className="banner_text">{children.toptext}</p>
8+
<p className="banner_text">{children.bottomtext}</p>
99
{children.link && (
1010
<a href="items.html">
1111
<button className="look_around_button">구경하러 가기</button>
@@ -14,7 +14,7 @@ export function Banner(children) {
1414
)}
1515

1616
</div>
17-
<img class="banner_image" src={children.image}/>
17+
<img className="banner_image" src={children.image}/>
1818
</div>
1919
);
2020
}

0 commit comments

Comments
 (0)