---
import Headline from '~/components/ui/Headline.astro';
import WidgetWrapper from '~/components/ui/WidgetWrapper.astro';
import Button from '~/components/ui/Button.astro';
import { Icon } from 'astro-icon/components';
import type { Testimonials as Props } from '~/types';
const {
title = '',
subtitle = '',
tagline = '',
testimonials = [],
callToAction,
id,
isDark = false,
classes = {},
bg = await Astro.slots.render('bg'),
} = Astro.props;
// Function to get the correct skill icon based on title
const getSkillIcon = (name: string): string => {
const nameLower = name.toLowerCase();
if (nameLower.includes('entra') || nameLower.includes('identity')) return 'tabler:shield-lock';
if (nameLower.includes('power automate') || nameLower.includes('automated processes')) return 'tabler:robot';
if (nameLower.includes('copilot') || nameLower.includes('agents')) return 'tabler:brain';
return 'tabler:certificate';
};
// Function to get the correct gradient colors based on skill
const getSkillGradient = (name: string): string => {
const nameLower = name.toLowerCase();
if (nameLower.includes('entra') || nameLower.includes('identity')) return 'from-blue-600 to-indigo-700';
if (nameLower.includes('power automate') || nameLower.includes('automated processes')) return 'from-purple-600 to-pink-600';
if (nameLower.includes('copilot') || nameLower.includes('agents')) return 'from-green-600 to-teal-600';
return 'from-gray-500 to-gray-600';
};
---
{issueDate}
{name}