import { DiscordOutlined, GithubOutlined, InstagramOutlined } from '@ant-design/icons'; import { cn, For } from '@imphnen-frontend-service/utils'; import React, { FC, useRef } from 'react'; import { Link } from 'react-router-dom'; import { motion, useInView, Variants } from 'framer-motion'; import { SteamIcon } from '../../_components/icons'; const PAGES: { label: string; href: string }[] = [ { label: "Home", href: "/" }, { label: 'Mentoring', href: '/mentoring' }, { label: 'Resources', href: '/resources' }, { label: 'Articles', href: '/articles' }, ] const COMMUNITY: { label: string; href: string; icon: React.ReactNode }[] = [ { label: 'Discord', href: 'https://discord.gg/imphnen', icon: }, { label: 'Steam', href: 'https://steamcommunity.com/groups/IMPHNEN', icon: }, { label: 'Github', href: 'https://github.com/IMPHNEN', icon: }, { label: 'Instagram', href: 'https://www.instagram.com/imphnen.dev', icon: }, ] export const Footer: FC = () => { const ref = useRef(null) const isInView = useInView(ref, { once: true, amount: 0.2 }) const containerVariants: Variants = { hidden: { opacity: 0 }, visible: { opacity: 1 }, } const childVariants: Variants = { hidden: { opacity: 0, y: 20 }, visible: { opacity: 1, y: 0, transition: { duration: 0.5, ease: [0.25, 0.46, 0.45, 0.94], }, }, } const mascotVariants: Variants = { hidden: { opacity: 0, y: 20, rotate: -12 }, visible: { opacity: 1, y: 0, rotate: 0, transition: { duration: 0.5, ease: [0.25, 0.46, 0.45, 0.94], }, }, } const mascotTextVariants: Variants = { hidden: { opacity: 0, y: 20 }, visible: { opacity: 1, y: 0, transition: { duration: 0.4, delay: 0.4, ease: [0.25, 0.46, 0.45, 0.94], }, }, } return ( ) }