+
+ @include('partials.block-acf-intro', ['props' => get_field('intro'), 'settings' => $settings])
+
+
+ @yield('block-content')
+
+
+ @include('partials.block-acf-footer', ['props' => get_field('footer'), 'settings' => $settings])
+
+
diff --git a/web/app/themes/badegg/resources/views/layouts/block.blade.php b/web/app/themes/badegg/resources/views/layouts/block.blade.php
index 4cb5a0d..3017a4a 100644
--- a/web/app/themes/badegg/resources/views/layouts/block.blade.php
+++ b/web/app/themes/badegg/resources/views/layouts/block.blade.php
@@ -1,50 +1,11 @@
-@if(@$data['section_anchor_id'])
-
@endif
-
-
-
- @if(@$data['heading'] || @$data['blurb'])
-
-
-
-
{{ @$data['heading'] }}
-
{{ @$data['blurb'] }}
-
-
- @if(@$data['links'])
-
- @foreach($data['links'] as $link)
- @include('components.button', $link)
- @endforeach
-
- @endif
-
-
- @endif
-
-
- @yield('block-content')
-
-
- @if(@$data['links'])
-
- @endif
+
+ @yield('block-content')
+
+@if(!$is_preview)
-
-
+@endif
diff --git a/web/app/themes/badegg/resources/views/partials/block-acf-footer.blade.php b/web/app/themes/badegg/resources/views/partials/block-acf-footer.blade.php
new file mode 100644
index 0000000..f75687d
--- /dev/null
+++ b/web/app/themes/badegg/resources/views/partials/block-acf-footer.blade.php
@@ -0,0 +1,30 @@
+@if($props['blurb'])
+ @php
+ $containerProps = [
+ 'width' => $props['container_width'],
+ 'location' => 'block-footer',
+ 'section' => true,
+ 'align' => $props['align'],
+ 'wysiwyg' => true,
+ ];
+ @endphp
+
+
+ @if($props['blurb'])
{{ $props['blurb'] }}
@endif
+
+ @if(@$props['links'])
+
+ @endif
+
+
+@endif
+
+
diff --git a/web/app/themes/badegg/resources/views/partials/block-acf-intro.blade.php b/web/app/themes/badegg/resources/views/partials/block-acf-intro.blade.php
new file mode 100644
index 0000000..3b01146
--- /dev/null
+++ b/web/app/themes/badegg/resources/views/partials/block-acf-intro.blade.php
@@ -0,0 +1,17 @@
+@if(@$props['heading'] || @$props['blurb'])
+ @php
+ $containerProps = [
+ 'width' => $props['container_width'],
+ 'location' => 'block-intro',
+ 'section' => true,
+ 'align' => $props['align'],
+ 'wysiwyg' => true,
+ ];
+ @endphp
+
+
+ @if($props['heading'])
{{ $props['heading'] }} @endif
+ @if($props['blurb'])
{{ $props['blurb'] }}
@endif
+
+
+@endif