-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAbout.js
More file actions
180 lines (176 loc) · 6 KB
/
About.js
File metadata and controls
180 lines (176 loc) · 6 KB
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
import '@fortawesome/fontawesome-free/css/all.min.css';
import React from 'react';
const styles = {
page: {
backgroundColor: '#f0f2f5', // Light background for the page
padding: '20px',
minHeight: '100vh',
},
container: {
maxWidth: '900px',
margin: '20px auto', // Decreased margin from top
padding: '30px',
backgroundColor: '#fff',
borderRadius: '10px',
boxShadow: '0 10px 20px rgba(0, 0, 0, 0.1)',
},
title: {
fontSize: '36px',
fontWeight: 'bold',
marginBottom: '30px',
color: '#333',
textAlign: 'center',
},
content: {
fontSize: '18px',
lineHeight: '1.8',
color: '#555',
marginBottom: '40px',
},
developerContainer: {
display: 'flex',
justifyContent: 'space-around',
alignItems: 'center',
flexWrap: 'nowrap',
marginTop: '60px', // Increased margin between About Us and Our Team
},
developerCard: {
textAlign: 'center',
margin: '20px',
padding: '20px',
borderRadius: '10px',
transition: 'background-color 0.3s, color 0.3s',
},
developerCardHover: {
backgroundColor: '#333',
color: '#fff',
},
developerImage: {
width: '150px',
height: '150px',
borderRadius: '50%',
marginBottom: '15px',
transition: 'transform 0.3s',
},
developerImageHover: {
transform: 'scale(1.1)',
},
developerName: {
fontSize: '21px',
fontWeight: 'bold',
marginBottom: '10px',
},
developerDescription: {
fontSize: '16px',
marginBottom: '15px',
},
socialMediaLinks: {
display: 'flex',
justifyContent: 'center',
gap: '15px',
},
socialMediaIcon: {
fontSize: '24px',
transition: 'color 0.3s',
},
socialMediaIconHover: {
color: '#fff',
},
};
const developers = [
{
name: 'Chinmay Paranjape',
image: 'images/chinmay.png', // Corrected path to actual image
description: 'Student at KLE Technological University',
socialMedia: {
linkedin: 'https://www.linkedin.com/in/chinmay-paranjape-b0b297230/',
github: 'https://github.com/Cap26803',
},
},
{
name: 'Kushal Kaparatti',
image: 'images/kushal.png', // Corrected path to actual image
description: 'Student at KLE Technological University',
socialMedia: {
linkedin: 'https://www.linkedin.com/in/kushal-kaparatti-3073a3252/',
github: 'https://github.com/kushalkaparatti',
},
},
{
name: 'Prathamesh Chitnis',
image: 'images/chitnis.jpg', // Corrected path to actual image
description: 'Student at KLE Technological University',
socialMedia: {
linkedin: 'https://www.linkedin.com/in/prathamesh-chitnis-5b1578249/',
github: '#',
},
},
];
function About() {
return (
<div style={styles.page}>
<div style={styles.container}>
<h1 style={styles.title}>About Us</h1>
<div style={styles.content}>
<p>
Welcome to the Water Quality Management (WQM) platform! Our mission is to raise awareness about the importance of clean water and promote sustainable practices for managing water resources.
</p>
<p>
At WQM, we believe that access to clean water is a fundamental human right. We work towards ensuring that everyone has access to safe and clean drinking water, as well as proper sanitation facilities.
</p>
<p>
Our platform provides information about water quality, common water pollutants, and ways to protect water resources. We also support initiatives aligned with Sustainable Development Goal 6 (SDG 6), which aims to ensure availability and sustainable management of water and sanitation for all.
</p>
<p>
We are committed to taking complaints and addressing water quality issues promptly. If you have any concerns or complaints about water quality in your area, please reach out to us. Together, we can make a difference.
</p>
<p>
Thank you for joining us in our mission to promote clean water and sustainable development!
</p>
</div>
<h2 style={styles.title}>Our Team</h2>
<div style={styles.developerContainer}>
{developers.map((developer, index) => (
<div
key={index}
style={styles.developerCard}
onMouseEnter={(e) => {
e.currentTarget.style.backgroundColor = styles.developerCardHover.backgroundColor;
e.currentTarget.style.color = styles.developerCardHover.color;
e.currentTarget.querySelector('img').style.transform = styles.developerImageHover.transform;
const icons = e.currentTarget.querySelectorAll('i');
icons.forEach(icon => icon.style.color = styles.socialMediaIconHover.color);
}}
onMouseLeave={(e) => {
e.currentTarget.style.backgroundColor = '';
e.currentTarget.style.color = '';
e.currentTarget.querySelector('img').style.transform = '';
const icons = e.currentTarget.querySelectorAll('i');
icons.forEach(icon => icon.style.color = '');
}}
>
<img
src={developer.image}
alt={developer.name}
style={styles.developerImage}
/>
<div style={styles.developerName}>{developer.name}</div>
<div style={styles.developerDescription}>{developer.description}</div>
<div style={styles.socialMediaLinks}>
<a href={developer.socialMedia.linkedin} target="_blank" rel="noopener noreferrer">
<i className="fab fa-linkedin" style={styles.socialMediaIcon}></i>
</a>
<a href={developer.socialMedia.github} target="_blank" rel="noopener noreferrer">
<i className="fab fa-github" style={styles.socialMediaIcon}></i>
</a>
</div>
</div>
))}
</div>
</div>
</div>
);
}
export default About;