style: added icon befor link

This commit is contained in:
eshanized
2025-01-13 13:47:53 +05:30
parent 9d53b218aa
commit b2759b3222

View File

@@ -1,9 +1,9 @@
import { motion } from 'framer-motion'; import { motion } from 'framer-motion';
import { MapPin, Users, Book } from 'lucide-react'; import { MapPin, Users, Book, Github } from 'lucide-react'; // Added Github icon
import type { GithubUser } from '../../lib/github'; import type { GithubUser } from '../../lib/github';
interface TeamMemberCardProps { interface TeamMemberCardProps {
user: GithubUser ; user: GithubUser;
role: string; role: string;
description: string; description: string;
} }
@@ -52,8 +52,9 @@ export function TeamMemberCard({ user, role, description }: TeamMemberCardProps)
rel="noopener noreferrer" rel="noopener noreferrer"
className="mt-4 inline-flex items-center text-sm text-cornflower-blue hover:underline transition-colors duration-200" className="mt-4 inline-flex items-center text-sm text-cornflower-blue hover:underline transition-colors duration-200"
> >
<Github className="h-4 w-4 mr-2" /> {/* Added spacing after the icon */}
View GitHub Profile View GitHub Profile
</a> </a>
</motion.div> </motion.div>
); );
} }