Skip to content

Commit

Permalink
Remove release banner
Browse files Browse the repository at this point in the history
  • Loading branch information
Tammo-Feldmann committed Dec 13, 2023
1 parent 7b3b860 commit 1c8e377
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion playwright/e2e/header.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ test.describe("Header", () => {

test("renders correctly", async () => {
// TODO re-enable this header test once temporary release banner is removed
// await expect(page.locator('header')).toHaveText(site.siteMetadata.headerType);
await expect(page.locator("header")).toHaveText(
site.siteMetadata.headerType
)

const nasaLogo = page.locator("[data-cy=nasa-logo]")
await expect(nasaLogo).toHaveAttribute(
Expand Down
2 changes: 0 additions & 2 deletions src/components/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { colors, layout, breakpoints } from "../theme"
import { CaseiLogoIcon } from "../icons"
import { NEGATIVE } from "../utils/constants"
import StickyBanner from "./sticky-banner"
import ReleaseBanner from "./release-banner"

const Header = ({ shortname, children, mode }) => {
const offsetCalculator = (scrollDirection, _, currentScroll) => {
Expand All @@ -29,7 +28,6 @@ const Header = ({ shortname, children, mode }) => {
rgba(68, 63, 63, 0.08) 0px 2px 6px 0px;
`}
>
<ReleaseBanner />
<div
css={`
margin: 0 auto;
Expand Down

0 comments on commit 1c8e377

Please sign in to comment.