diff --git a/docusaurus.config.js b/docusaurus.config.js
index 8438b8eb7..9ab4886d2 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -304,11 +304,11 @@ const config = {
},
{
label: "Code of Conduct",
- to: "#",
+ to: "/code-of-conduct",
},
{
label: "Cookie Policy",
- to: "#",
+ to: "/cookie-policy",
},
],
},
diff --git a/src/pages/code-of-conduct/index.tsx b/src/pages/code-of-conduct/index.tsx
new file mode 100644
index 000000000..ee54011de
--- /dev/null
+++ b/src/pages/code-of-conduct/index.tsx
@@ -0,0 +1,200 @@
+import React from 'react';
+import Layout from '@theme/Layout';
+import styled from 'styled-components';
+
+// Styled Components
+const CodeOfConductContainer = styled.div`
+ width: 50%;
+ display: block;
+ margin: auto;
+ padding: 20px;
+ border-radius: 5px;
+ box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
+ font-size: 16px;
+ line-height: 1.6;
+ font-family: 'Open Sans', sans-serif;
+ text-align: justify;
+
+ @media (max-width: 760px) {
+ width: 80%;
+ }
+`;
+
+const Title = styled.h2`
+ margin-bottom: 20px;
+ font-weight: 700;
+ text-align: center;
+`;
+
+const SubTitle = styled.h3`
+ margin-bottom: 20px;
+ font-weight: 700;
+`;
+
+const StyledUl = styled.ul`
+ margin-bottom: 20px;
+`;
+
+const StyledLi = styled.li`
+ margin-bottom: 20px;
+`;
+
+const StyledOl = styled.ol`
+ margin-bottom: 20px;
+`;
+
+const Content = styled.div`
+ margin-bottom: 20px;
+`;
+
+// Reusable Components
+const Section = ({ title, children }) => (
+ {description}
Last Updated: 23rd May 2024
+); + +// Separate Sections as Components +const OurPledge = () => ( +We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
+We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
+Examples of behavior that contributes to a positive environment for our community include:
+Examples of unacceptable behavior include:
+Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
+Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
+This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
+Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at Email. All complaints will be reviewed and investigated promptly and fairly. All community leaders are obligated to respect the privacy and security of the reporter of any incident.
+Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
+This Code of Conduct is adapted from the Contributor Covenant, version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
+Community Impact Guidelines were inspired by Mozilla's code of conduct enforcement ladder.
+For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq/. Translations are available at https://www.contributor-covenant.org/translations.
+{description}
+Last Updated: 23rd May 2024
+); + +// Separate Sections as Components +const Mission = () => ( +Welcome to CodeHarborHub. Our mission is to provide accessible and comprehensive educational resources to learners of all levels. This Cookie Policy explains how we use cookies on our website.
+Cookies are small text files stored on your device when you visit a website. They help the site to remember your preferences and activities over time.
+We use cookies to:
+You can manage or disable cookies through your browser settings. For more information on how to do this, visit your browser’s help section.
+We may use third-party cookies for various purposes such as analytics and advertising. These cookies are governed by the privacy policies of the respective third parties.
+We may update this Cookie Policy from time to time. We will notify you of any significant changes by posting the new policy on our website and updating the date at the top of this page.
+If you have any questions or concerns about our Cookie Policy, please contact us at:
+ +