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

CBIIT / INS-WebPortal / 20350434716

18 Dec 2025 08:28PM UTC coverage: 2.453%. First build
20350434716

push

github

web-flow
Merge pull request #482 from CBIIT/3.2.0

3.2.0 Release

43 of 1822 branches covered (2.36%)

Branch coverage included in aggregate %.

7 of 490 new or added lines in 27 files covered. (1.43%)

83 of 3314 relevant lines covered (2.5%)

1.02 hits per line

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

0.0
/src/components/Header/HeaderDesktop.tsx
NEW
1
import React from 'react';
×
NEW
2
import styled from 'styled-components';
×
NEW
3
import { useLocation } from 'react-router-dom';
×
NEW
4
import Logo from './components/LogoDesktop.tsx';
×
NEW
5
import SearchBar from './components/SearchBarDesktop.tsx';
×
NEW
6
import NavBar from './components/NavbarDesktop.tsx';
×
7

NEW
8
const HeaderBanner = styled.div`
×
9
  width: 100%;
10
`;
11

NEW
12
const HeaderContainer = styled.div`
×
13
    margin: 0 auto;
14
    padding-left: 32px;
15
    max-width: 1400px;
16
    display: flex;
17

18
    .searchBarArea {
19
        padding: 5px 300px 0 0;
20
    }
21

22
    .headerLowerContainer {
23
        display: flex;
24
        margin-left: auto;
25
    }
26

27
    .searchBarArea {
28
      margin-top: 42px;
29
  }
30
`;
31

NEW
32
const Header = () => {
×
NEW
33
  const path = useLocation().pathname;
×
34

NEW
35
  return (
×
36
    <HeaderBanner role="banner">
37
      <HeaderContainer>
38
        <Logo />
39
        <div className="headerLowerContainer">
40
          {!path.includes('/globalsearch') && <div className="searchBarArea"><SearchBar /></div>}
×
41
        </div>
42
      </HeaderContainer>
43
      <div className="navbarContainer"><NavBar /></div>
44
    </HeaderBanner>
45
  );
NEW
46
};
×
47

48
export default Header;
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