Skip to content

Commit

Permalink
Remove image icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Dannygod committed Apr 21, 2024
1 parent 3e74158 commit f3f33c7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions my-app/src/page/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import Traffic from "./Traffic";
import Review from "./Review";

const Home = () => {

const [descriptions, setDescriptions] = useState({
image1: { visible: true, content: <About /> },
image2: { visible: true, content: <Info /> },
Expand All @@ -32,7 +31,6 @@ const Home = () => {
};

return (

<div id="main" style={{ margin: "64px 0%" }}>
<header style={{ textAlign: "center" }} id="header">
<img src={banner} alt="banner" style={{ width: "100%" }} />
Expand All @@ -58,7 +56,7 @@ const Home = () => {
</h2>
<hr />
<div onClick={() => toggleDescription(`image${index}`)}>
<img
{/* <img
src={
index === 1
? camp_introduction_img
Expand All @@ -73,7 +71,7 @@ const Home = () => {
className={`image${index}`}
alt=""
style={{ width: "4em", height: "4em" }}
/>
/> */}
</div>
<p
className={`text-below${index}`}
Expand Down

0 comments on commit f3f33c7

Please sign in to comment.