From 7a77179cbc66d14f02777da2ca3274ffda4cf0fd Mon Sep 17 00:00:00 2001 From: Ajay-Dhangar Date: Tue, 25 Jun 2024 16:52:20 +0530 Subject: [PATCH 1/9] new update --- docs/index.md | 1 + docusaurus.config.js | 6 - dsa-solutions/gfg-solutions/Basic/0093.md | 3 +- src/components/Chatbot/index.tsx | 29 +++ src/components/Chatbot/styles.module.css | 220 ++++++++++++++++++++++ src/css/custom.css | 56 +++--- src/css/markdown.module.css | 2 +- src/pages/me.md | 5 + 8 files changed, 285 insertions(+), 37 deletions(-) create mode 100644 src/components/Chatbot/index.tsx create mode 100644 src/components/Chatbot/styles.module.css diff --git a/docs/index.md b/docs/index.md index 2194c97c6..be1927528 100644 --- a/docs/index.md +++ b/docs/index.md @@ -4,6 +4,7 @@ title: Welcome to CodeHarborHub Tutorials sidebar_label: Welcome to CodeHarborHub sidebar_position: 1 slug: / +sidebar_class_name: "tutorial-learning-tasks" --- Hello, and welcome to CodeHarborHub! Our mission is to provide accessible and comprehensive educational resources to learners of all levels, from beginners to advanced professionals. Whether you're looking to kickstart your career in web development, master a new programming language, or stay updated on the latest tech trends, we've got you covered. diff --git a/docusaurus.config.js b/docusaurus.config.js index 0e56da3f6..2b49d96cb 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -1,6 +1,3 @@ -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -import { faLinkedin, faYoutube, faDiscord, } from '@fortawesome/free-brands-svg-icons'; - import { themes as prismThemes } from "prism-react-renderer"; import { default as npm2yarn } from "@docusaurus/remark-plugin-npm2yarn"; const remarkMath = require("remark-math"); @@ -362,7 +359,6 @@ const config = { { label: "LinkedIn", href: "https://www.linkedin.com/company/codeharborhub/", - icon: 'faLinkedin', }, { label: "YouTube", @@ -372,12 +368,10 @@ const config = { { label: "Discord", href: "https://discord.gg/c53FQn3pRv", - icon: 'faDiscord', }, { label: "Twitter(X)", href: "https://twitter.com/CodesWithAjay", - icon: 'faTwitter', }, ], }, diff --git a/dsa-solutions/gfg-solutions/Basic/0093.md b/dsa-solutions/gfg-solutions/Basic/0093.md index 9cd7b226c..0245d5b13 100644 --- a/dsa-solutions/gfg-solutions/Basic/0093.md +++ b/dsa-solutions/gfg-solutions/Basic/0093.md @@ -1,6 +1,5 @@ --- -id: replace-zeros-with-fives -title: Replace All 0's with 5 +id: replace-zeros-with-fivetitle: Replace All 0's with 5 sidebar_label: 0093 Replace All 0's with 5 tags: - Python diff --git a/src/components/Chatbot/index.tsx b/src/components/Chatbot/index.tsx new file mode 100644 index 000000000..6dcb1f1d3 --- /dev/null +++ b/src/components/Chatbot/index.tsx @@ -0,0 +1,29 @@ +import React, { useEffect } from 'react'; +import styles from './styles.module.css'; + +const Chatbot = () => { + useEffect(() => { + const script1 = document.createElement('script'); + script1.src = "https://cdn.botpress.cloud/webchat/v1/inject.js"; + script1.async = true; + document.body.appendChild(script1); + + const script2 = document.createElement('script'); + script2.src = "https://mediafiles.botpress.cloud/4e10f671-b66c-4211-a966-8d2a4b404513/webchat/config.js"; + script2.defer = true; + document.body.appendChild(script2); + + return () => { + document.body.removeChild(script1); + document.body.removeChild(script2); + }; + }, []); + + return ( +
+
+
+ ); +}; + +export default Chatbot; \ No newline at end of file diff --git a/src/components/Chatbot/styles.module.css b/src/components/Chatbot/styles.module.css new file mode 100644 index 000000000..119d21c35 --- /dev/null +++ b/src/components/Chatbot/styles.module.css @@ -0,0 +1,220 @@ + +.bpw-layout-left { + width: 400px !important; + height: 70vh; + border-radius: 10px; + left: 10px; + bottom: 5px; + border: 1px solid transparent; + position: fixed !important; + z-index: 9999; +} + +.bpw-from-bot > div, +#input-message { + direction: ltr; +} + +.bpw-new-messages-indicator { + background-color: #f5f5f51e; +} + +.bpw-header-container { + margin: 10px; + background: var(--ifm-color-primary); + border-radius: 10px; + position: relative; + overflow: hidden; + border: 1px; +} + +.bpw-header-name { + font-size: 16px; + font-weight: 600; +} + +.bpw-typing-bubble { + background: #00000050; +} + +.bpw-chat-bubble-content { + border-radius: 3px; + border: 1px transparent; +} + +.bpw-date-container, +.bpw-header-name, +.bpw-header-subtitle { + color: #ffffff3e; +} + +.bpw-layout { + width: 400px !important; + height: 70vh; + border-radius: 10px; + right: 10px; + bottom: 5px; + border: 1px; +} + +@media (max-width: 450px) { + .bpw-layout-left { + width: 100% !important; + height: 100%; + left: 0; + bottom: 0; + border-radius: 0; + } +} + +.bpw-header-icon, +.bpw-header-icon svg, +.bpw-header-icon svg path { + fill: #ffffff !important; +} + +#input-message::placeholder { + color: rgba(0, 0, 0, 0.3); +} + +.bpw-composer textarea { + outline: none !important; + border: 1px solid black; +} + +.bpw-composer textarea:focus { + outline: none !important; + border: 1px solid black; +} + +.bpw-keyboard-single-choice { + background-color: #ffffff33; + border: none; +} + +.bpw-button, +.bpw-button-alt { + background-color: var(--ifm-color-primary); + color: #000000; + border-radius: 10px; + border: none; +} + +.bpw-button:hover, +.bpw-button-alt:hover { + background-color: #f5f5f55c; +} + +.bpw-chat-container { + background-color: #ffffff3e; + scrollbar-width: thin; + scrollbar-color: #f5f5f5 #ffffff; + border: none; +} + +.bpw-from-bot .bpw-chat-bubble .bpw-chat-bubble-content { + background-color: #f5f5f537; + color: #000000; +} + +.bpw-from-user .bpw-chat-bubble .bpw-chat-bubble-content { + background-color: #00bfa6; + color: #ffffff; +} + +.bpw-composer { + background-color: #ffffff45; + border-top: none; +} + +.bpw-chat-container::-webkit-scrollbar, +.bpw-chat-container::-moz-scrollbar { + width: 10px; + background-color: #ffffff42; + border: none; +} + +::-webkit-scrollbar-track, +.bpw-chat-container::-webkit-scrollbar-track, +.bpw-chat-container::-moz-scrollbar-track { + background-color: transparent; +} + +::-webkit-scrollbar-thumb, +.bpw-chat-container::-webkit-scrollbar-thumb, +.bpw-chat-container::-moz-scrollbar-thumb { + background-color: #ffffff30; + border-radius: 1rem; + border: 0.5rem solid transparent; +} + +.bpw-bot-avatar img, +.bpw-bot-avatar svg { + border: 3px solid #ffffff; +} + +::-webkit-scrollbar { + width: 0.5rem; +} + +::-webkit-scrollbar-track { + background-color: transparent; +} + +::-webkit-scrollbar-thumb { + background-color: #ffffff; + border-radius: 1rem; + border: 0.5rem solid transparent; +} + +.bpw-floating-button i svg path { + fill: var(--ifm-color-primary); +} + +.bpw-powered { + text-align: center; + padding: 10px; + font-size: 14px; + border-bottom-right-radius: 10px; + border-bottom-left-radius: 10px; +} + +.bpw-powered a { + color: rgba(82, 82, 163, 0.777); + text-decoration: underline; +} + +.bpw-powered a:hover { + text-decoration: underline; +} + +.bpw-send-button { + background: var(--ifm-color-primary); +} + +.bpw-send-button:hover { + background: #00bfa6b5; +} + +.bpw-widget-btn { + border-radius: 50%; + background: var(--ifm-color-primary); +} + +.bpw-floating-button::before { + background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='white' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8.625 12a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H8.25m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H12m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 01-2.555-.337A5.972 5.972 0 015.41 20.97a5.969 5.969 0 01-.474-.065 4.48 4.48 0 00.978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03-8.25 9-8.25s9 3.694 9 8.25z' /%3E%3C/svg%3E"); + background-repeat: no-repeat; + background-position: center; + background-size: contain; + height: undefinedpx !important; + width: undefinedpx !important; +} + +.bpw-floating-button { + box-shadow: none !important; +} + +.bpw-floating-button:hover { + background-color: var(--ifm-color-primary); + box-shadow: none !important; +} \ No newline at end of file diff --git a/src/css/custom.css b/src/css/custom.css index 57e725100..fa8a75ec0 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -47,7 +47,7 @@ } .header-github-link::before { - content: ''; + content: ""; width: 24px; height: 24px; display: flex; @@ -55,21 +55,20 @@ no-repeat; } - -[data-theme='dark'] .header-github-link::before { +[data-theme="dark"] .header-github-link::before { background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E") no-repeat; } -[data-theme='dark'] .invert img { +[data-theme="dark"] .invert img { filter: invert(82%); } -div[class^='announcementBar_'] { +div[class^="announcementBar_"] { background: #06e06fb4; color: #fff; border-bottom: 1.8px dotted rgb(37, 184, 11); - font-weight: bold; + font-weight: bold; font-size: 18px; width: 100%; height: auto; @@ -78,7 +77,7 @@ div[class^='announcementBar_'] { text-align: center; } -div[class^='announcementBar_'] a { +div[class^="announcementBar_"] a { font-size: 1.2em; padding: 1px 4px; background: linear-gradient( @@ -92,12 +91,12 @@ div[class^='announcementBar_'] a { text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 2px #ff00de, 0 0 1px #ff00de; } -div[class^='announcementBar_'] a:hover { +div[class^="announcementBar_"] a:hover { font-size: 1.2em; padding: 1px 4px; background: linear-gradient( 90deg, - rgb(131 58 180 / 100%) 0%, + rgb(131 58 180 / 100%) 0%, rgb(253 29 29 / 100%) 50%, rgb(252 176 69 / 100%) 100% ); @@ -105,12 +104,12 @@ div[class^='announcementBar_'] a:hover { -webkit-text-fill-color: transparent; } -[data-theme='dark'] div[class^='announcementBar_'] a { +[data-theme="dark"] div[class^="announcementBar_"] a { font-size: 1.2em; padding: 1px 4px; background: linear-gradient( 90deg, - rgb(131 58 180 / 100%) 0%, + rgb(131 58 180 / 100%) 0%, rgb(253 29 29 / 100%) 50%, rgb(252 176 69 / 100%) 100% ); @@ -118,7 +117,7 @@ div[class^='announcementBar_'] a:hover { -webkit-text-fill-color: transparent; } -[data-theme='dark'] div[class^='announcementBar_'] a:hover { +[data-theme="dark"] div[class^="announcementBar_"] a:hover { font-size: 1.2em; padding: 1px 4px; background: linear-gradient( @@ -131,7 +130,7 @@ div[class^='announcementBar_'] a:hover { -webkit-text-fill-color: transparent; } -div[class^='announcementBar_'] .clean-btn { +div[class^="announcementBar_"] .clean-btn { color: #ffe11c; opacity: 100%; } @@ -146,7 +145,8 @@ mark { } .footer { - background-image: linear-gradient(#272329aa, #2d2c2d50, transparent), url("../../static/img/use-svg-as-background-image-particle-strokes.svg"); + background-image: linear-gradient(#272329aa, #2d2c2d50, transparent), + url("../../static/img/use-svg-as-background-image-particle-strokes.svg"); color: #f2f2f2; padding: 20px; } @@ -162,13 +162,13 @@ mark { .footer_info--container img { width: 62px; border-radius: 8px; - padding: 0.2rem; + padding: 0.2rem; } @media screen and (max-width: 420px) { .footer_info--container { width: 100%; - } + } } .hero__title { @@ -214,7 +214,6 @@ mark { } } - .footer .container a { text-decoration: none; } @@ -223,21 +222,21 @@ mark { margin-top: 40px; } -.footer__copyright a { - color: #F0DB4F; +.footer__copyright a { + color: #f0db4f; text-decoration: none; position: relative; transition: color 0.3s; } .footer__copyright a::after { - content: ''; + content: ""; position: absolute; width: 100%; height: 2px; bottom: 0; left: 0; - background-color: #F0DB4F; + background-color: #f0db4f; visibility: hidden; transform: scaleX(0); transition: all 0.3s ease-in-out 0s; @@ -261,7 +260,7 @@ mark { } table { - width:100%; + width: 100%; } table th:nth-child(1) { @@ -287,7 +286,10 @@ table.suggested-problem-table tbody > tr > td:nth-child(4) { text-align: center; } -table, tr, td, th { +table, +tr, +td, +th { border: none !important; } @@ -309,8 +311,6 @@ table, tr, td, th { } } - - @media screen and (min-width: 1205px) { .nav-emoji { display: inline-block; @@ -342,10 +342,10 @@ table, tr, td, th { margin: 2px; } -.dsa-content{ +.dsa-content { display: flex; - justify-content: space-evenly; - align-items: center; + justify-content: space-evenly; + align-items: center; } .dropdown-content { diff --git a/src/css/markdown.module.css b/src/css/markdown.module.css index 0f93ee117..70757176b 100644 --- a/src/css/markdown.module.css +++ b/src/css/markdown.module.css @@ -35,4 +35,4 @@ .colorRed dl > dd { margin: 0; color: #e6a377; -} +} \ No newline at end of file diff --git a/src/pages/me.md b/src/pages/me.md index e48f74062..0b2499e8f 100644 --- a/src/pages/me.md +++ b/src/pages/me.md @@ -4,6 +4,9 @@ description: In this page, I will introduce myself. hide_table_of_contents: true --- + +import Chatbot from "../components/Chatbot"; + # Introduction (परिचयः) 🙏 [![An image of @ajaydhangar's Holopin badges, which is a link to view their full Holopin profile](https://holopin.me/ajaydhangar)](https://holopin.io/@ajaydhangar) @@ -114,3 +117,5 @@ hide_table_of_contents: true + + \ No newline at end of file From f49692adb0d44e939157134fa9699701b6484e8c Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Tue, 25 Jun 2024 11:23:21 +0000 Subject: [PATCH 2/9] Restyled by clang-format --- docusaurus.config.js | 848 ++++++++++++++++++++++--------------------- 1 file changed, 431 insertions(+), 417 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 2b49d96cb..6f7141a0e 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -1,5 +1,6 @@ -import { themes as prismThemes } from "prism-react-renderer"; -import { default as npm2yarn } from "@docusaurus/remark-plugin-npm2yarn"; +import {default as npm2yarn} from "@docusaurus/remark-plugin-npm2yarn"; +import {themes as prismThemes} from "prism-react-renderer"; + const remarkMath = require("remark-math"); const rehypeKatex = require("rehype-katex"); @@ -7,121 +8,131 @@ const path = require("path"); /** @type {import('@docusaurus/types').Config} */ const config = { - title: "CodeHarborHub", - tagline: "A place to learn and grow", - favicon: "img/favicon_io/favicon.ico", - url: process.env.URL || "http://localhost:3000/", - baseUrl: "/", - customFields: { - admin: "Ajay Dhangar", - superman: "Shivay", + title : "CodeHarborHub", + tagline : "A place to learn and grow", + favicon : "img/favicon_io/favicon.ico", + url : process.env.URL || "http://localhost:3000/", + baseUrl : "/", + customFields : { + admin : "Ajay Dhangar", + superman : "Shivay", }, - organizationName: "codeharborhub", - projectName: "codeharborhub.github.io", + organizationName : "codeharborhub", + projectName : "codeharborhub.github.io", - onBrokenLinks: "throw", - onBrokenMarkdownLinks: "warn", + onBrokenLinks : "throw", + onBrokenMarkdownLinks : "warn", - presets: [ + presets : [ [ "@docusaurus/preset-classic", /** @type {import('@docusaurus/preset-classic').Options} */ ({ - debug: true, - docs: { - path: "docs", - sidebarPath: "sidebars.js", - numberPrefixParser: false, - showLastUpdateAuthor: true, - showLastUpdateTime: true, - admonitions: { - keywords: ["my-custom-admonition"], - extendDefaults: true, + debug : true, + docs : { + path : "docs", + sidebarPath : "sidebars.js", + numberPrefixParser : false, + showLastUpdateAuthor : true, + showLastUpdateTime : true, + admonitions : { + keywords : [ "my-custom-admonition" ], + extendDefaults : true, }, - editUrl: - "https://github.com/codeharborhub/codeharborhub.github.io/edit/main/", - remarkPlugins: [remarkMath], - rehypePlugins: [rehypeKatex], + editUrl : + "https://github.com/codeharborhub/codeharborhub.github.io/edit/main/", + remarkPlugins : [ remarkMath ], + rehypePlugins : [ rehypeKatex ], }, - pages: { - remarkPlugins: [npm2yarn], + pages : { + remarkPlugins : [ npm2yarn ], }, - blog: { - showReadingTime: true, - editUrl: - "https://github.com/codeharborhub/codeharborhub.github.io/edit/main/", - remarkPlugins: [[npm2yarn, { converters: ["pnpm"] }]], + blog : { + showReadingTime : true, + editUrl : + "https://github.com/codeharborhub/codeharborhub.github.io/edit/main/", + remarkPlugins : [ [ npm2yarn, {converters : [ "pnpm" ]} ] ], }, - theme: { - customCss: "./src/css/custom.css", + theme : { + customCss : "./src/css/custom.css", }, }), ], ], - stylesheets: [ + stylesheets : [ { - href: "https://cdn.jsdelivr.net/npm/katex@0.13.24/dist/katex.min.css", - type: "text/css", - integrity: - "sha384-odtC+0UGzzFL/6PNoE8rX/SPcQDXBJ+uRepguP4QkPCm2LBxH3FA3y+fKSiJ+AmM", - crossorigin: "anonymous", + href : "https://cdn.jsdelivr.net/npm/katex@0.13.24/dist/katex.min.css", + type : "text/css", + integrity : + "sha384-odtC+0UGzzFL/6PNoE8rX/SPcQDXBJ+uRepguP4QkPCm2LBxH3FA3y+fKSiJ+AmM", + crossorigin : "anonymous", }, ], - themeConfig: - /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ - ({ - image: "img/nav-logo.jpg", - announcementBar: { - id: "announcementBar", - content: - '⭐️ If you like CodeHarborHub, give it a star on GitHub and join us on LinkedIn ⭐️', - isCloseable: true, - backgroundColor: "var(--ifm-color-primary)", - }, - - metadata: [ - { - name: "keywords", - content: - "CodeHarborHub, CodeHarbor, CodeHarborHub, CodeHarborHub Blog, CodeHarborHub Community, CodeHarborHub Courses, CodeHarborHub DSA, CodeHarborHub Web Dev, CodeHarborHub Tutorials, CodeHarborHub Showcase, CodeHarborHub Donate, CodeHarborHub Blog, CodeHarborHub Team, CodeHarborHub About, CodeHarborHub Contact, CodeHarborHub Careers, CodeHarborHub Terms, CodeHarborHub Privacy, CodeHarborHub Cookie, CodeHarborHub Code of Conduct, CodeHarborHub Quiz, CodeHarborHub Broadcast, CodeHarborHub Tags, CodeHarborHub Courses Tags, CodeHarborHub DSA Tags, CodeHarborHub Web Dev Tags, CodeHarborHub Product, CodeHarborHub LinkedIn, CodeHarborHub YouTube, CodeHarborHub Discord, CodeHarborHub Twitter, CodeHarborHub GitHub, CodeHarborHub Products, CodeHarborHub Web Dev, CodeHarborHub DSA, CodeHarborHub Courses, CodeHarborHub Tutorials, CodeHarborHub Showcase, CodeHarborHub Donate, CodeHarborHub Blog, CodeHarborHub Team, CodeHarborHub About, CodeHarborHub Contact, CodeHarborHub Careers, CodeHarborHub Terms, CodeHarborHub Privacy, CodeHarborHub Cookie, CodeHarborHub Code of Conduct, CodeHarborHub Quiz, CodeHarborHub Broadcast, CodeHarborHub Tags, CodeHarborHub Courses Tags, CodeHarborHub DSA Tags, CodeHarborHub Web Dev Tags, CodeHarborHub Product, CodeHarborHub LinkedIn, CodeHarborHub YouTube, CodeHarborHub Discord, CodeHarborHub Twitter, CodeHarborHub GitHub, CodeHarborHub Products, CodeHarborHub Web Dev, CodeHarborHub DSA, CodeHarborHub Courses, CodeHarborHub Tutorials, CodeHarborHub Showcase, CodeHarborHub Donate, CodeHarborHub Blog, CodeHarborHub Team, CodeHarborHub About, CodeHarborHub Contact, CodeHarborHub Careers, CodeHarborHub Terms, CodeHarborHub Privacy, CodeHarborHub Cookie, CodeHarborHub Code of Conduct, CodeHarborHub Quiz, CodeHarborHub Broadcast, CodeHarborHub Tags, CodeHarborHub, leetcode, codeforces, hackerrank, geeksforgeeks, interviewbit, educative, udemy, coursera, udacity, khanacademy, codecademy, w3schools, tutorialspoint, javatpoint, geeksforgeeks, stackoverflow, github, gitlab, bitbucket, codepen, jsfiddle, repl.it, codesandbox, stackblitz, gfg, GeeksForGeeks, tech", + themeConfig : + /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ + ({ + image : "img/nav-logo.jpg", + announcementBar : { + id : "announcementBar", + content : + '⭐️ If you like CodeHarborHub, give it a star on GitHub and join us on LinkedIn ⭐️', + isCloseable : true, + backgroundColor : "var(--ifm-color-primary)", }, - { name: "twitter:card", content: "summary_large_image" }, - { name: "twitter:site", content: "@CodesWithAjay" }, - { name: "twitter:creator", content: "@CodesWithAjay" }, - { property: "og:type", content: "website" }, - { property: "og:site_name", content: "CodeHarborHub" }, - { property: "og:title", content: "CodeHarborHub - A place to learn and grow" }, - { property: "og:description", content: "CodeHarborHub is a place to learn and grow. We provide accessible and comprehensive educational resources to learners of all levels, from beginners to advanced professionals."}, - { property: "og:image", content: "https://codeharborhub.github.io/img/nav-logo.jpg" }, - { property: "og:url", content: "https://codeharborhub.github.io" }, - { name: "robots", content: "index, follow" }, - ], - algolia: { - apiKey: "2c1a3331ebff51f76d2f247323ee4ba4", - indexName: "code-harbor-hub", - appId: "M9BCMBK1PH", - contextualSearch: false, - }, + metadata : [ + { + name : "keywords", + content : + "CodeHarborHub, CodeHarbor, CodeHarborHub, CodeHarborHub Blog, CodeHarborHub Community, CodeHarborHub Courses, CodeHarborHub DSA, CodeHarborHub Web Dev, CodeHarborHub Tutorials, CodeHarborHub Showcase, CodeHarborHub Donate, CodeHarborHub Blog, CodeHarborHub Team, CodeHarborHub About, CodeHarborHub Contact, CodeHarborHub Careers, CodeHarborHub Terms, CodeHarborHub Privacy, CodeHarborHub Cookie, CodeHarborHub Code of Conduct, CodeHarborHub Quiz, CodeHarborHub Broadcast, CodeHarborHub Tags, CodeHarborHub Courses Tags, CodeHarborHub DSA Tags, CodeHarborHub Web Dev Tags, CodeHarborHub Product, CodeHarborHub LinkedIn, CodeHarborHub YouTube, CodeHarborHub Discord, CodeHarborHub Twitter, CodeHarborHub GitHub, CodeHarborHub Products, CodeHarborHub Web Dev, CodeHarborHub DSA, CodeHarborHub Courses, CodeHarborHub Tutorials, CodeHarborHub Showcase, CodeHarborHub Donate, CodeHarborHub Blog, CodeHarborHub Team, CodeHarborHub About, CodeHarborHub Contact, CodeHarborHub Careers, CodeHarborHub Terms, CodeHarborHub Privacy, CodeHarborHub Cookie, CodeHarborHub Code of Conduct, CodeHarborHub Quiz, CodeHarborHub Broadcast, CodeHarborHub Tags, CodeHarborHub Courses Tags, CodeHarborHub DSA Tags, CodeHarborHub Web Dev Tags, CodeHarborHub Product, CodeHarborHub LinkedIn, CodeHarborHub YouTube, CodeHarborHub Discord, CodeHarborHub Twitter, CodeHarborHub GitHub, CodeHarborHub Products, CodeHarborHub Web Dev, CodeHarborHub DSA, CodeHarborHub Courses, CodeHarborHub Tutorials, CodeHarborHub Showcase, CodeHarborHub Donate, CodeHarborHub Blog, CodeHarborHub Team, CodeHarborHub About, CodeHarborHub Contact, CodeHarborHub Careers, CodeHarborHub Terms, CodeHarborHub Privacy, CodeHarborHub Cookie, CodeHarborHub Code of Conduct, CodeHarborHub Quiz, CodeHarborHub Broadcast, CodeHarborHub Tags, CodeHarborHub, leetcode, codeforces, hackerrank, geeksforgeeks, interviewbit, educative, udemy, coursera, udacity, khanacademy, codecademy, w3schools, tutorialspoint, javatpoint, geeksforgeeks, stackoverflow, github, gitlab, bitbucket, codepen, jsfiddle, repl.it, codesandbox, stackblitz, gfg, GeeksForGeeks, tech", + }, + {name : "twitter:card", content : "summary_large_image"}, + {name : "twitter:site", content : "@CodesWithAjay"}, + {name : "twitter:creator", content : "@CodesWithAjay"}, + {property : "og:type", content : "website"}, + {property : "og:site_name", content : "CodeHarborHub"}, + { + property : "og:title", + content : "CodeHarborHub - A place to learn and grow" + }, + { + property : "og:description", + content : + "CodeHarborHub is a place to learn and grow. We provide accessible and comprehensive educational resources to learners of all levels, from beginners to advanced professionals." + }, + { + property : "og:image", + content : "https://codeharborhub.github.io/img/nav-logo.jpg" + }, + {property : "og:url", content : "https://codeharborhub.github.io"}, + {name : "robots", content : "index, follow"}, + ], - navbar: { - title: "CodeHarborHub", - logo: { - alt: "CodeHarborHub Logo", - src: "img/nav-logo.jpg", + algolia : { + apiKey : "2c1a3331ebff51f76d2f247323ee4ba4", + indexName : "code-harbor-hub", + appId : "M9BCMBK1PH", + contextualSearch : false, }, - items: [ - { - type: "dropdown", - html: '📚 Docs', - position: "left", - items: [ - { - type: "html", - value: `