Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev 1.1 #278

Merged
merged 6 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions src/components/Aboutpage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand All @@ -13,13 +14,13 @@ export default function AboutUsSection() {
<div className="col col--6">
<Heading as={"h1"}>About Us</Heading>
<p className={styles.aboutUsDescription}>
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?
</p>
<p className={styles.aboutUsDescription}>
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!
</p>
<p className={styles.aboutUsDescription}>
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!
</p>
</div>
<div className={clsx("col", "col--6", styles.aboutUsImage)}>
Expand Down
120 changes: 0 additions & 120 deletions src/pages/VirtualMeeting/VirtualMeetingComponent.css

This file was deleted.

123 changes: 0 additions & 123 deletions src/pages/VirtualMeeting/index.tsx

This file was deleted.

75 changes: 2 additions & 73 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -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 (
<div className={clsx(styles.section, styles.sectionAlt)}>
<div className="container">
<Heading as="h2" className={clsx("margin-bottom--lg", "text--center")}>
Loved by many engineers
</Heading>
<div className={clsx("row", styles.tweetsSection)}>
{tweetColumns.map((tweetItems, i) => (
<div className="col col--4" key={i}>
{tweetItems.map((tweet) => (
<Tweet {...tweet} key={tweet.url} />
))}
</div>
))}
</div>
</div>
</div>
);
}

function QuotesSection() {
return (
<div className={clsx(styles.section)}>
<div className="container">
<div className="row">
{Quotes.map((quote) => (
<div className="col" key={quote.name}>
<div className="avatar avatar--vertical margin-bottom--sm">
<Image
alt={quote.name}
className="avatar__photo avatar__photo--xl"
img={quote.thumbnail}
style={{ overflow: "hidden" }}
/>
<div className="avatar__intro padding-top--sm">
<div className="avatar__name">{quote.name}</div>
<small className="avatar__subtitle">{quote.title}</small>
</div>
</div>
<p className="text--italic padding-horiz--md">
{quote.text}
</p>
</div>
))}
</div>
</div>
</div>
);
}

export default function Home() {
const { siteConfig } = useDocusaurusContext();
Expand Down Expand Up @@ -152,13 +87,7 @@ export default function Home() {
</div>
</div>
</div>
<TweetsSection />
<div style={{ margin: "10px 0" }}>
<Heading as="h3" style={{textAlign: "center"}}>
Quotes
</Heading>
<QuotesSection />
</div>
<AdComponent />
<Chatbot />
</main>
</Layout>
Expand Down
Binary file added static/donations/img-1.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/donations/img-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/donations/img-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/donations/img-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/donations/img-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/donations/img-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/donations/img-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion static/img/svg/dev_focus).svg

This file was deleted.

Loading
Loading