Skip to content

Commit

Permalink
Remove beta label from navigation bar (#699)
Browse files Browse the repository at this point in the history
Signed-off-by: Cintia Sanchez Garcia <[email protected]>
  • Loading branch information
cynthia-sg authored Nov 2, 2022
1 parent 8b7672a commit 46baa87
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 17 deletions.
6 changes: 0 additions & 6 deletions web/src/layout/navigation/Navbar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@
height: 25px;
}

.badge {
background-color: var(--color-white-25);
font-size: 0.65rem;
padding: 0.25rem 0.4rem;
}

.link {
letter-spacing: 2px;
}
Expand Down
1 change: 0 additions & 1 deletion web/src/layout/navigation/Navbar.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ describe('Navbar', () => {
</Router>
);

expect(screen.getByText('Beta')).toBeInTheDocument();
expect(screen.getByAltText('CLOMonitor logo')).toBeInTheDocument();

const links = screen.getAllByRole('link');
Expand Down
1 change: 0 additions & 1 deletion web/src/layout/navigation/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const Navbar = (props: Props) => {
<Link to="/" onClick={() => props.setScrollPosition(0)} className="cursorPointer">
<img className={styles.logo} alt="CLOMonitor logo" src={logo} />
</Link>
<div className={`ms-1 badge rounded-0 text-uppercase ${styles.badge} betaBadge`}>Beta</div>
<MobileSettings />
</div>
</div>
Expand Down
5 changes: 0 additions & 5 deletions web/src/layout/navigation/__snapshots__/Navbar.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ exports[`Navbar creates snapshot 1`] = `
src=""
/>
</a>
<div
class="ms-1 badge rounded-0 text-uppercase badge betaBadge"
>
Beta
</div>
<div
class="d-flex d-md-none ms-auto position-relative"
>
Expand Down
4 changes: 0 additions & 4 deletions web/src/styles/dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,6 @@
border-color: var(--solid-border);
}

.betaBadge {
background-color: var(--color-black-25);
}

@media (hover: hover) {
.navbarLink:hover::before {
background-color: var(--color-light-font);
Expand Down

0 comments on commit 46baa87

Please sign in to comment.