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

CBIIT / INS-WebPortal / 21370676196

26 Jan 2026 07:16PM UTC coverage: 2.85% (+0.5%) from 2.314%
21370676196

Pull #488

github

web-flow
Merge 5010ea4bc into ca62eea5a
Pull Request #488: INS-1517 Design 508 Fixes

49 of 1788 branches covered (2.74%)

Branch coverage included in aggregate %.

9 of 22 new or added lines in 8 files covered. (40.91%)

2 existing lines in 2 files now uncovered.

95 of 3264 relevant lines covered (2.91%)

11.82 hits per line

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

0.0
/src/pages/error/Error.js
1
import React from 'react';
×
2
import { Link } from 'react-router-dom';
×
3
import {
×
4
  Grid, Paper, Typography, withStyles,
5
} from '@material-ui/core';
6
import bg from '../../assets/error/background.png';
×
7
import heroBg from '../../assets/error/404_bubbles.png';
×
8

9
const Error = ({ classes }) => (
×
10
  <div className={classes.container}>
×
11
    <Grid container className={classes.container2}>
12
      <Grid item xs={12} className={classes.heroImage}>
13
        <img
14
          src={heroBg}
15
          alt="404"
16
          className={classes.heroImg}
17
        />
18
      </Grid>
19

20
      <Grid item xs={12} className={classes.errorTextRow}>
21
        Sorry, page not found
22
      </Grid>
23
      <Grid item xs={12} className={classes.errorText}>
24
        The page you are looking for does not exist or another error has occurred.
25
      </Grid>
26
      <Grid item xs={12} className={classes.errorAction}>
27
        <Link className={classes.link} to="/">BACK HOME</Link>
28
        <div className={classes.polygen} />
29
      </Grid>
30
    </Grid>
31
  </div>
32
);
33

34
const styles = (theme) => ({
×
35
  container: {
36
    display: 'flex',
37
    marginTop: '-49px',
38
    flexDirection: 'column',
39
    justifyContent: 'center',
40
    alignItems: 'center',
41
    top: 0,
42
    left: 0,
43
    borderTop: '4px solid #417d96',
44
    backgroundRepeat: 'round',
45
    background: `url(${bg})`,
46
  },
47
  heroImage: {
48
    display: 'flex',
49
    flexDirection: 'column',
50
    alignItems: 'center',
51
    height: '180px',
52
    marginLeft: '25px',
53
  },
54
  heroImg: {
55
    bottom: 0,
56
    width: 'auto',
57
    height: '180px',
58
  },
59
  errorTextRow: {
60
    display: 'flex',
61
    flexDirection: 'column',
62
    alignItems: 'center',
63
    height: '40px',
64
    color: '#000000',
65
    fontFamily: 'Inter',
66
    fontSize: '40px',
67
    fontWeight: '800',
68
    lineHeight: '34px',
69
    marginTop: '18px',
70
  },
71
  errorText: {
72
    fontFamily: 'Nunito',
73
    fontWeight: '600',
74
    fontSize: 17,
75
    textAlign: 'center',
76
    height: '20px',
77
    color: '#000000',
78
    letterSpacing: '0',
79
    lineHeight: '20px',
80
    marginTop: '20px',
81
  },
82
  link: {
83
    padding: '9px 49px 9px 29px',
84
    textDecoration: 'none',
85
    border: '1px solid #767382',
86
    backgroundColor: '#767382',
87
    color: '#ffffff',
88
    fontFamily: 'Lato',
89
    fontSize: '16px',
90
    fontWeight: 'bold',
91
    lineHeight: '26.41px',
92
  },
93
  errorAction: {
94
    marginTop: '25px',
95
    position: 'relative',
96
    display: 'flex',
97
    flexDirection: 'column',
98
    alignItems: 'center',
99
    height: '50px',
100
  },
101
  polygen: {
102
    backgroundColor: '#ffffff',
103
    clipPath: 'polygon(50% 0, 100% 100%, 0 100%)',
104
    width: '11px',
105
    height: '11px',
106
    transform: 'rotate(90deg)',
107
    position: 'absolute',
108
    top: '18px',
109
    right: 'calc(50% - 65px)',
110
  },
111
  container2: {
112
    maxWidth: '1200px',
113
    padding: '109px 0',
114
  },
UNCOV
115
});
×
116

117
export default withStyles(styles, { withTheme: true })(Error);
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