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

Restyle now Added ads on tutorial page #269

Merged
merged 4 commits into from
May 25, 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
16 changes: 9 additions & 7 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sidebar_position: 1
slug: /
---

<Head>
<Head>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5832817025080991"
crossorigin="anonymous" />
</Head>
Expand Down Expand Up @@ -38,12 +38,14 @@ To get started with CodeHarborHub, you can follow the tutorials and resources in

<!-- Example ad -->
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5832817025080991" crossorigin="anonymous"></script>

<ins class="adsbygoogle"
style={{display: 'block'}}
data-ad-client="ca-pub-5832817025080991"
data-ad-slot="6570801606"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
style={{display: 'block'}}
data-ad-client="ca-pub-5832817025080991"
data-ad-slot="6570801606"
data-ad-format="auto"
data-full-width-responsive="true"></ins>

<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</script>
49 changes: 25 additions & 24 deletions src/theme/MDXComponents.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
import MDXComponents from '@theme-original/MDXComponents';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import SolutionAuthor from '@site/src/components/SolutionAuthor';
import TutorialAuthors from '@site/src/components/TutorialAuthors';
import Contributors from '@site/src/components/Contributors';
import Table from '@site/src/components/Table';
import ArrayVisualizations from '@site/src/components/DSA/arrays/ArrayVisualizations';
import SelectionSortVisualization from '@site/src/components/DSA/arrays/SelectionSortVisualization';
import BubbleSortVisualization from '@site/src/components/DSA/arrays/BubbleSortVisualization';
import BrowserWindow from '@site/src/components/BrowserWindow';
import GiscusComponent from '@site/src/components/GiscusComponent';
import CollectionList from '@site/src/components/CollectionList';
import { FaReact } from 'react-icons/fa';
import Courses from '@site/src/components/Courses';
import DocCardList from '@theme/DocCardList';
import Highlight from '@site/src/components/Highlight';
import InsertionSortVisualization from '@site/src/components/DSA/arrays/InsertionSortVisualization';
import File from '@site/src/components/File';
import YoutubeVideo from '../components/YoutubeVideo';
import Lesson from '@site/src/components/Lesson';
import Head from '@docusaurus/Head';
import Head from "@docusaurus/Head";
import BrowserWindow from "@site/src/components/BrowserWindow";
import CollectionList from "@site/src/components/CollectionList";
import Contributors from "@site/src/components/Contributors";
import Courses from "@site/src/components/Courses";
import ArrayVisualizations from "@site/src/components/DSA/arrays/ArrayVisualizations";
import BubbleSortVisualization from "@site/src/components/DSA/arrays/BubbleSortVisualization";
import InsertionSortVisualization from "@site/src/components/DSA/arrays/InsertionSortVisualization";
import SelectionSortVisualization from "@site/src/components/DSA/arrays/SelectionSortVisualization";
import File from "@site/src/components/File";
import GiscusComponent from "@site/src/components/GiscusComponent";
import Highlight from "@site/src/components/Highlight";
import Lesson from "@site/src/components/Lesson";
import SolutionAuthor from "@site/src/components/SolutionAuthor";
import Table from "@site/src/components/Table";
import TutorialAuthors from "@site/src/components/TutorialAuthors";
import MDXComponents from "@theme-original/MDXComponents";
import DocCardList from "@theme/DocCardList";
import TabItem from "@theme/TabItem";
import Tabs from "@theme/Tabs";
import { FaReact } from "react-icons/fa";

import YoutubeVideo from "../components/YoutubeVideo";

export default {
// Re-use the default mapping
Expand All @@ -45,5 +46,5 @@ export default {
File,
YoutubeVideo,
Lesson,
Head
};
Head,
};