import Link from "next/link"; import { Mail, Phone } from "lucide-react"; import { FaLinkedin } from "react-icons/fa6"; import { SiGitea, SiViber, SiWhatsapp } from "react-icons/si"; import type { Locale, Dictionary } from "@/lib/dictionaries"; import { LogoMark } from "@/components/ui/Logo"; import FooterPhoneLink from "@/components/layout/FooterPhoneLink"; interface FooterProps { locale: Locale; dict: Dictionary; } const PHONE_NUMBER = "+387 66 644 094"; export default function Footer({ locale, dict }: FooterProps) { const footerLinks = { [dict.footer.product]: [ { label: dict.nav.features, href: `/${locale}/#features` }, { label: dict.nav.services, href: `/${locale}/services` }, { label: dict.nav.contact, href: `/${locale}/contact` }, ], [dict.footer.company]: [ { label: dict.nav.about, href: `/${locale}/about` }, ], [dict.footer.connect]: [ { label: "Source Code", href: "https://git.ksan.dev/ksan", external: true }, { label: "Email", href: "mailto:contact@ksan.dev", external: true }, // Opens the call / WhatsApp / Viber picker instead of jumping straight to tel:. { label: PHONE_NUMBER, href: "tel:+38766644094", phone: true }, { label: "LinkedIn", href: "https://www.linkedin.com/in/%C4%91or%C4%91e-k%C5%A1an-886871266", external: true }, ], }; const socials = [ { icon: SiGitea, href: "https://git.ksan.dev/ksan", label: "Gitea" }, { icon: Mail, href: "mailto:contact@ksan.dev", label: "Email" }, { icon: Phone, href: "tel:+38766644094", label: "Phone" }, // wa.me hands off to the app on mobile and WhatsApp Web on desktop; // viber:// only resolves if the Viber app is installed. { icon: SiWhatsapp, href: "https://wa.me/38766644094", label: "WhatsApp" }, { icon: SiViber, href: "viber://chat?number=%2B38766644094", label: "Viber" }, { icon: FaLinkedin, href: "https://www.linkedin.com/in/%C4%91or%C4%91e-k%C5%A1an-886871266/", label: "LinkedIn" }, ]; return ( ); }