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-04-22 21:11:18 +02:00
|
|
|
|
import { Layout } from '@douyinfe/semi-ui-19';
|
2025-09-29 20:36:56 +02:00
|
|
|
|
|
|
|
|
|
|
export default function FredyFooter() {
|
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">
|
2026-04-22 21:11:18 +02:00
|
|
|
|
<span className="fredyFooter__version">Fredy v{version?.localFredyVersion || 'N/A'}</span>
|
|
|
|
|
|
<span className="fredyFooter__credit">
|
|
|
|
|
|
Made with ❤️ by{' '}
|
|
|
|
|
|
<a href="https://github.com/orangecoding" target="_blank" rel="noreferrer">
|
|
|
|
|
|
Christian Kellner
|
|
|
|
|
|
</a>
|
|
|
|
|
|
</span>
|
2026-01-28 14:27:03 +01:00
|
|
|
|
</Footer>
|
2025-09-29 20:36:56 +02:00
|
|
|
|
);
|
|
|
|
|
|
}
|