Skip to content

Commit

Permalink
removed amp ads and fixed footer
Browse files Browse the repository at this point in the history
  • Loading branch information
manishtiwari25 committed Jan 13, 2024
1 parent f9a0aec commit e103ac0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
15 changes: 10 additions & 5 deletions src/Layout/MainLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,14 @@
</RadzenPanelMenu>
</RadzenSidebar>
<RadzenSidebar Style="width: 300px; grid-area: rz-right-sidebar">
<amp-ad layout="fixed" width="300" height="800" type="adsense" data-ad-client="ca-pub-2889277787752693"
data-ad-slot="6953143319">
</amp-ad>
<script async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2889277787752693"
crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:inline-block;width:300px;height:800px"
data-ad-client="ca-pub-2889277787752693" data-ad-slot="6953143319"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</RadzenSidebar>
<RadzenBody>
<div class="rz-p-4">
Expand All @@ -72,12 +77,12 @@
<RadzenFooter>
<ChildContent>
<RadzenRow AlignItems="AlignItems.Center" JustifyContent="JustifyContent.Start" Gap="0px">
<RadzenColumn Size="8">
<RadzenColumn Size="7">
Copyright (c) @(DateTime.UtcNow.Year) <strong>bitesinbyte.com</strong> | <strong> <a
href="https://github.com/bitesinbyte/edmx-tools/blob/main/LICENSE" target="_blank">MIT
License</a></strong>
</RadzenColumn>
<RadzenColumn Size="4">
<RadzenColumn Size="5">
Special thanks to <strong><a href="https://github.com/shashisadasivan"
target="_blank">shashisadasivan</a></strong> for <strong>EDMXTrimmer</strong> code
and insperation ❤️
Expand Down
3 changes: 0 additions & 3 deletions src/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@
<!-- Ad Recovery -->
<script async src="https://fundingchoicesmessages.google.com/i/pub-2889277787752693?ers=1" nonce="RuwF2htf2YqQ0jBV_fxDKw"></script><script nonce="RuwF2htf2YqQ0jBV_fxDKw">(function() {function signalGooglefcPresent() {if (!window.frames['googlefcPresent']) {if (document.body) {const iframe = document.createElement('iframe'); iframe.style = 'width: 0; height: 0; border: none; z-index: -1000; left: -1000px; top: -1000px;'; iframe.style.display = 'none'; iframe.name = 'googlefcPresent'; document.body.appendChild(iframe);} else {setTimeout(signalGooglefcPresent, 0);}}}signalGooglefcPresent();})();</script>

<!-- Amp Ad -->
<script async custom-element="amp-ad" src="https://cdn.ampproject.org/v0/amp-ad-0.1.js"></script>

<script>navigator.serviceWorker.register('service-worker.js');</script>
</body>

Expand Down

0 comments on commit e103ac0

Please sign in to comment.