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 { useStoreActions, useStoreState } from '@/store' import { Link, useNavigate } from 'react-router-dom' import { ROUTES_ENUM } from '@/routes/route.constant' import UiDialog from '@/views/shared/UiDialog' export type FooterPageContainerType = 'gutterless' | 'contained' type FooterProps = { pageContainerType: FooterPageContainerType } const FooterContent = () => { const navigate = useNavigate() const { currentUiVersion } = useStoreState((a) => a.locale) const { setUiVersion } = useStoreActions((a) => a.locale) const apiConfig = useStoreState((state) => state.abpConfig.config?.extraProperties) const uiMode = import.meta.env.MODE const reactAppVersion = import.meta.env.VITE_REACT_APP_VERSION return ( <>
Copyright © {new Date().getFullYear()} {APP_NAME}
UI: {uiMode}:{currentUiVersion} | {apiConfig && ( API: {apiConfig['environment'].toString()}:{apiConfig['version'].toString()} )}
{reactAppVersion != currentUiVersion && ( { setUiVersion(reactAppVersion ) navigate(ROUTES_ENUM.protected.admin.changeLog) }} title="🎉 Yeni Güncelleme" > Sözsoft Kurs Platform Sistemi güncellendi.

Detayları, "Güncelleme Günlüğü" ekranında görebilirsiniz.

)} ) } export default function Footer({ pageContainerType = 'contained' }: FooterProps) { return ( ) }