--- import type { SocialLinks } from "@/types"; import { FaDiscord, FaEnvelope, FaFacebook, FaGithub, FaInstagram, FaLinkedin, FaPinterest, FaTiktok, FaGlobe, FaYoutube, } from "react-icons/fa"; interface Props { links?: SocialLinks; } const { links } = Astro.props; const liClass = "inline-block px-1 intersect:animate-fade opacity-0"; const iconClass = "glass-t rounded text-txt-p dark:text-darkmode-txt-p flex h-9 w-9 items-center justify-center text-center"; --- { links && (