Skip to content

Commit 0ce3e01

Browse files
committed
fix: use infeed gas
1 parent 02f1b37 commit 0ce3e01

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

frontend/src/pages/index.astro

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@ import BaseLayout from '../layouts/BaseLayout.astro';
66
// AdSense HTML for banner type - Mobile/Phone
77
const adsenseHtmlMobile = `<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1540226945870088"
88
crossorigin="anonymous"></script>
9-
<!-- GAS-4-phone -->
109
<ins class="adsbygoogle"
11-
style="display:block"
10+
style="display:block; text-align:center;"
11+
data-ad-layout="in-article"
12+
data-ad-format="fluid"
1213
data-ad-client="ca-pub-1540226945870088"
13-
data-ad-slot="7877546087"
14-
data-ad-format="auto"
15-
data-full-width-responsive="true"></ins>
14+
data-ad-slot="7013686829"></ins>
1615
<script>
1716
(adsbygoogle = window.adsbygoogle || []).push({});
1817
</script>`;
@@ -172,7 +171,7 @@ const adsenseHtmlLaptop = `
172171
</div>
173172
</a>
174173
<div
175-
class="px-2 py-2 flex flex-col justify-center items-center bg-white dark:bg-slate-900 border border-slate-200 dark:border-slate-900 rounded-xl"
174+
class="md:px-2 md:py-2 flex flex-col justify-center items-center bg-white dark:bg-slate-900 md:border border-0 md:border-slate-200 md:dark:border-slate-900 md:rounded-xl"
176175
>
177176
<!-- Mobile Ad - visible on small screens, hidden on md and up -->
178177
<div

0 commit comments

Comments
 (0)