Skip to content

Commit

Permalink
Merge pull request #253 from storybookjs/temporarily-remove-banner
Browse files Browse the repository at this point in the history
Temporarily remove banner from global header
  • Loading branch information
kylegach authored Dec 18, 2024
2 parents 291c201 + 538d4c2 commit 0ce364c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion apps/frontpage/app/docs/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ export default async function Layout({ children }: { children: ReactNode }) {
/>
<Image
alt="Storybook Docs"
className="absolute left-0 top-0 -z-10 w-full"
// TODO: 40px is height of eyebrow. Find way to not hard-code this.
className="absolute left-0 top-[40px] -z-10 w-full"
// className="absolute left-0 top-[40px] -z-10 w-full"
height={339}
priority
src="/bubbles.png"
Expand Down
16 changes: 8 additions & 8 deletions packages/ui/src/header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { StorybookLogo } from '../logos/storybook-logo';
import { Search } from '../search';
import { MobileMenu } from './mobile-menu';
import { Button } from './button';
import { Eyebrow } from './eyebrow';
// import { Eyebrow } from './eyebrow';
import { nav } from './nav';

export interface HeaderProps {
Expand All @@ -22,13 +22,13 @@ export interface HeaderProps {

export const Header: FC<HeaderProps> = ({
algoliaApiKey,
// eyebrow,
eyebrow = (
<Eyebrow
href="https://storybook.js.org/sb-test-eap"
title="Join live session: Test your components in browser with Storybook Test"
/>
),
eyebrow,
// eyebrow = (
// <Eyebrow
// href="https://storybook.js.org/sb-test-eap"
// title="Join live session: Test your components in browser with Storybook Test"
// />
// ),
githubCount = 0,
subMenu,
variant = 'system',
Expand Down

0 comments on commit 0ce364c

Please sign in to comment.