All files / src/utils/components/copyright Copyright.jsx

25% Statements 1/4
100% Branches 0/0
0% Functions 0/1
25% Lines 1/4

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31              3x                                              
import React from "react";
import "./Copyright.scss";
import { useTheme } from "@mui/material/styles";
import { getThemeGradientBarSx } from "@/utils/theme/themeSoftTokens";
import { SHARED_IDS } from "@/utils/helpers/testIds";
import appVersion from "/version.txt?raw";
 
const Copyright = () => {
    const theme = useTheme();
    const barSx = getThemeGradientBarSx(theme);
 
    return (
        <div
            id={SHARED_IDS.copyright}
            className="copyright-container"
            style={{ background: barSx.background, color: barSx.color }}
        >
            <div className="container-content">
                <span id={SHARED_IDS.copyrightText} style={{ fontSize: "14px", color: "inherit" }}>
                    &copy; 2026 Erudition Solutions, LLC. All Rights Reserved
                </span>
                <span id={SHARED_IDS.copyrightVersion} style={{ fontSize: "14px", color: "inherit" }}>
                    v{appVersion.trim()}
                </span>
            </div>
        </div>
    );
};
 
export default Copyright;