• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

alkem-io / client-web / #6160

01 Nov 2023 04:11PM UTC coverage: 5.918%. First build
#6160

Pull #5095

travis-ci

Pull Request #5095: License entity, plus mgmt

182 of 8635 branches covered (0.0%)

Branch coverage included in aggregate %.

99 of 99 new or added lines in 44 files covered. (100.0%)

1266 of 15832 relevant lines covered (8.0%)

0.19 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/core/auth/authentication/components/PlatformIntroduction.tsx
1
import { useConfig } from '@/domain/platform/config/useConfig';
2
import { Box, BoxProps } from '@mui/material';
3
import { Trans, TransProps } from 'react-i18next';
4
import Paragraph from '@/domain/shared/components/Text/Paragraph';
5
import TranslationKey from '@/core/i18n/utils/TranslationKey';
6

7
interface PlatformIntroductionProps {
8
  label: TransProps<TranslationKey>['i18nKey'];
9
}
10

11
const Link = (props: BoxProps<'a'>) => {
×
12
  return <Box component="a" target="_blank" whiteSpace="nowrap" {...props} />;
×
13
};
14

15
const PlatformIntroduction = ({ label }: PlatformIntroductionProps) => {
×
16
  const { locations } = useConfig();
×
17

18
  return (
×
19
    <Box color="neutral.light">
20
      <Trans
21
        i18nKey={label}
22
        components={{
23
          p: <Paragraph textAlign="left" marginY={0} />,
24
          terms: <Link sx={{ color: theme => theme.palette.highlight.dark }} href={locations?.terms} />,
25
          privacy: <Link sx={{ color: theme => theme.palette.highlight.dark }} href={locations?.privacy} />,
26
        }}
27
      />
28
    </Box>
29
  );
30
};
31

32
export default PlatformIntroduction;
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc