WizdomWeb/app/Controllers/ITConsultingController.php

46 lines
1.9 KiB
PHP

<?php
namespace WizdomNetworks\WizeWeb\Controllers;
use WizdomNetworks\WizeWeb\Core\View;
use WizdomNetworks\WizeWeb\Utils\Logger;
use WizdomNetworks\WizeWeb\Utils\ErrorHandler;
class ITConsultingController
{
public function index()
{
Logger::debug("ITConsultingController::index() - Executing IT consulting page rendering.");
try {
$data = [
'title' => 'IT Consulting - Wizdom Networks',
'heroConfig' => [
'title' => 'Expert IT Consulting Services',
'description' => 'Driving your business forward with strategic IT solutions.',
'image' => '/assets/images/it-consulting-hero.jpg',
'cta' => ['text' => 'Learn More', 'link' => '/contact'],
'style' => 'default',
'position' => 'top'
],
'content' => "<h1>IT Consulting Services</h1>
<p>Our expert consultants help you with IT strategy, infrastructure planning, and cloud integration.</p>",
'service_details' => [
'features' => [
'Infrastructure planning',
'Cloud integration',
'Technology strategy'
],
'pricing' => 'Custom pricing based on requirements'
]
];
Logger::debug("ITConsultingController::index() - Data prepared successfully.");
View::render('pages/services/it_consulting', $data);
Logger::info("ITConsultingController::index() - IT consulting page rendered successfully.");
} catch (\Throwable $e) {
Logger::error("ITConsultingController::index() - Error rendering IT consulting page: " . $e->getMessage());
ErrorHandler::exception($e);
}
}
}