diff --git a/frontend/app/page.tsx b/frontend/app/page.tsx index d64f501..43a53c3 100644 --- a/frontend/app/page.tsx +++ b/frontend/app/page.tsx @@ -17,23 +17,24 @@ declare global { /* ---------------- icons ---------------- */ type IconProps = { size?: number; stroke?: number }; -const makeIcon = - (d: string) => - ({ size = 18, stroke = 1.6 }: IconProps) => - ( - - - - ); +const makeIcon = (d: string) => { + const Icon = ({ size = 18, stroke = 1.6 }: IconProps) => ( + + + + ); + Icon.displayName = "Icon"; + return Icon; +}; const IconArrow = makeIcon("M5 12h14M13 5l7 7-7 7"); const IconGit = makeIcon( @@ -832,6 +833,12 @@ const TelegramIcon = (p: SVGProps) => ( ); +const XIcon = (p: SVGProps) => ( + + + +); + /* ---------------- Final CTA ---------------- */ function FinalCTA() { return ( @@ -860,11 +867,7 @@ function FinalCTA() { /* ---------------- Footer ---------------- */ function Footer() { - const XIcon = (p: SVGProps) => ( - - - - ); + const currentYear = new Date().getFullYear(); return ( );