Skip to content

Commit

Permalink
feat(wmg): 3701 Remove beta tag (#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
tihuan authored Dec 13, 2022
1 parent 0248748 commit 4028070
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 20 deletions.
2 changes: 1 addition & 1 deletion client/__tests__/e2e/__snapshots__/e2e.test.ts.snap

Large diffs are not rendered by default.

11 changes: 1 addition & 10 deletions client/src/components/NavBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@ import { track } from "../../analytics";
import { EVENTS } from "../../analytics/events";
import { ROUTES } from "./routes";
import Icon from "../icon/icon";
import {
BetaChip,
Left,
LinkWrapper,
MainWrapper,
Nav,
Right,
Wrapper,
} from "./style";
import { Left, LinkWrapper, MainWrapper, Nav, Right, Wrapper } from "./style";

function handleMenuClick() {
track(EVENTS.EXPLORER_MENU_BUTTON_CLICKED);
Expand Down Expand Up @@ -79,7 +71,6 @@ const Header = (props: HeaderProps) => {
text="Gene Expression"
onClick={handleWMGClick}
/>
<BetaChip label="Beta" size="small" />
</LinkWrapper>
</Nav>
</Left>
Expand Down
10 changes: 1 addition & 9 deletions client/src/components/NavBar/style.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { Classes, Colors } from "@blueprintjs/core";
import { Chip } from "czifui";
import styled from "@emotion/styled";
import { css } from "@emotion/react";
import { GRAY, PT_GRID_SIZE_PX, PT_TEXT_COLOR } from "./theme";
import { GRAY, PT_TEXT_COLOR } from "./theme";
import { HEADER_HEIGHT_PX } from "../../globals";

export const Wrapper = styled.div`
Expand Down Expand Up @@ -81,10 +80,3 @@ export const LinkWrapper = styled.span`
display: flex;
align-items: center;
`;

export const BetaChip = styled(Chip)`
background: #7a41ce;
color: white;
margin-left: ${PT_GRID_SIZE_PX / 2}px;
height: ${PT_GRID_SIZE_PX * 2}px !important;
`;

0 comments on commit 4028070

Please sign in to comment.