diff --git a/src/app/page.tsx b/src/app/page.tsx index cd0c949..9779a22 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -11,8 +11,9 @@ import ContactText from "@/components/sections/contact/ContactText"; import FooterCard from "@/components/sections/footer/FooterCard"; import Link from "next/link"; import { Sparkles, TrendingUp, Instagram, Twitter, Youtube } from "lucide-react"; +import type { LucideIcon } from "lucide-react"; -const TikTok = (props: React.SVGProps) => ( +const TikTok: LucideIcon = (props: React.SVGProps) => ( ) => ( > -); +) as LucideIcon; export default function HomePage() { const navItems = [ @@ -34,7 +35,7 @@ export default function HomePage() { { name: "Contact", id: "contact" }, ]; - const socialLinks = [ + const socialLinks: Array<{ icon: LucideIcon; href: string; ariaLabel: string }> = [ { icon: Instagram, href: "https://instagram.com/umbra", ariaLabel: "Instagram" }, { icon: Twitter, href: "https://twitter.com/umbra", ariaLabel: "Twitter" }, { icon: TikTok, href: "https://tiktok.com/@umbra", ariaLabel: "TikTok" },