import { useLocation } from "react-router-dom"; import { isActive } from "@/utils"; import { config } from "@/config"; import { useSettingsPageStatesStore } from "@/services/store"; import { Github, Globe, Heart } from "lucide-react"; export default function Footer() { const location = useLocation(); const isSettingsPage = isActive("/settings", location.pathname, true); const appVersion = useSettingsPageStatesStore(state => state.appVersion); return ( <> {isSettingsPage ? (
{config.appName} v{appVersion} - © {new Date().getFullYear()}  |  MIT License Made with by {config.appAuthor}
) : ( <> )} ) }