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

alkem-io / client-web / #9048

11 Oct 2024 01:42PM UTC coverage: 5.943%. First build
#9048

Pull #7022

travis-ci

Pull Request #7022: [v0.74.0] Roles API + Unauthenticated Explore page

202 of 10241 branches covered (1.97%)

Branch coverage included in aggregate %.

63 of 431 new or added lines in 60 files covered. (14.62%)

1468 of 17861 relevant lines covered (8.22%)

0.19 hits per line

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

0.0
/src/main/topLevelPages/myDashboard/MyDashboardUnauthenticated.tsx
1
import React, { FC } from 'react';
2
import { Link } from 'react-router-dom';
3
import { Button } from '@mui/material';
4
import { useTranslation } from 'react-i18next';
5
import AccountCircleOutlinedIcon from '@mui/icons-material/AccountCircleOutlined';
6
import ExploreSpaces from './ExploreSpaces/ExploreSpaces';
7
import { Actions } from '@/core/ui/actions/Actions';
8
import { AUTH_SIGN_UP_PATH } from '@/core/auth/authentication/constants/authentication.constants';
9
import PageContentBlock from '@/core/ui/content/PageContentBlock';
10

×
NEW
11
interface MyDashboardUnauthenticatedProps {}
×
NEW
12

×
13
const MyDashboardUnauthenticated: FC<MyDashboardUnauthenticatedProps> = () => {
14
  const { t } = useTranslation();
×
15

16
  return (
NEW
17
    <PageContentBlock columns={12}>
×
18
      <ExploreSpaces />
19
      <Actions justifyContent={'center'}>
20
        <Button
21
          component={Link}
22
          to={AUTH_SIGN_UP_PATH}
23
          variant="contained"
24
          size="large"
25
          sx={{ width: 'auto', textTransform: 'none', a: { textDecoration: 'underline' } }}
26
          startIcon={<AccountCircleOutlinedIcon />}
27
        >
28
          {t('authentication.sign-up')}
29
        </Button>
30
      </Actions>
31
    </PageContentBlock>
32
  );
33
};
34

35
export default MyDashboardUnauthenticated;
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

© 2025 Coveralls, Inc