chore: add Google AdSense script to layout

- Include async script for Google AdSense in the application layout
- Ensure script loads with crossorigin attribute

This change will allow the application to serve ads from Google, potentially generating revenue. The implementation is non-intrusive and maintains existing functionality.
This commit is contained in:
songtianlun 2025-01-24 09:04:41 +08:00
parent 7612dd6bd9
commit fedb954d34

View File

@ -45,6 +45,9 @@
gtag('config', 'G-PX1C92V5L7');
</script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7296634171837358"
crossorigin="anonymous"></script>
</head>
<body class="min-h-screen bg-base-100 font-sans">