import classNames from "classnames" import Container from "@/components/shared/Container" import { APP_NAME } from "@/constants/app.constant" import { PAGE_CONTAINER_GUTTER_X } from "@/constants/theme.constant" import { useStoreState } from "@/store" import { Link, useNavigate } from "react-router-dom" import { ROUTES_ENUM } from "@/routes/route.constant" export type FooterPageContainerType = "gutterless" | "contained" type FooterProps = { pageContainerType: FooterPageContainerType } const FooterContent = () => { const { currentUiVersion } = useStoreState((a) => a.locale) const apiConfig = useStoreState((state) => state.abpConfig.config?.extraProperties) const uiMode = import.meta.env.MODE return ( <>
Copyright © {new Date().getFullYear()} {APP_NAME}
UI: {uiMode}:{currentUiVersion} | {apiConfig && ( API: {apiConfig["environment"].toString()}:{apiConfig["version"].toString()} )}
) } export default function Footer({ pageContainerType = "contained" }: FooterProps) { return ( ) }