Skip to content

Commit b1b631a

Browse files
committed
refactor: simplify image presentation by removing unused imports and components
1 parent 9b57953 commit b1b631a

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

image-config.jsx

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
import Image1 from '../public/assets/images/image1.jpg';
2-
import Image2 from '../public/assets/images/image2.jpg';
3-
import Image3 from '../public/assets/images/image3.jpg';
4-
5-
function Presentation() {
6-
return (
7-
<div>
8-
<img src={Image1} alt="Image 1" style={{ width: '50%', height: 'auto' }} />
9-
<img src={Image2} alt="Image 2" style={{ width: '50%', height: 'auto' }} />
10-
<img src={Image3} alt="Image 3" style={{ width: '50%', height: 'auto' }} />
11-
</div>
12-
);
13-
}
141
// Image1Component.js
152
import Image1 from '../public/assets/images/Democratic-Platform-Governance.png';
163

@@ -32,6 +19,7 @@ function Image2Component() {
3219
</div>
3320
);
3421
}
22+
3523
// Image3Component.js
3624
import Image3 from '../public/assets/images/tension-between-free-speech-absolutism-and-practical-moderation.png';
3725

@@ -42,7 +30,7 @@ function Image3Component() {
4230
</div>
4331
);
4432
}
45-
// Presentation.js
33+
4634
// Presentation.js
4735
import Image1Component from './Image1Component';
4836
import Image2Component from './Image2Component';

0 commit comments

Comments
 (0)