diff --git a/src/components/Aboutpage/index.tsx b/src/components/Aboutpage/index.tsx index 7cfc08f161..76aaa149f1 100644 --- a/src/components/Aboutpage/index.tsx +++ b/src/components/Aboutpage/index.tsx @@ -3,7 +3,8 @@ import clsx from "clsx"; import Heading from "@theme/Heading"; import styles from "./styles.module.css"; -const aboutImg = "/img/svg/about_me.svg"; +const aboutImg = "/img/svg/feeling_proud.svg"; +// const aboutImg = "/img/svg/environmental_study.svg"; export default function AboutUsSection() { return ( @@ -13,13 +14,13 @@ export default function AboutUsSection() {
About Us

- Welcome to Code Harbor Hub, your go-to destination for quality tech education. At Code Harbor Hub, we are passionate about empowering individuals with the knowledge and skills needed to thrive in the ever-evolving world of technology. + Lorem ipsum dolor sit amet, consectetur adipisicing elit. Perferendis enim doloremque rem dolorum recusandae asperiores sequi veritatis, fugiat neque cum molestias minus harum dolores est quas alias? Sequi, fugiat eum?

- 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. + Lorem ipsum dolor sit amet consectetur adipisicing elit. Ratione esse numquam praesentium sequi reprehenderit magnam tempore, dolores quidem ipsum ea consectetur amet sunt labore a quas neque rem laborum consequuntur!

- With a team of experienced instructors and industry experts, we offer a diverse range of courses and learning paths tailored to meet your specific goals and interests. Join our community today and embark on your journey towards success in the tech industry! + Lorem ipsum dolor sit amet consectetur adipisicing elit. Ratione esse numquam praesentium sequi reprehenderit magnam tempore, dolores quidem ipsum ea consectetur amet sunt labore a quas neque rem laborum consequuntur!

diff --git a/src/pages/VirtualMeeting/VirtualMeetingComponent.css b/src/pages/VirtualMeeting/VirtualMeetingComponent.css deleted file mode 100644 index b179dcb1d2..0000000000 --- a/src/pages/VirtualMeeting/VirtualMeetingComponent.css +++ /dev/null @@ -1,120 +0,0 @@ -.virtual-meeting-container { - display: flex; - flex-wrap: wrap; - justify-content: space-evenly; - padding: 20px; -} - -.video-conference { - position: relative; - align-items: center; - border: 1px solid #ccc; - border-radius: 10px; - overflow: hidden; -} - -.video-conference video { - border-radius: 10px; - width: 100%; -} - -.controls { - position: absolute; - bottom: 20px; - left: 20%; - transform: translateX(-50%); - display: flex; - gap: 20px; -} - -.controls .mic-on, .video-on { - background-color: #fff; - color: #666; - border: none; - border-radius: 50%; - padding: 10px; - cursor: pointer; - transition: background-color 0.3s ease; -} - -.controls .mic-on:hover, .video-on:hover { - /* background-color: #ed3636; */ - color: #333; - background-color: #e0e0e0; -} - -.controls .mic-off, .video-off { - background-color: #ed3636; - color: #fff; - border: none; - border-radius: 50%; - padding: 10px; - cursor: pointer; - transition: background-color 0.3s ease; -} - -.controls .mic-off:hover, .video-off:hover { - background-color: #c62828; -} - -.sidebar { - padding: 20px; - border: 1px solid #ccc; - border-radius: 10px; - width: auto; - overflow-y: auto; -} - -.participants-list, -.chat { - padding: 20px; -} - -.participants-list h2, -.chat h2 { - font-size: 18px; - margin-bottom: 10px; -} - -.participants-list ul, -.chat-messages { - list-style: none; -} - -.participants-list li, -.chat-messages div { - margin-bottom: 10px; -} - -.message-input { - display: flex; - margin-top: 20px; -} - -.message-input input { - flex: 1; - padding: 10px; - border: 1px solid #ccc; - border-radius: 5px; - margin-right: 10px; -} - -.message-input button { - background-color: #007bff; - color: #fff; - border: none; - padding: 10px 20px; - border-radius: 5px; - cursor: pointer; -} - -.message-input button:hover { - background-color: #0056b3; -} - -@media (max-width: 1024px) { - .sidebar { - /* display: none; */ - width: 100%; - } -} \ No newline at end of file diff --git a/src/pages/VirtualMeeting/index.tsx b/src/pages/VirtualMeeting/index.tsx deleted file mode 100644 index 7d64a703b5..0000000000 --- a/src/pages/VirtualMeeting/index.tsx +++ /dev/null @@ -1,123 +0,0 @@ -import React, { useState, useEffect } from "react"; -import Layout from "@theme/Layout"; -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -import { faVideo, faMicrophone, faVideoSlash, faMicrophoneSlash } from '@fortawesome/free-solid-svg-icons'; - -import "./VirtualMeetingComponent.css"; - -const VirtualMeeting: React.FC = () => { - const [participants, setParticipants] = useState([]); - const [chatMessages, setChatMessages] = useState([]); - const [messageInput, setMessageInput] = useState(""); - const [isCameraOn, setIsCameraOn] = useState(true); - const [isMicOn, setIsMicOn] = useState(true); - const [videoBtn, setVideoBtn] = useState("video-on"); - const [micBtn, setMicBtn] = useState("mic-on"); - - useEffect(() => { - // Initialize media devices - initializeMediaDevices(); - }, []); - - const initializeMediaDevices = async () => { - try { - const stream = await navigator.mediaDevices.getUserMedia({ - audio: true, - video: true, - }); - // Logic to add user's video to the meeting - const localVideo = document.getElementById( - "localVideo" - ) as HTMLVideoElement; - if (localVideo) { - localVideo.srcObject = stream; - } - } catch (error) { - console.error("Error accessing media devices:", error); - } - }; - - const handleToggleCamera = () => { - // Toggle camera state - setIsCameraOn(!isCameraOn); - setVideoBtn(isCameraOn ? "video-off" : "video-on"); - // Logic to turn on/off camera - const localVideo = document.getElementById( - "localVideo" - ) as HTMLVideoElement; - if (localVideo.srcObject) { - const tracks = (localVideo.srcObject as MediaStream).getVideoTracks(); - tracks.forEach((track) => (track.enabled = !isCameraOn)); - } - }; - - const handleToggleMic = () => { - // Toggle microphone state - setIsMicOn(!isMicOn); - setMicBtn(isMicOn ? "mic-off" : "mic-on"); - // Logic to mute/unmute microphone - const localVideo = document.getElementById( - "localVideo" - ) as HTMLVideoElement; - if (localVideo.srcObject) { - const tracks = (localVideo.srcObject as MediaStream).getAudioTracks(); - tracks.forEach((track) => (track.enabled = !isMicOn)); - } - }; - - const handleSendMessage = () => { - // Logic to send message to all participants - setChatMessages([...chatMessages, messageInput]); - setMessageInput(""); - }; - - return ( - -
-
-
-
-
-

Participants

-
    - {participants.map((participant, index) => ( -
  • {participant}
  • - ))} -
-
-
-

Chat

-
- {chatMessages.map((message, index) => ( -
{message}
- ))} -
-
- setMessageInput(e.target.value)} - placeholder="Type your message..." - /> - -
-
-
-
-
- ); -}; - -export default VirtualMeeting; diff --git a/src/pages/index.tsx b/src/pages/index.tsx index bc883a3d6b..b0176ea5ab 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,77 +1,12 @@ -import clsx from "clsx"; import React from "react"; -// import Link from "@docusaurus/Link"; import useDocusaurusContext from "@docusaurus/useDocusaurusContext"; -// import LiteYouTubeEmbed from "react-lite-youtube-embed"; -// import GiscusComponent from "@site/src/components/GiscusComponent"; -import Heading from "@theme/Heading"; import Layout from "@theme/Layout"; import Link from "@docusaurus/Link"; import Head from "@docusaurus/Head"; -import Image from "@theme/IdealImage"; -import Tweet from "@site/src/components/Tweet"; -import Tweets, { TweetItem } from "@site/src/data/tweets"; -import Quotes from "@site/src/data/quotes"; import styles from "./index.module.css"; import Chatbot from "@site/src/components/Chatbot"; -import { text } from "express"; -// import AdComponent from "@site/src/components/AdComponent"; +import AdComponent from "@site/src/components/AdComponent"; -function TweetsSection() { - const tweetColumns: TweetItem[][] = [[], [], []]; - Tweets.filter((tweet) => tweet.showOnHomepage).forEach((tweet, i) => - tweetColumns[i % 3]!.push(tweet) - ); - - return ( -
-
- - Loved by many engineers - -
- {tweetColumns.map((tweetItems, i) => ( -
- {tweetItems.map((tweet) => ( - - ))} -
- ))} -
-
-
- ); -} - -function QuotesSection() { - return ( -
-
-
- {Quotes.map((quote) => ( -
-
- {quote.name} -
-
{quote.name}
- {quote.title} -
-
-

- {quote.text} -

-
- ))} -
-
-
- ); -} export default function Home() { const { siteConfig } = useDocusaurusContext(); @@ -152,13 +87,7 @@ export default function Home() {
- -
- - Quotes - - -
+ diff --git a/static/donations/img-1.jpeg b/static/donations/img-1.jpeg new file mode 100644 index 0000000000..9866b6216a Binary files /dev/null and b/static/donations/img-1.jpeg differ diff --git a/static/donations/img-2.png b/static/donations/img-2.png new file mode 100644 index 0000000000..a7589fe96c Binary files /dev/null and b/static/donations/img-2.png differ diff --git a/static/donations/img-3.png b/static/donations/img-3.png new file mode 100644 index 0000000000..2f3bcc9a96 Binary files /dev/null and b/static/donations/img-3.png differ diff --git a/static/donations/img-4.png b/static/donations/img-4.png new file mode 100644 index 0000000000..673c819a2b Binary files /dev/null and b/static/donations/img-4.png differ diff --git a/static/donations/img-5.png b/static/donations/img-5.png new file mode 100644 index 0000000000..1d70873add Binary files /dev/null and b/static/donations/img-5.png differ diff --git a/static/donations/img-6.png b/static/donations/img-6.png new file mode 100644 index 0000000000..3cd678749a Binary files /dev/null and b/static/donations/img-6.png differ diff --git a/static/donations/img-7.png b/static/donations/img-7.png new file mode 100644 index 0000000000..7b02daba4f Binary files /dev/null and b/static/donations/img-7.png differ diff --git a/static/img/svg/dev_focus).svg b/static/img/svg/dev_focus).svg deleted file mode 100644 index 2025fd89fe..0000000000 --- a/static/img/svg/dev_focus).svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/img/svg/enter.svg b/static/img/svg/enter.svg deleted file mode 100644 index 4bd2c96394..0000000000 --- a/static/img/svg/enter.svg +++ /dev/null @@ -1 +0,0 @@ -enter \ No newline at end of file diff --git a/static/img/svg/experience_design.svg b/static/img/svg/experience_design.svg deleted file mode 100644 index d1dbd5fdb4..0000000000 --- a/static/img/svg/experience_design.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/img/svg/financial_data.svg b/static/img/svg/financial_data.svg deleted file mode 100644 index ac180429c6..0000000000 --- a/static/img/svg/financial_data.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/img/svg/fitting_piece.svg b/static/img/svg/fitting_piece.svg deleted file mode 100644 index b191307017..0000000000 --- a/static/img/svg/fitting_piece.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/img/svg/personal_notebook.svg b/static/img/svg/personal_notebook.svg deleted file mode 100644 index bdbfecca87..0000000000 --- a/static/img/svg/personal_notebook.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/img/svg/personal_settings.svg b/static/img/svg/personal_settings.svg deleted file mode 100644 index 69264628c3..0000000000 --- a/static/img/svg/personal_settings.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/img/svg/personal_site.svg b/static/img/svg/personal_site.svg deleted file mode 100644 index 02ebed3664..0000000000 --- a/static/img/svg/personal_site.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/img/svg/photo_album.svg b/static/img/svg/photo_album.svg deleted file mode 100644 index ed9e4512aa..0000000000 --- a/static/img/svg/photo_album.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/img/svg/portfolio.svg b/static/img/svg/portfolio.svg deleted file mode 100644 index fb88f8bd48..0000000000 --- a/static/img/svg/portfolio.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/img/svg/portfolio_feedback.svg b/static/img/svg/portfolio_feedback.svg deleted file mode 100644 index 1254342ed3..0000000000 --- a/static/img/svg/portfolio_feedback.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/img/svg/portfolio_update.svg b/static/img/svg/portfolio_update.svg deleted file mode 100644 index 83e0354c93..0000000000 --- a/static/img/svg/portfolio_update.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/img/svg/portfolio_website.svg b/static/img/svg/portfolio_website.svg deleted file mode 100644 index 4719bd18ec..0000000000 --- a/static/img/svg/portfolio_website.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/img/svg/posting_photo.svg b/static/img/svg/posting_photo.svg deleted file mode 100644 index 726981e2e7..0000000000 --- a/static/img/svg/posting_photo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/img/svg/preparation.svg b/static/img/svg/preparation.svg deleted file mode 100644 index aee03af6ee..0000000000 --- a/static/img/svg/preparation.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/img/svg/process.svg b/static/img/svg/process.svg deleted file mode 100644 index 6acd682da9..0000000000 --- a/static/img/svg/process.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/img/svg/product_explainer.svg b/static/img/svg/product_explainer.svg deleted file mode 100644 index 5809303383..0000000000 --- a/static/img/svg/product_explainer.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/img/svg/professor.svg b/static/img/svg/professor.svg deleted file mode 100644 index 66b8a01b55..0000000000 --- a/static/img/svg/professor.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/img/svg/programmer.svg b/static/img/svg/programmer.svg deleted file mode 100644 index 176371d524..0000000000 --- a/static/img/svg/programmer.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/img/svg/web_development.svg b/static/img/svg/web_development.svg deleted file mode 100644 index f32214c910..0000000000 --- a/static/img/svg/web_development.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/img/svg/web_shopping_re.svg b/static/img/svg/web_shopping_re.svg deleted file mode 100644 index f60a9b0ce3..0000000000 --- a/static/img/svg/web_shopping_re.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/img/svg/website.svg b/static/img/svg/website.svg deleted file mode 100644 index 8bb35cb84f..0000000000 --- a/static/img/svg/website.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/img/svg/website_setup.svg b/static/img/svg/website_setup.svg deleted file mode 100644 index 2d8b8fab7a..0000000000 --- a/static/img/svg/website_setup.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/img/svg/wordpress.svg b/static/img/svg/wordpress.svg deleted file mode 100644 index f6215c5af7..0000000000 --- a/static/img/svg/wordpress.svg +++ /dev/null @@ -1 +0,0 @@ -wordpress \ No newline at end of file diff --git a/static/img/svg/work.svg b/static/img/svg/work.svg deleted file mode 100644 index a9a3ecfe59..0000000000 --- a/static/img/svg/work.svg +++ /dev/null @@ -1 +0,0 @@ -unDraw_1000 \ No newline at end of file diff --git a/static/img/svg/youtube_tutorial.svg b/static/img/svg/youtube_tutorial.svg deleted file mode 100644 index 0fdcc8998c..0000000000 --- a/static/img/svg/youtube_tutorial.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file