Skip to content

Commit dfa90ac

Browse files
committed
added codes new for features
1 parent f1f2eab commit dfa90ac

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

src/pages/index.tsx

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import styles from "./index.module.css";
77
// import Features from "../components/HomePage/Features";
88
// import Courses from "../components/HomePage/Courses";
99
// import { featuresData, coursesData } from "../database/home";
10+
import Head from "@docusaurus/Head";
1011
import Header from "../components/HomePage/Header";
1112
import Tweet from "../components/Tweet";
1213
import Tweets, { type TweetItem } from "../data/tweets";
@@ -74,6 +75,18 @@ export default function Home() {
7475
title={`Hello from ${siteConfig.title}`}
7576
description="Welcome to CodeHarborHub. Learn the basics to advanced concepts of web development. html, css, javascript, react, node.js, dsa, and more."
7677
>
78+
<Head>
79+
<script
80+
async
81+
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5832817025080991"
82+
crossorigin="anonymous"
83+
></script>
84+
<script
85+
async
86+
custom-element="amp-auto-ads"
87+
src="https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js"
88+
></script>
89+
</Head>
7790
<main className={styles.main__home}>
7891
<div className={styles.home__header}>
7992
<Header />
@@ -146,8 +159,8 @@ export default function Home() {
146159
<TweetsSection />
147160

148161
<ScrollTopToButton />
149-
<ScrollBottomToTop />
162+
<ScrollBottomToTop />
150163
</main>
151164
</Layout>
152165
);
153-
}
166+
}

static/ads.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
google.com, pub-5832817025080991, DIRECT, f08c47fec0942fa0

static/robots.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
User-agent: *
44
Allow: /
5-
sitemap: https://ajay-dhangar.github.io/code-harbor-hub/sitemap.xml
5+
sitemap: https://codeharborhub.github.io//sitemap.xml

0 commit comments

Comments
 (0)