-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimage-config.jsx
82 lines (73 loc) · 2.29 KB
/
image-config.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
// Image1Component.js
import Image1 from '../public/assets/images/Democratic-Platform-Governance.png';
function Image1Component() {
return (
<div>
<img src={Image1} alt="Image 1" style={{ width: '50%', height: 'auto' }} />
</div>
);
}
// Image2Component.js
import Image2 from '../public/assets/images/evolution-of-platform-governance.png';
function Image2Component() {
return (
<div>
<img src={Image2} alt="Image 2" style={{ width: '50%', height: 'auto' }} />
</div>
);
}
// Image3Component.js
import Image3 from '../public/assets/images/tension-between-free-speech-absolutism-and-practical-moderation.png';
function Image3Component() {
return (
<div>
<img src={Image3} alt="Image 3" style={{ width: '50%', height: 'auto' }} />
</div>
);
}
// Presentation.js
import Image1Component from './Image1Component';
import Image2Component from './Image2Component';
import Image3Component from './Image3Component';
function Presentation() {
return (
<div>
<Image1Component />
<Image2Component />
<Image3Component />
</div>
);
}
// ImageSlideshow.js
import Image1 from '../public/assets/images/Democratic-Platform-Governance.png';
import Image2 from '../public/assets/images/evolution-of-platform-governance.png';
import Image3 from '../public/assets/images/tension-between-free-speech-absolutism-and-practical-moderation.png';
function ImageSlideshow() {
return (
<div>
<h2>Image References</h2>
<div style={{ display: 'flex', flexDirection: 'column', alignItems: 'center' }}>
<img src={Image1} alt="Image 1" style={{ width: '80%', height: 'auto', marginBottom: '20px' }} />
<img src={Image2} alt="Image 2" style={{ width: '80%', height: 'auto', marginBottom: '20px' }} />
<img src={Image3} alt="Image 3" style={{ width: '80%', height: 'auto' }} />
</div>
</div>
);
}
// Presentation.js
import Image1Component from './Image1Component';
import Image2Component from './Image2Component';
import Image3Component from './Image3Component';
import ImageSlideshow from './ImageSlideshow';
import WorksCited from './WorksCited';
function Presentation() {
return (
<div>
<Image1Component />
<Image2Component />
<Image3Component />
<ImageSlideshow />
<WorksCited />
</div>
);
}