diff --git a/src/components/Roadmap/index.tsx b/src/components/Roadmap/index.tsx index c579f0eb6..78acfac9a 100644 --- a/src/components/Roadmap/index.tsx +++ b/src/components/Roadmap/index.tsx @@ -13,7 +13,7 @@ const techCategories: TechCategory[] = [ id: 1, title: "Frontend", technologies: [ - { id: 1, name: "HTML", link: "/roadmap/html" }, + { id: 1, name: "HTML", link: "/roadmap/html/" }, { id: 2, name: "CSS", link: "#" }, { id: 3, name: "JavaScript", link: "#" }, { id: 4, name: "React", link: "https://roadmap.sh/react" }, @@ -320,7 +320,7 @@ const Roadmap: React.FC = () => { {category.technologies.map((tech) => (
  • { - e.preventDefault(); + e.preventDefault(); handleButtonClick(tech.link); }} className="roadmap-link"> {tech.name} diff --git a/src/pages/code-of-conduct/index.tsx b/src/pages/code-of-conduct/index.tsx index df5dfbe36..c7ebb52e8 100644 --- a/src/pages/code-of-conduct/index.tsx +++ b/src/pages/code-of-conduct/index.tsx @@ -1,74 +1,25 @@ import React from 'react'; import Layout from '@theme/Layout'; -import styled from 'styled-components'; +import Link from "@docusaurus/Link"; -// 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 }) => (
    - {title} +

    {title}

    {children}
    ); -// Reusable Components const ListItem = ({ title, description }) => ( - +
  • {title}

    {description}

    - +
  • ); -// Separate Sections as Components const LastUpdated = () => (

    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.

    @@ -76,29 +27,27 @@ const OurPledge = () => (
    ); -// Separate Sections as Components const OurStandards = () => (

    Examples of behavior that contributes to a positive environment for our community include:

    - - Demonstrating empathy and kindness toward other people - Being respectful of differing opinions, viewpoints, and experiences - Giving and gracefully accepting constructive feedback - Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience - Focusing on what is best not just for us as individuals, but for the overall community - +

    Examples of unacceptable behavior include:

    - - The use of sexualized language or imagery, and sexual attention or advances of any kind - Trolling, insulting or derogatory comments, and personal or political attacks - Public or private harassment - Publishing others' private information, such as a physical or email address, without their explicit permission - Other conduct which could reasonably be considered inappropriate in a professional setting - +
    ); -// Separate Sections as Components const EnforcementResponsibilities = () => (

    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.

    @@ -106,25 +55,22 @@ const EnforcementResponsibilities = () => (
    ); -// Separate Sections as Components const Scope = () => (

    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.

    ); -// Separate Sections as Components const Enforcement = () => (

    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.

    ); -// Separate Sections as Components const EnforcementGuidelines = () => (

    Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:

    - +
      ( } /> - +
    ); -// Separate Sections as Components const Attribution = () => (
    -

    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.

    +

    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.

    ); -// Code of Conduct Component const CodeOfConduct = () => ( - - Code Of Conduct - +
    +

    Code Of Conduct

    +
    @@ -192,8 +136,8 @@ const CodeOfConduct = () => ( - - +
    +
    ); diff --git a/src/pages/privacy-policy/index.tsx b/src/pages/privacy-policy/index.tsx index 4ec647f2e..8a9714954 100644 --- a/src/pages/privacy-policy/index.tsx +++ b/src/pages/privacy-policy/index.tsx @@ -1,57 +1,15 @@ import Layout from "@theme/Layout"; import React from "react"; -import styled from "styled-components"; - -const PrivacyPolicyContainer = styled.div` - max-width: 800px; - margin: 0 auto; - padding: 20px; - border-radius: 5px; - box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1); - margin-top: 20px; - margin-bottom: 20px; - font-size: 16px; - line-height: 1.6; - font-family: "Open Sans", sans-serif; - text-align: justify; -`; - -const Title = styled.h2` - margin-bottom: 20px; - font-weight: 700; - text-align: center; -`; - -const SubTitle = styled.h3` - margin-bottom: 20px; - font-weight: 700; -`; - -const Content = styled.p` - margin-bottom: 20px; -`; - -const StyledOl = styled.ol` - margin-bottom: 20px; -`; - -const StyledLi = styled.li` - margin-bottom: 20px; -`; - -const Strong = styled.strong` - font-weight: bold; -`; const PrivacyPolicy: React.FC = () => { return ( - - Privacy Policy - +
    +

    Privacy Policy

    +

    Last Updated: 21st March 2024

    Welcome to{" "} @@ -59,17 +17,17 @@ const PrivacyPolicy: React.FC = () => { href="https://ajay-dhangar.github.io/code-harbor-hub/" target="_blank" rel="noopener noreferrer" + className="text-blue-500 underline" > - {" "} CodeHarborHub , an educational and technology-focused platform operated by{" "} - {" "} Ajay Dhangar . We are committed to protecting your privacy and ensuring the @@ -80,101 +38,126 @@ const PrivacyPolicy: React.FC = () => { By accessing or using our website, you consent to the terms of this Privacy Policy. If you do not agree with the terms of this Privacy Policy, please do not use our website. -

    - Information We Collect +

    + +

    + Information We Collect +

    +

    We collect personal information that you voluntarily provide to us when you interact with the website, such as your name, email address, and any other information you choose to share. We may also collect technical information about your device and usage patterns to improve - our website's functionality and user experience. -

    - How We Use Your Information - We may use the information we collect for the following purposes: -

    - - - Personalization: To customize your experience on - our website and provide content and resources tailored to your - interests and preferences. - - - Communication: To respond to your inquiries, - provide customer support, and send you updates and notifications - about our services, events, and educational materials. - - - Analytics: To analyze trends, track user - interactions, and gather demographic information to improve our - website's performance and user experience. - - - Security: To protect our website from security - threats, fraud, or other malicious activities. - - - Legal Compliance: To comply with applicable laws, - regulations, or legal processes. - - - Marketing: To promote our services, events, and - educational materials through targeted advertising and promotional - campaigns. - - - Disclosure of Your Information + our website's functionality and user experience. +

    + +

    + How We Use Your Information +

    +
      +
    1. + Personalization: To customize your experience on + our website and provide content and resources tailored to your + interests and preferences. +
    2. +
    3. + Communication: To respond to your inquiries, + provide customer support, and send you updates and notifications + about our services, events, and educational materials. +
    4. +
    5. + Analytics: To analyze trends, track user + interactions, and gather demographic information to improve our + website's performance and user experience. +
    6. +
    7. + Security: To protect our website from security + threats, fraud, or other malicious activities. +
    8. +
    9. + Legal Compliance: To comply with applicable laws, + regulations, or legal processes. +
    10. +
    11. + Marketing: To promote our services, events, and + educational materials through targeted advertising and promotional + campaigns. +
    12. +
    + +

    + Disclosure of Your Information +

    +

    We may share your information with trusted third-party service providers who assist us in operating our website, hosting our content, managing our communications, and analyzing user data. We may also disclose your information to comply with applicable laws and regulations, respond to legal requests, or protect our rights, property, or safety. -

    - Data Retention +

    + +

    Data Retention

    +

    We will retain your personal information for as long as necessary to fulfill the purposes outlined in this Privacy Policy, unless a longer retention period is required or permitted by law. -

    - Your Rights +

    + +

    Your Rights

    +

    You have the right to access, update, correct, or delete your personal information at any time. You can also object to the processing of your personal information or request that we restrict certain processing activities. To exercise these rights, please contact us using the information provided below. -

    - Third-Party Links +

    + +

    Third-Party Links

    +

    Our website may contain links to third-party websites or resources that are not owned or controlled by us. We are not responsible for the privacy practices or content of these third-party websites. We encourage you to review the privacy policies of these websites before providing any personal information. -

    - Children's Privacy +

    + +

    + Children's Privacy +

    +

    Our website is not directed to children under the age of 13. We do not knowingly collect personal information from children under 13. If you are a parent or guardian and believe that your child has provided us with personal information, please contact us, and we will take appropriate steps to remove such information from our records. -

    - Changes to This Privacy Policy +

    + +

    + Changes to This Privacy Policy +

    +

    We reserve the right to update or modify this Privacy Policy at any time. We will notify you of any changes by posting the new Privacy Policy on this page. Your continued use of our website after any modifications indicates your acceptance of the updated Privacy Policy. -

    - Contact Us +

    + +

    Contact Us

    +

    If you have any questions or concerns about this Privacy Policy, please contact us at{" "} - {" "} - ajaydhangar49@gmail.com + codeharborhub@gmail.com . Thank you for visiting CodeHarborHub! - - +

    +
    ); }; diff --git a/src/pages/terms-service/index.tsx b/src/pages/terms-service/index.tsx index ec790efb2..e4f429a32 100644 --- a/src/pages/terms-service/index.tsx +++ b/src/pages/terms-service/index.tsx @@ -1,148 +1,131 @@ import React from "react"; -import styled from "styled-components"; import Layout from "@theme/Layout"; -const TermsContainer = styled.div` - max-width: 800px; - margin: 0 auto; - padding: 20px; - border-radius: 5px; - box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1); - margin-top: 20px; - margin-bottom: 20px; - font-size: 16px; - line-height: 1.6; - font-family: "Open Sans", sans-serif; - text-align: justify; -`; - -const Title = styled.h2` - margin-bottom: 20px; - font-family: "Open Sans", sans-serif; - font-weight: 700; - line-height: 1.6; - text-align: center; -`; - -const SubTitle = styled.h3` - font-size: 20px; - margin-bottom: 20px; - font-family: "Open Sans", sans-serif; - font-weight: 700; - line-height: 1.6; -`; - -const Content = styled.p` - font-size: 16px; - margin-bottom: 20px; - font-family: "Open Sans", sans-serif; - line-height: 1.6; - text-align: justify; -`; - -const StyledOl = styled.ol` - margin-bottom: 20px; - font-family: "Open Sans", sans-serif; - line-height: 1.6; - font-size: 16px; - text-align: justify; -`; - -const StyledLi = styled.li` - margin-bottom: 20px; -`; - -const Strong = styled.strong` - font-weight: bold; -`; - const TermsOfService: React.FC = () => { return ( - - Terms of Service - - These Terms of Service govern your use of CodeHarborHub, - provided by Ajay Dhangar. By accessing or using the Service, - you agree to be bound by these Terms. If you disagree with any part of - the Terms, you may not access the Service. -

    - Acceptance of Terms +
    +

    + Terms of Service +

    +

    + These Terms of Service govern your use of{" "} + CodeHarborHub, provided by{" "} + Ajay Dhangar. By accessing + or using the Service, you agree to be bound by these Terms. If you + disagree with any part of the Terms, you may not access the Service. +

    +

    Acceptance of Terms

    +

    By accessing or using the Service, you acknowledge that you have read, understood, and agree to be bound by these Terms, as well as any additional terms and conditions, policies, and guidelines provided by us. If you do not agree to these Terms, please refrain from using the Service. -

    - Use of the Service - - - - Eligibility: You must be at least 18 years old to use the Service. By using the Service, you represent and warrant that you are at least 18 years old. - - - License: We grant you a limited, non-exclusive, non-transferable, and revocable license to access and use the Service for your personal or internal business purposes. This license does not permit any resale or commercial use of the Service. - - - User Conduct: You agree not to engage in any activity that interferes with or disrupts the Service or its servers and networks. You also agree not to use the Service for any illegal or unauthorized purpose. - - - - Content - - - - User Content: You retain ownership of any content you submit or upload to the Service ("User Content"). By submitting User Content, you grant us a worldwide, royalty-free, and non-exclusive license to use, reproduce, modify, adapt, publish, translate, distribute, and display such User Content. - - - Intellectual Property: All content, trademarks, service marks, logos, and other intellectual property displayed on or related to the Service are the property of Ajay Dhangar or its licensors. You may not use or display any of these without our prior written consent. - - - - Privacy - - Your privacy is important to us. Please review our Privacy Policy to understand how we collect, use, and disclose your personal information. - -

    - - Termination - We reserve the right to suspend or terminate your access to the Service at any time, with or without cause, and without notice or liability. - -

    - - Disclaimer of Warranties - - THE SERVICE IS PROVIDED ON AN "AS-IS" AND "AS AVAILABLE" BASIS, WITHOUT ANY WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED. WE DISCLAIM ALL WARRANTIES, INCLUDING BUT NOT LIMITED TO MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. WE MAKE NO WARRANTY THAT THE SERVICE WILL MEET YOUR REQUIREMENTS, BE UNINTERRUPTED, TIMELY, SECURE, OR ERROR-FREE. USE OF THE SERVICE IS AT YOUR OWN RISK. - -

    - - Limitation of Liability - - IN NO EVENT SHALL AJAY DHANGAR BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES, ARISING OUT OF OR IN CONNECTION WITH YOUR USE OF THE SERVICE. UNDER NO CIRCUMSTANCES SHALL WE BE LIABLE FOR ANY DELAY OR FAILURE IN PERFORMANCE RESULTING DIRECTLY OR INDIRECTLY FROM AN EVENT BEYOND OUR REASONABLE CONTROL. - -

    - - Governing Law - - These Terms shall be governed by and construed per the laws of India, without regard to its conflict of law principles. - -

    - - Changes to the Terms - - We reserve the right to update or modify these Terms at any time, without prior notice. By continuing to use the Service after any such changes, you agree to be bound by the updated Terms. Please review these Terms periodically for any updates or changes. - -

    - - Contact Us - - If you have any questions about these Terms, please contact us at ajaydhangar49@gmail.com . - - - +

    +

    Use of the Service

    +
      +
    1. + Eligibility: You must be at least 18 years old to + use the Service. By using the Service, you represent and warrant + that you are at least 18 years old. +
    2. +
    3. + License: We grant you a limited, non-exclusive, + non-transferable, and revocable license to access and use the + Service for your personal or internal business purposes. This + license does not permit any resale or commercial use of the Service. +
    4. +
    5. + User Conduct: You agree not to engage in any + activity that interferes with or disrupts the Service or its servers + and networks. You also agree not to use the Service for any illegal + or unauthorized purpose. +
    6. +
    +

    Content

    +
      +
    1. + User Content: You retain ownership of any content + you submit or upload to the Service ("User Content"). By + submitting User Content, you grant us a worldwide, royalty-free, and + non-exclusive license to use, reproduce, modify, adapt, publish, + translate, distribute, and display such User Content. +
    2. +
    3. + Intellectual Property: All content, trademarks, + service marks, logos, and other intellectual property displayed on + or related to the Service are the property of{" "} + Ajay Dhangar or its + licensors. You may not use or display any of these without our prior + written consent. +
    4. +
    +

    Privacy

    +

    + Your privacy is important to us. Please review our{" "} + + Privacy Policy + {" "} + to understand how we collect, use, and disclose your personal + information. +

    +

    Termination

    +

    + We reserve the right to suspend or terminate your access to the + Service at any time, with or without cause, and without notice or + liability. +

    +

    Disclaimer of Warranties

    +

    + THE SERVICE IS PROVIDED ON AN "AS-IS" AND "AS + AVAILABLE" BASIS, WITHOUT ANY WARRANTIES OF ANY KIND, EXPRESS OR + IMPLIED. WE DISCLAIM ALL WARRANTIES, INCLUDING BUT NOT LIMITED TO + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND + NON-INFRINGEMENT. WE MAKE NO WARRANTY THAT THE SERVICE WILL MEET YOUR + REQUIREMENTS, BE UNINTERRUPTED, TIMELY, SECURE, OR ERROR-FREE. USE OF + THE SERVICE IS AT YOUR OWN RISK. +

    +

    Limitation of Liability

    +

    + IN NO EVENT SHALL AJAY DHANGAR BE LIABLE FOR ANY INDIRECT, INCIDENTAL, + SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES, ARISING OUT OF OR IN + CONNECTION WITH YOUR USE OF THE SERVICE. UNDER NO CIRCUMSTANCES SHALL + WE BE LIABLE FOR ANY DELAY OR FAILURE IN PERFORMANCE RESULTING + DIRECTLY OR INDIRECTLY FROM AN EVENT BEYOND OUR REASONABLE CONTROL. +

    +

    Governing Law

    +

    + These Terms shall be governed by and construed per the laws of India, + without regard to its conflict of law principles. +

    +

    Changes to the Terms

    +

    + We reserve the right to update or modify these Terms at any time, + without prior notice. By continuing to use the Service after any such + changes, you agree to be bound by the updated Terms. Please review + these Terms periodically for any updates or changes. +

    +

    Contact Us

    +

    + If you have any questions about these Terms, please contact us at{" "} + + codeharborhub@gmail.com + + . +

    +
    ); }; diff --git a/src/theme/Footer/index.tsx b/src/theme/Footer/index.tsx index 8b0806aed..52eba2010 100644 --- a/src/theme/Footer/index.tsx +++ b/src/theme/Footer/index.tsx @@ -253,7 +253,7 @@ const Footer: React.FC = () => { blog - Getting started with the MERN stack + Getting started with the MERN stack... { blog - Getting started with Microservices + Getting started with Microservices... @@ -273,7 +273,7 @@ const Footer: React.FC = () => { -
    +