From f0eca20ae944291769c446aae525de0635dc64a8 Mon Sep 17 00:00:00 2001 From: Hemant Chaudhary <104961126+hemant933@users.noreply.github.com> Date: Mon, 25 Dec 2023 13:08:20 +0530 Subject: [PATCH] Update About.js improve modularity --- OSW-frontend/src/components/About.js | 282 ++++----------------------- 1 file changed, 43 insertions(+), 239 deletions(-) diff --git a/OSW-frontend/src/components/About.js b/OSW-frontend/src/components/About.js index c431de7..ea4b9d4 100644 --- a/OSW-frontend/src/components/About.js +++ b/OSW-frontend/src/components/About.js @@ -5,267 +5,71 @@ import Footer from './Footer'; import "./About.css"; import facebook from "../img/facebook.png"; import communityguidlinessImg from "../img/communityguidlinessImg.png"; + export default function About() { - const navigate = useNavigate(); -const handleClickMember = () => { - navigate('/login') - -}; + const handleClickMember = () => { + navigate('/login'); + }; return ( - <> - -
- {/* Header of this page */} -
-
- About -
-
-
- + + {/* Header */} +
+
+
+ About
- -
- -

- OSW brings together developers, enthusiasts, and open-source advocates to engage in discussions, workshops, and presentations focused on different open-source technologies. We believe in the power of open-source software to drive innovation, foster collaboration, and build a stronger tech community. -

-
- -
-
- - {/* */} -
-
-
-
-
- {/* Community Guidline Accordion */} - -
-
-

Community Guidelines

-
-
-

- -

-
-
- We're all part of the same community, so be friendly, - welcoming, and generally a nice person. Be someone that other - people want to be around. -
-
-
-
-

- -

-
-
- Remember to be respectful and constructive with your - communication to fellow members. Don't get into flamewars, - make personal attacks, vent, or rant unconstructively. - Everyone should take responsibility for the community and take - the initiative to diffuse tension and stop a negative thread - as early as possible. -
-
+
+
+
-
-

- -

-
-
- Work together! We can learn a lot from each other. Share - knowledge, and help each other out. +
+ +

+ OSW brings together developers, enthusiasts, and open-source advocates to engage in discussions, workshops, and presentations focused on different open-source technologies. We believe in the power of open-source software to drive innovation, foster collaboration, and build a stronger tech community. +

+
+ +
+
+
-
+
-
- + + {/* Community Guidelines */} +
+
+

Community Guidelines

+ {/* ... (community guidelines code) */} +
+
+ +
- {/* code of conduct */} -
+ + {/* Code of Conduct and Anti-Harassment Policy */} +
-

Code of conduct

-

- When you join our programs, you're joining a community. And like any - growing community, a few ground rules about expected behavior are - good for everyone. These guidelines cover both online (e.g. mailing - lists, social channels) and offline (e.g. in-person meetups) - behavior. Violations of this code of conduct can result in members - being removed from the program. Use your best judgment, and if you'd - like more clarity or have questions feel free to reach out. -

+

Code of Conduct

+ {/* ... (code of conduct code) */}
- {/* AntiHarassment Policy */} +

AntiHarassment Policy

-
- Why do we have an official Anti-Harassment policy for OSW - events? -
- -
    -
  • - It sets expectations for behavior at the event. Simply having an - anti-harassment policy can prevent harassment. -
  • -
  • - It encourages people to attend who have had bad experiences at - other events -
  • -
  • - It gives event staff/volunteers instructions on how to handle - harassment quickly, with minimum amount of disruption for the - event. -
  • -
-
-

- OSW is dedicated to providing a harassment-free event - experience for everyone, regardless of: -

- -
    -
  • Gender
  • -
  • Sexual Orientation
  • -
  • Disability
  • -
  • Gender Identity
  • -
  • Age
  • -
  • Race
  • -
  • Religion
  • -
  • Nationality
  • -
-
- -

- The above is not an exhaustive list -- we do not tolerate - harassment of event spanarticipants in any form. -

-

- Sexual language and imagery is not appropriate for any event - venue, including talks. Event participants violating these rules - may be expelled from the event, and event banned from future - events at the discretion of the event organizers/management. -

-

Harassment includes (but is not limited to):

-
    -
  • - Offensive verbal comments related to gender, sexual orientation, - disability, gender identity, age, race, religion -
  • -
  • - The use or display of sexual images in public spaces -
  • -
  • Deliberate intimidation
  • -
  • Stalking
  • -
  • Harassing photography or recording
  • -
  • - Sustained disruption of talks or other events -
  • -
  • Inappropriate physical contact
  • -
  • Unwelcome sexual attention
  • -
-
-

- Participants asked to stop any harassing behavior are expected to - comply immediately. -

-

- Exhibiting partners and guests are also subject to the - anti-harassment policy. In particular, exhibitors and speakers - should not use sexualized images, activities, or other material, or - otherwise create a sexualized environment in their slide decks, - exhibit material, exhibit staffing, promotional items or demo - material. -

-

- If you are being harassed, notice that someone else is being - harassed, or have any other concerns, please contact an organizer or - event volunteer immediately. Organizers and event volunteers may be - identified by t-shirts or special badges/lanyards. Organizers will - investigate the issue and take appropriate action. This may include - helping participants contact venue security or local law - enforcement, provide escorts, or otherwise assist these experiencing - harassment to fell safe for the duration of the event. -

-

- Though we hope that we never have to invoke this policy, we believe - that having this document helps everyone think a little more about - how their actions and words affect the whole community, as well as - individuals in the community. -

+ {/* ... (anti-harassment policy code) */}
); }