Skip to content

added codes new for features #566

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

Merged
merged 1 commit into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
17 changes: 15 additions & 2 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import styles from "./index.module.css";
// import Features from "../components/HomePage/Features";
// import Courses from "../components/HomePage/Courses";
// import { featuresData, coursesData } from "../database/home";
import Head from "@docusaurus/Head";
import Header from "../components/HomePage/Header";
import Tweet from "../components/Tweet";
import Tweets, { type TweetItem } from "../data/tweets";
Expand Down Expand Up @@ -74,6 +75,18 @@ export default function Home() {
title={`Hello from ${siteConfig.title}`}
description="Welcome to CodeHarborHub. Learn the basics to advanced concepts of web development. html, css, javascript, react, node.js, dsa, and more."
>
<Head>
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5832817025080991"
crossorigin="anonymous"
></script>
<script
async
custom-element="amp-auto-ads"
src="https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js"
></script>
</Head>
<main className={styles.main__home}>
<div className={styles.home__header}>
<Header />
Expand Down Expand Up @@ -146,8 +159,8 @@ export default function Home() {
<TweetsSection />

<ScrollTopToButton />
<ScrollBottomToTop />
<ScrollBottomToTop />
</main>
</Layout>
);
}
}
1 change: 1 addition & 0 deletions static/ads.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google.com, pub-5832817025080991, DIRECT, f08c47fec0942fa0
2 changes: 1 addition & 1 deletion static/robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

User-agent: *
Allow: /
sitemap: https://ajay-dhangar.github.io/code-harbor-hub/sitemap.xml
sitemap: https://codeharborhub.github.io//sitemap.xml
Loading