Skip to content

Commit

Permalink
move google adsense block after the main content
Browse files Browse the repository at this point in the history
  • Loading branch information
Pauloparakleto committed Feb 16, 2025
1 parent 1b04c49 commit 3f6d34d
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions app/views/inss_calculators/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
<%= javascript_include_tag 'TheMask', 'data-turbo-track': 'reload', defer: true %>
<%= javascript_include_tag 'inssCalculatorView', 'data-turbo-track': 'reload', defer: true %>
<div>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=<%= ENV['ADSENSE_CLIENT_ID'] %>"
crossorigin="anonymous"></script>
<!-- Placa do bloco principal -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="<%= ENV['ADSENSE_CLIENT_ID'] %>"
data-ad-slot="<%= ENV['ADSENSE_AD_SLOT'] %>"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>


<div class="main">
<!-- Masthead-->
Expand Down Expand Up @@ -50,4 +37,6 @@
<%= render "icons" %>
</div>

<%= render "layouts/ads" %>

<%= render "blog" %>

0 comments on commit 3f6d34d

Please sign in to comment.