Skip to content

Commit 13139d3

Browse files
Refactor app.blade.php to use the correct configuration file and class names for Google Tag Manager, navigation, footer, forms modal, and Livewire. (#8)
1 parent e0fef84 commit 13139d3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

resources/views/components/layouts/app.blade.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -30,32 +30,32 @@
3030
@include('googletagmanager::head')
3131
@endif
3232

33-
@if (class_exists(\Spatie\GoogleTagManager\GoogleTagManager::class) && config('layouts-wrapper.gtm_enabled'))
33+
@if (class_exists(\Spatie\GoogleTagManager\GoogleTagManager::class) && config('app-wrapper.gtm_enabled'))
3434
@include('googletagmanager::head')
3535
@endif
3636
</head>
3737
<body>
38-
@if (class_exists(\Fuelviews\Navigation\Navigation::class) && config('layouts-wrapper.navigation_enabled'))
38+
@if (class_exists(\Fuelviews\Navigation\Navigation::class) && config('app-wrapper.navigation_enabled'))
3939
@component('navigation::components.navigation')
4040
@endcomponent
4141
@endif
4242

4343
{{ $slot }}
4444

45-
@if (class_exists(\Fuelviews\Navigation\View\Components\Footer\Footer::class) && config('layouts-wrapper.footer_enabled'))
45+
@if (class_exists(\Fuelviews\Navigation\View\Components\Footer\Footer::class) && config('app-wrapper.footer_enabled'))
4646
@component('navigation::components.footer.footer')
4747
@endcomponent
4848
@endif
4949

50-
@if (class_exists(\Fuelviews\Forms\Forms::class) && config('layouts-wrapper.forms_modal_enabled'))
50+
@if (class_exists(\Fuelviews\Forms\Forms::class) && config('app-wrapper.forms_modal_enabled'))
5151
@livewire('forms-modal')
5252
@endif
5353

54-
@if (class_exists(\Spatie\GoogleTagManager\GoogleTagManager::class) && config('layouts-wrapper.gtm_enabled'))
54+
@if (class_exists(\Spatie\GoogleTagManager\GoogleTagManager::class) && config('app-wrapper.gtm_enabled'))
5555
@include('googletagmanager::body')
5656
@endif
5757

58-
@if (class_exists(\Livewire\Livewire::class) && config('layouts-wrapper.livewire_enabled'))
58+
@if (class_exists(\Livewire\Livewire::class) && config('app-wrapper.livewire_enabled'))
5959
@livewireScripts
6060
@endif
6161
</body>

0 commit comments

Comments
 (0)