diff --git a/index.php b/index.php index 2738f4a..52854a0 100644 --- a/index.php +++ b/index.php @@ -1,20 +1 @@ - -> - - - - - - - > - - - -
- render(); ?> -
- - - - - +render(); diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 3f7d302..57345e8 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -1,17 +1,36 @@ - - {{ __('Skip to content') }} - + + + + + + @php(do_action('get_header')) + @php(wp_head()) + -@include('sections.header') + + @php(wp_body_open()) -
- @yield('content') -
+
+ + {{ __('Skip to content') }} + - @hasSection('sidebar') - - @endif + @include('sections.header') -@include('sections.footer') +
+ @yield('content') +
+ + @hasSection('sidebar') + + @endif + + @include('sections.footer') +
+ + @php(do_action('get_footer')) + @php(wp_footer()) + + diff --git a/tailwind.config.js b/tailwind.config.js index 5731fce..2f66ee2 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,6 +1,6 @@ /** @type {import('tailwindcss').Config} config */ const config = { - content: ['./index.php', './app/**/*.php', './resources/**/*.{php,vue,js}'], + content: ['./app/**/*.php', './resources/**/*.{php,vue,js}'], theme: { extend: { colors: {}, // Extend Tailwind's default colors