+ @if (is_admin())
+
+ Expertise Detail Advantages Block
+
+ @endif
+
+
+ {{-- Header Section: Two-Column Layout --}}
+
+ {{-- Left Column: CTA Pill Tag --}}
+
+
+ {{-- Right Column: Title and Description --}}
+
+
+ {{ $main_title }}
+
+
+ {{ $description }}
+
+
+
+
+ {{-- Advantages List Section --}}
+
+ @if (!empty($advantages))
+ @foreach ($advantages as $index => $advantage)
+
+ {{-- Title Row: Checkbox + Title --}}
+
+
+
+ {{ $advantage['title'] }}
+
+
+
+ {{-- Advantage Description --}}
+
+
+ {{ $advantage['description'] }}
+
+
+
+ @endforeach
+ @endif
+
+
+
+```
+
+## Phase 4: Migration Workflow
+
+### 4.1 Block-by-Block Migration Process
+
+For each block from T3CH:
+
+1. **Extract Block Data Structure**
+ - Copy ACF field structure from existing block
+ - Note any custom PHP logic or data processing
+
+2. **Analyze SCSS Styling**
+ - Identify colors, spacing, typography used
+ - Map to equivalent Tailwind classes
+ - Note any custom styles that need CSS
+
+3. **Generate ACF Composer Block**
+ ```bash
+ wp acorn make:block [BlockName]
+ wp acorn make:field [BlockName]
+ ```
+
+4. **Convert Template**
+ - Replace PHP template with Blade template
+ - Convert SCSS classes to Tailwind utilities
+ - Maintain responsive behavior with Tailwind breakpoints
+
+5. **Add Custom CSS (if needed)**
+ - For complex animations or styles not covered by Tailwind
+ - Add to `resources/css/app.css` under block-specific comments
+
+### 4.2 Priority Block List
+
+Based on the AllinQ Digital theme analysis, migrate in this order:
+
+**Phase 1 - Core Expertise Blocks:**
+1. ✅ `expertise-detail-advantages-block` (example above)
+2. `expertise-detail-sticky-menu-block`
+3. `expertise-detail-experience-block`
+4. `expertise-detail-application-block`
+5. `expertise-detail-faq-block`
+
+**Phase 2 - Inner Page Blocks:**
+1. `inner-page-banner`
+2. `inner-page-text`
+3. `inner-page-image`
+4. `inner-page-video`
+5. `inner-page-accordian`
+
+**Phase 3 - Home Page Blocks:**
+1. `home-page-banner`
+2. `home-services-block`
+3. `home-expertise-block`
+4. `home-cta-banner-block`
+
+### 4.3 Common Tailwind Conversions
+
+**Container Patterns:**
+```scss
+// T3CH SCSS:
+.container {
+ max-width: 1232px;
+ margin: 0 auto;
+ padding: 0;
+}
+
+// Tailwind equivalent:
+class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"
+```
+
+**Button Patterns:**
+```scss
+// T3CH SCSS:
+.cta-button-blue-pill {
+ background: $brand-blue-600;
+ color: white;
+ padding: 12px 24px;
+ border-radius: 20px;
+ font-size: 14px;
+ font-weight: 500;
+}
+
+// Tailwind equivalent:
+class="bg-t3ch-blue text-white px-6 py-3 rounded-full text-sm font-medium"
+```
+
+**Responsive Grid Patterns:**
+```scss
+// T3CH SCSS:
+.advantages-header {
+ display: flex;
+ gap: 48px;
+ align-items: flex-start;
+
+ @media (max-width: 991px) {
+ flex-direction: column;
+ gap: 32px;
+ }
+}
+
+// Tailwind equivalent:
+class="flex flex-col lg:flex-row gap-8 lg:gap-12 items-start"
+```
+
+## Phase 5: Custom CSS Integration
+
+### 5.1 Block-Specific CSS
+
+For styles that can't be achieved with Tailwind utilities, add to `resources/css/app.css`:
+
+```css
+/* =============================================================================
+ T3CH MIGRATED BLOCKS - CUSTOM STYLES
+ ============================================================================= */
+
+/* Expertise Detail Advantages Block - Custom animations */
+.expertise-detail-advantages-block .advantage-item {
+ transition: all 0.3s ease;
+}
+
+.expertise-detail-advantages-block .advantage-item:hover {
+ transform: translateY(-2px);
+}
+
+/* Sticky Menu Block - Fixed positioning */
+.expertise-detail-sticky-menu-block.is-sticky {
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ z-index: 999;
+ animation: slideDown 0.3s ease;
+}
+
+@keyframes slideDown {
+ from {
+ transform: translateY(-100%);
+ }
+ to {
+ transform: translateY(0);
+ }
+}
+```
+
+### 5.2 JavaScript Integration
+
+For blocks with interactive functionality:
+
+**File:** `resources/js/app.js`
+
+```javascript
+// T3CH Block JavaScript
+document.addEventListener('DOMContentLoaded', function() {
+ // Sticky Menu Block
+ const stickyMenu = document.querySelector('.expertise-detail-sticky-menu-block');
+ if (stickyMenu) {
+ window.addEventListener('scroll', function() {
+ if (window.scrollY > 100) {
+ stickyMenu.classList.add('is-sticky');
+ } else {
+ stickyMenu.classList.remove('is-sticky');
+ }
+ });
+ }
+
+ // FAQ Accordion functionality
+ const faqItems = document.querySelectorAll('.faq-item');
+ faqItems.forEach(item => {
+ const question = item.querySelector('.faq-question');
+ const answer = item.querySelector('.faq-answer');
+
+ question.addEventListener('click', () => {
+ item.classList.toggle('is-open');
+ });
+ });
+});
+```
+
+## Phase 6: Testing & Validation
+
+### 6.1 Block Testing Checklist
+
+For each migrated block:
+
+- [ ] **Visual Comparison**: Block matches T3CH design
+- [ ] **Responsive Behavior**: Works on mobile, tablet, desktop
+- [ ] **ACF Fields**: All fields save and load correctly
+- [ ] **Block Editor**: Block renders correctly in WordPress editor
+- [ ] **Content Migration**: Existing content displays properly
+- [ ] **Performance**: No significant load time increase
+
+### 6.2 Development Workflow
+
+```bash
+# 1. Generate new block
+wp acorn make:block ExampleBlock
+wp acorn make:field ExampleBlock
+
+# 2. Develop block template
+# Edit: app/Blocks/ExampleBlock.php
+# Edit: app/Fields/ExampleBlock.php
+# Edit: resources/views/blocks/example-block.blade.php
+
+# 3. Build assets
+npm run build
+
+# 4. Test in WordPress admin
+# Navigate to: /wp-admin/post-new.php?post_type=page
+# Add block and test functionality
+
+# 5. Clear caches if needed
+wp acorn optimize:clear
+```
+
+### 6.3 Performance Optimization
+
+- **Tailwind Purging**: Ensure unused CSS is removed in production
+- **Image Optimization**: Optimize any block images/assets
+- **Lazy Loading**: Implement for blocks with images/videos
+- **Critical CSS**: Include block styles in critical CSS path
+
+## Phase 7: Content Migration Strategy
+
+### 7.1 Automated Content Migration
+
+For large amounts of existing content using T3CH blocks:
+
+1. **Export existing block data** from T3CH site
+2. **Map field names** between old and new ACF structures
+3. **Run migration script** to convert block data
+4. **Validate migrated content** manually
+
+### 7.2 Migration Script Template
+
+```php
+// wp-cli migration script template
+ 'page',
+ 'numberposts' => -1,
+ 'meta_query' => [
+ [
+ 'key' => '_t3ch_advantages_data',
+ 'compare' => 'EXISTS'
+ ]
+ ]
+ ]);
+
+ foreach ($pages as $page) {
+ $old_data = get_field('_t3ch_advantages_data', $page->ID);
+
+ // Convert to new ACF Composer structure
+ $new_data = [
+ 'advantages_pill_text' => $old_data['pill_text'],
+ 'advantages_main_title' => $old_data['title'],
+ 'advantages_description' => $old_data['description'],
+ 'advantages_list' => $old_data['items']
+ ];
+
+ update_field('expertise_detail_advantages', $new_data, $page->ID);
+ }
+ }
+}
+```
+
+## Success Criteria
+
+### Migration Complete When:
+
+- [ ] All T3CH blocks converted to ACF Composer blocks
+- [ ] Visual parity maintained with original designs
+- [ ] All blocks work in WordPress block editor
+- [ ] Responsive design preserved across devices
+- [ ] No performance degradation
+- [ ] Content successfully migrated
+- [ ] Documentation updated for new blocks
+
+### Benefits Achieved:
+
+- ✅ **Simplified Codebase**: No SCSS compilation or variable management
+- ✅ **Improved Performance**: Tailwind's purging removes unused CSS
+- ✅ **Better Maintainability**: Standardized utility classes
+- ✅ **Design Consistency**: Unified design system with Tailwind
+- ✅ **Modern Development**: Blade templates with ACF Composer
+- ✅ **Future-Proof**: Easy to extend and modify
+
+## Timeline Estimate
+
+- **Phase 1 (Setup)**: 1 day
+- **Phase 2 (Color/Spacing Mapping)**: 1 day
+- **Phase 3 (Block Migration - 20 blocks)**: 10-15 days
+- **Phase 4 (Testing & Validation)**: 3-5 days
+- **Phase 5 (Content Migration)**: 2-3 days
+
+**Total Estimated Time**: 17-25 days
+
+This approach maintains the visual design and functionality of T3CH blocks while modernizing the codebase with Tailwind CSS and ACF Composer patterns.
\ No newline at end of file
diff --git a/resources/css/app.css b/resources/css/app.css
index 211337c..3d9ae64 100644
--- a/resources/css/app.css
+++ b/resources/css/app.css
@@ -24,6 +24,12 @@
--color-gray-700: #374151;
--color-gray-800: #1f2937;
--color-gray-900: #111827;
+
+ /* T3CH Theme Brand Colors */
+ --color-t3ch-blue: #0295DA; /* Primary brand blue */
+ --color-t3ch-darkblue: #00283C; /* Dark background blue */
+ --color-t3ch-orange: #d97d00; /* CTA orange */
+ --color-t3ch-lightblue: #f0f8ff; /* Light blue backgrounds */
/* Tailwind font family mappings */
/* --font-sans: "Lato", system-ui, sans-serif;
diff --git a/resources/css/editor.css b/resources/css/editor.css
index d76c1fa..db2a918 100644
--- a/resources/css/editor.css
+++ b/resources/css/editor.css
@@ -7,8 +7,44 @@
--font-size-hero: 55px; /* Hero post titles (desktop) - between text-5xl (48px) and text-6xl (60px) */
--font-size-hero-mobile: 28px; /* Hero post titles (mobile) - between text-xl (20px) and text-2xl (24px) */
+ /* T3CH Theme Brand Colors - Matching app.css */
+ --color-t3ch-blue: #0295DA; /* Primary brand blue */
+ --color-t3ch-darkblue: #00283C; /* Dark background blue */
+ --color-t3ch-orange: #d97d00; /* CTA orange */
+ --color-t3ch-lightblue: #f0f8ff; /* Light blue backgrounds */
+
/* Note: Consolidated font sizes to use Tailwind presets:
- --font-size-small (14px) → use --wp--preset--font-size--sm
- --font-size-title (30px) → use --wp--preset--font-size--3xl
- --font-size-title-mobile (20px) → use --wp--preset--font-size--xl */
}
+
+/* ACF Block Styles for Editor */
+.wp-block[data-type="acf/expertise-detail-advantages"] {
+ /* Better editor styling for readability */
+ background-color: #f8f9fa;
+ border-radius: 8px;
+ border: 1px solid #e9ecef;
+}
+
+/* Expertise Detail Advantages Block - Editor Styles */
+.wp-block[data-type="acf/expertise-detail-advantages"] #voordelen {
+ background-color: var(--color-t3ch-darkblue);
+ color: white;
+ border-radius: 8px;
+ overflow: hidden;
+}
+
+/* Improve text readability in editor */
+.wp-block[data-type="acf/expertise-detail-advantages"] .bg-t3ch-darkblue {
+ background-color: var(--color-t3ch-darkblue);
+}
+
+.wp-block[data-type="acf/expertise-detail-advantages"] .bg-t3ch-blue {
+ background-color: var(--color-t3ch-blue);
+}
+
+/* Ensure text is readable in editor */
+.wp-block[data-type="acf/expertise-detail-advantages"] .text-white {
+ color: white !important;
+}
diff --git a/resources/images/icons/arrow-right.svg b/resources/images/icons/arrow-right.svg
new file mode 100644
index 0000000..b1e1dad
--- /dev/null
+++ b/resources/images/icons/arrow-right.svg
@@ -0,0 +1,3 @@
+
+ @if (is_admin())
+
+ Expertise Detail Advantages Block
+
+ @endif
+
+
+ {{-- Header Section: Two-Column Layout --}}
+
+ {{-- Left Column: CTA Pill Tag --}}
+
+
+ {{-- Right Column: Title and Description --}}
+
+
+ {{ $main_title }}
+
+
+ {{ $description }}
+
+
+
+
+ {{-- Advantages List Section --}}
+
+ @if (!empty($advantages))
+ @foreach ($advantages as $index => $advantage)
+
+ {{-- Title Row: Icon + Title --}}
+
+
+ @if(($advantage['icon_type'] ?? 'checkmark') === 'arrow')
+
 }})
+ @elseif(($advantage['icon_type'] ?? 'checkmark') === 'star')
+
 }})
+ @else
+
 }})
+ @endif
+
+
+ {{ $advantage['title'] }}
+
+
+
+ {{-- Advantage Description --}}
+
+
+ {{ $advantage['description'] }}
+
+
+
+ @endforeach
+ @endif
+
+
+