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