2025-12-11 10:40:55 +01:00
|
|
|
|
/*
|
2026-01-12 15:00:36 +01:00
|
|
|
|
* Copyright (c) 2026 by Christian Kellner.
|
2025-12-11 10:40:55 +01:00
|
|
|
|
* Licensed under Apache-2.0 with Commons Clause and Attribution/Naming Clause
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
2025-09-29 20:36:56 +02:00
|
|
|
|
import './FredyFooter.less';
|
|
|
|
|
|
import { useSelector } from '../../services/state/store.js';
|
2026-01-28 14:27:03 +01:00
|
|
|
|
import { Typography, Layout, Space, Divider } from '@douyinfe/semi-ui-19';
|
2025-09-29 20:36:56 +02:00
|
|
|
|
|
|
|
|
|
|
export default function FredyFooter() {
|
|
|
|
|
|
const { Text } = Typography;
|
2026-01-28 14:27:03 +01:00
|
|
|
|
const { Footer } = Layout;
|
2025-09-29 20:36:56 +02:00
|
|
|
|
const version = useSelector((state) => state.versionUpdate.versionUpdate);
|
2026-01-28 14:27:03 +01:00
|
|
|
|
|
2025-09-29 20:36:56 +02:00
|
|
|
|
return (
|
2026-01-28 14:27:03 +01:00
|
|
|
|
<Footer className="fredyFooter">
|
|
|
|
|
|
<Space split={<Divider layout="vertical" />}>
|
|
|
|
|
|
<Text type="tertiary" size="small">
|
|
|
|
|
|
Fredy V{version?.localFredyVersion || 'N/A'}
|
|
|
|
|
|
</Text>
|
|
|
|
|
|
<Text size="small" link={{ href: 'https://github.com/orangecoding', target: '_blank' }}>
|
|
|
|
|
|
Made with ❤️
|
|
|
|
|
|
</Text>
|
|
|
|
|
|
</Space>
|
|
|
|
|
|
</Footer>
|
2025-09-29 20:36:56 +02:00
|
|
|
|
);
|
|
|
|
|
|
}
|