Skip to content

Commit 09486b0

Browse files
committed
coc done
1 parent ef327a9 commit 09486b0

File tree

6 files changed

+257
-3
lines changed

6 files changed

+257
-3
lines changed

src/components/Footer/Footer.jsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import wocLogo from "../../assets/wocLogo1.png";
1111
// @ts-ignore
1212
import gdscLogo from "../../assets/gdscLogo1.png";
1313
import footerData from "../../constants/footerData";
14+
import { Link } from "react-router-dom";
1415

1516
const Footer = () => {
1617
const openInNewWindow = (url) => {
@@ -44,6 +45,12 @@ const Footer = () => {
4445
style={{ cursor: "pointer" }}
4546
onClick={() => openInNewWindow(footerData.twitter)}
4647
/>
48+
49+
</div>
50+
<div className="footer_coc">
51+
<Link to="/coc">Code of Conduct</Link>
52+
<p className="footer_coc_email">Email us for more details</p>
53+
<a href="mailto: [email protected]" className="email_2">[email protected]</a>
4754
</div>
4855
</div>
4956
<div className="footer_resources">

src/components/Footer/Footer.scss

Lines changed: 57 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,47 +6,56 @@
66
box-sizing: border-box;
77
position: relative;
88
z-index: 2;
9+
910
@media screen and (max-width: 560px) {
1011
padding: 20px 20px;
1112
}
1213
}
14+
1315
.footer_top {
1416
display: flex;
1517
justify-content: space-between;
1618
align-items: center;
1719
gap: 24px;
1820
margin-bottom: 80px;
21+
1922
@media screen and (max-width: 560px) {
2023
flex-direction: column;
21-
justify-content: center;
24+
justify-content: space-between;
2225
margin-bottom: 30px;
2326
align-items: flex-start;
2427
}
2528
}
29+
2630
.footer_logo_first {
2731
display: flex;
2832
align-items: center;
2933
}
34+
3035
.footer_logo {
3136
max-width: 33.33%;
3237
display: flex;
3338
flex-direction: column;
3439
align-items: center;
40+
3541
@media screen and (max-width: 560px) {
3642
max-width: 100%;
3743
justify-content: center;
3844
align-items: center;
3945
}
4046
}
47+
4148
.footer_woc_logo {
4249
width: 40px;
4350
height: 40px;
4451
margin-right: 10px;
52+
4553
@media screen and (max-width: 560px) {
4654
width: 50px;
4755
height: 50px;
4856
}
4957
}
58+
5059
.footer_logo_text {
5160
font-size: 20px;
5261
font-weight: 600;
@@ -62,13 +71,16 @@
6271
align-items: center;
6372
justify-content: center;
6473
margin-top: 10px;
74+
6575
p {
6676
font-size: 10px;
77+
6778
@media screen and (max-width: 560px) {
6879
font-size: 15px;
6980
}
7081
}
7182
}
83+
7284
.footer_logo_socials {
7385
margin-top: 10px;
7486
display: flex;
@@ -77,32 +89,40 @@
7789
max-width: 100%;
7890
gap: 8px;
7991
}
92+
8093
.footer_logo_socials_icons1 {
8194
font-size: 25px;
95+
8296
@media screen and (max-width: 560px) {
8397
font-size: 15px;
8498
background: rgba(255, 255, 255, 0.2);
8599
border-radius: 100%;
86100
}
87101
}
102+
88103
.footer_logo_socials_icons2 {
89104
font-size: 25px;
105+
90106
@media screen and (max-width: 560px) {
91107
font-size: 15px;
92108
background: rgba(255, 255, 255, 0.2);
93109
border-radius: 100%;
94110
}
95111
}
112+
96113
.footer_logo_socials_icons3 {
97114
font-size: 24px;
115+
98116
@media screen and (max-width: 560px) {
99117
font-size: 16px;
100118
background: rgba(255, 255, 255, 0.2);
101119
border-radius: 100%;
102120
}
103121
}
122+
104123
.footer_resources {
105124
max-width: 33.33%;
125+
106126
@media screen and (max-width: 560px) {
107127
max-width: 100%;
108128
display: flex;
@@ -113,15 +133,18 @@
113133
margin-top: 20px;
114134
}
115135
}
136+
116137
.footer_resources_heading {
117138
margin: 0;
118139
margin-bottom: 5px;
119140
font-size: 20px;
141+
120142
@media screen and (max-width: 560px) {
121143
font-size: 18px;
122144
margin-bottom: 12px;
123145
}
124146
}
147+
125148
.footer_resources_text {
126149
margin: 8px 0px;
127150
font-size: 16px;
@@ -131,8 +154,10 @@
131154
margin: 6px 0px;
132155
}
133156
}
157+
134158
.footer_socials {
135159
max-width: 33%;
160+
136161
@media screen and (max-width: 560px) {
137162
max-width: 100%;
138163
display: flex;
@@ -141,41 +166,70 @@
141166
align-items: flex-start;
142167
}
143168
}
169+
144170
.footer_socials_heading {
145171
margin: 0;
146172
margin-bottom: 5px;
147173
font-size: 20px;
174+
148175
@media screen and (max-width: 560px) {
149176
font-size: 18px;
150177
margin-bottom: 12px;
151178
}
152179
}
180+
153181
.footer_socials_text {
154182
margin: 8px 0px;
155183
font-size: 16px;
156184

157185
@media screen and (max-width: 560px) {
158186
font-size: 12px;
159-
margin: 6px 0px ;
187+
margin: 6px 0px;
160188
}
161189
}
190+
162191
.footer_bottom {
163192
display: flex;
164193
justify-content: center;
165194
align-items: center;
166195
flex-direction: column;
167-
196+
168197
}
198+
169199
.footer_bottom img {
170200
width: 50%;
201+
171202
@media screen and (max-width: 560px) {
172203
width: 100%;
173204
}
174205
}
206+
175207
.footer_bottom p {
176208
margin: 10px 20px;
177209
font-size: 16px;
210+
178211
@media screen and (max-width: 560px) {
179212
font-size: 14px;
180213
}
181214
}
215+
216+
.footer_coc {
217+
margin-top: 20px;
218+
219+
.footer_coc_email {
220+
color: #DCF2F1;
221+
margin-top: 10px;
222+
margin-bottom: 10px;
223+
}
224+
225+
.email_2 {
226+
227+
228+
color: #DCF2F1;
229+
text-transform: lowercase;
230+
}
231+
232+
@media screen and (max-width: 560px) {
233+
font-size: 15px;
234+
}
235+
}

src/index.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ body {
2626
color: white !important;
2727
}
2828
}
29+

src/main.jsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import NotFound404 from "utils/NotFound404/NotFound404.jsx";
77
import Home from "pages/Home/Home.jsx";
88
import Team from "pages/Team/Team.jsx";
99
import MainLayout from "components/Layout/MainLayout.jsx";
10+
import Coc from "pages/Coc/Coc.jsx";
11+
1012

1113
const routes = [
1214
{
@@ -21,6 +23,10 @@ const routes = [
2123
path: "/team",
2224
element: <Team />,
2325
},
26+
{
27+
path: "/coc",
28+
element:<Coc/>
29+
}
2430
],
2531
},
2632
{

src/pages/Coc/Coc.jsx

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
import React from 'react'
2+
import "./Coc.scss"
3+
const Coc = () => {
4+
return (
5+
<section className='coc'>
6+
<h1 className='heading'>Code of Conduct</h1>
7+
<div>
8+
<p className='text__bold'>
9+
By participating in Winter Of Code, all participants agree to
10+
abide by this Code of Conduct. Failure to comply with this Code of Conduct may result in disqualification
11+
and expulsion from the event, and may also lead to legal action in severe cases.
12+
</p>
13+
<p className="coc__rules">
14+
<span className="text__bold">Respect: </span>
15+
All participants must respect each other's opinions, beliefs, and values.
16+
Discriminatory language or behavior will not be tolerated. This includes, but is not limited to, sexism,
17+
racism, homophobia, and ableism.
18+
</p>
19+
<p className="coc__rules">
20+
<span className="text__bold">Collaboration: </span>
21+
Participants should embrace collaboration and teamwork.
22+
Any attempts to sabotage or undermine other contributors' work will not be tolerated.
23+
</p>
24+
<p className="coc__rules">
25+
<span className="text__bold">Privacy: </span>
26+
Participants must respect the privacy of others. Any confidential information shared
27+
during the Winter of Code must not be disclosed
28+
without the express consent of the person or team that shared it.
29+
</p>
30+
<p className="coc__rules">
31+
<span className="text__bold">Professionalism: </span>
32+
Participants should conduct themselves in a professional manner throughout the Winter of Code.
33+
This includes dressing appropriately, refraining from using inappropriate language,
34+
and avoiding any behavior that would be considered unprofessional.
35+
</p>
36+
<p className="coc__rules">
37+
<span className="text__bold">Safety: </span>
38+
Participants should prioritize their safety and the safety
39+
of others throughout the Winter of Code. Any behavior that puts others in danger,
40+
including but not limited to physical violence or verbal threats, will not be tolerated
41+
</p>
42+
<p className="coc__rules">
43+
<span className="text__bold">Code of Conduct Violations: </span>
44+
Any participant who violates the Code of Conduct may be subject to disciplinary action,
45+
up to and including expulsion from the Winter of Code.
46+
All participants have the right to report any Code of Conduct violations to the event organizers.
47+
</p>
48+
<p className="coc__rules">
49+
<span className="text__bold">Inclusivity: </span>
50+
The Winter of Code should be inclusive to all individuals regardless of gender,
51+
ethnicity, race, religion, age, or any other characteristic.
52+
All participants should work towards creating a safe and welcoming environment for everyone involved.
53+
</p>
54+
<p className="coc__rules">
55+
<span className="text__bold">Intellectual Property: </span>
56+
Participants should respect the intellectual property rights of others. Any use of copyrighted
57+
or trademarked material must be properly attributed or cleared for use
58+
</p>
59+
<p className="coc__rules">
60+
<span className="text__bold">Compliance with Laws: </span>
61+
All participants must comply with all applicable laws and regulations throughout the Winter of Code.
62+
Any illegal activities will not be tolerated.
63+
</p>
64+
<p className="coc__rules">
65+
<span className="text__bold">Accountability: </span>
66+
All participants are accountable for their own actions and should take responsibility
67+
for any consequences that may arise from those actions.
68+
</p>
69+
</div>
70+
<h1 className='heading'>Reporting a Breach</h1>
71+
<div>
72+
<p>
73+
If you experience or witness a breach of the Winter of Code Code of Conduct,
74+
we encourage you to report it immediately. You can report it in the following ways:
75+
</p>
76+
<ul className='coc_list'>
77+
<li>
78+
<span className="text__bold">Speak with a member of the Winter of Code team: </span>
79+
<span>You can approach any member of the Winter of Code team and share your concerns with them.
80+
They will take appropriate action to address the situation. The team will be identifiable by Winter of Code official t-shirts,
81+
bearing the Winter of Code logo, along with a lanyard and identity card.</span>
82+
</li>
83+
<li>
84+
<span className="text__bold">Email the Winter of Code team: </span>
85+
<span>You can send an email to the official Winter of Code email address</span>
86+
<a href="mailto: [email protected]"> [email protected] </a><span> and describe the incident in detail.
87+
We will investigate the matter and take appropriate action.</span>
88+
</li>
89+
<li><span className="text__bold">Contact the following Winter of Code Representatives:</span>
90+
<span> If you prefer to tell us in person but the team is not near, call the lead organizers below:</span>
91+
<ul className="emails">
92+
<li>Debojit Saha: <a href="mailto:[email protected]">[email protected]</a></li>
93+
<li>Subhajit Hait: <a href="mailto:[email protected]">[email protected]</a></li>
94+
<li>Manish Kumar Barnwal: <a href="mailto:[email protected]">[email protected]</a></li>
95+
<li>Kajal Jaiswal: <a href="mailto:[email protected]">[email protected]</a></li>
96+
</ul>
97+
</li>
98+
</ul>
99+
<p><span>We take all reports of Code of Conduct breaches
100+
seriously and will take appropriate action to address the situation.</span>
101+
</p>
102+
<p><span>Winter of Code reserves the right to amend, make exceptions, or otherwise revise the policies either partially or fully.
103+
If you have any questions regarding the policies, please contact us at
104+
</span><a href="mailto: [email protected] "> [email protected] </a><span></span></p>
105+
</div>
106+
</section>
107+
)
108+
}
109+
110+
export default Coc

0 commit comments

Comments
 (0)