mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 10:10:48 +01:00
feat: add Google AdSense integration
- Included Google AdSense script for ads. - Added common ad component to the layout.
This commit is contained in:
@@ -52,6 +52,10 @@
|
|||||||
|
|
||||||
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
||||||
|
|
||||||
|
<!-- Google AdSense -->
|
||||||
|
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client={{ config('ads.client_id') }}"
|
||||||
|
crossorigin="anonymous"></script>
|
||||||
|
|
||||||
@stack('top_scripts')
|
@stack('top_scripts')
|
||||||
<x-analytics.plausible />
|
<x-analytics.plausible />
|
||||||
</head>
|
</head>
|
||||||
@@ -59,6 +63,7 @@
|
|||||||
<body class="antialiased bg-stone-900 dark scroll-smooth">
|
<body class="antialiased bg-stone-900 dark scroll-smooth">
|
||||||
<x-navbar />
|
<x-navbar />
|
||||||
@yield('content')
|
@yield('content')
|
||||||
|
<x-ads.common />
|
||||||
<x-footer />
|
<x-footer />
|
||||||
@stack('bottom_scripts')
|
@stack('bottom_scripts')
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user