Skip to content

Commit

Permalink
Merge pull request #269 from Ajay-Dhangar/restyled/dev-1.1
Browse files Browse the repository at this point in the history
Restyle now Added ads on tutorial page
  • Loading branch information
ajay-dhangar authored May 25, 2024
2 parents 5f89587 + 35a83a3 commit fbb9e22
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 31 deletions.
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,
};

0 comments on commit fbb9e22

Please sign in to comment.