Skip to content

Commit

Permalink
feat: add ads
Browse files Browse the repository at this point in the history
  • Loading branch information
cl8dep committed May 31, 2024
1 parent 3613868 commit 39b7b14
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
27 changes: 17 additions & 10 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Heading from '@theme/Heading';
import styles from './index.module.css';

function HomepageHeader() {
const {siteConfig} = useDocusaurusContext();
const { siteConfig } = useDocusaurusContext();
return (
<header className={clsx('hero hero--primary', styles.heroBanner)}>
<div className="container">
Expand All @@ -32,15 +32,22 @@ function HomepageHeader() {
}

export default function Home(): JSX.Element {
const {siteConfig} = useDocusaurusContext();
const { siteConfig } = useDocusaurusContext();
return (
<Layout
title={siteConfig.title}
description="Tolondrones para los preguntones">
<HomepageHeader />
<main>
<HomepageFeatures />
</main>
</Layout>
<>
<Layout
title={siteConfig.title}
description="Tolondrones para los preguntones">
<HomepageHeader />
<main>
<HomepageFeatures />
</main>
</Layout>

<script async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5927916376173700"
crossOrigin="anonymous">
</script>
</>
);
}
1 change: 0 additions & 1 deletion static/CNAME

This file was deleted.

0 comments on commit 39b7b14

Please sign in to comment.