Skip to content
This repository was archived by the owner on Mar 6, 2025. It is now read-only.

Commit b4ee6bb

Browse files
author
Alan
committed
remove old header story
1 parent 88682a7 commit b4ee6bb

1 file changed

Lines changed: 0 additions & 31 deletions

File tree

src/stories/layout.stories.tsx

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ import Carousel from '../components/carousel';
2424
import AspectRatioContainer from '../components/aspect_ratio_container';
2525
import Header from '../components/header';
2626
import Navigation, { NavRoute } from '../components/navigation';
27-
import HeaderOld from '../components/header_old';
28-
import NavigationOld from '../components/navigation_old';
2927
import UserAccountMenu from '../components/user_account_menu';
3028
import AppSwitcherMenu from '../components/app_switcher_menu';
3129

@@ -262,35 +260,6 @@ stories.add('Header', withInfo(
262260
</BrowserRouter>
263261
)));
264262

265-
stories.add('Header Old', withInfo(
266-
'Old application header with navigation',
267-
)(() => (
268-
<BrowserRouter>
269-
<div style={{ width: '100vw', marginTop: '-50px' }}>
270-
<HeaderOld headerLogoUrl="/" showNav rightSideLabel={text('Label', '')}>
271-
<NavigationOld
272-
navLinks={routes}
273-
manageAccountURL={text('Manage Account URL', '')}
274-
onSignOutClickHandler={() => { }}
275-
accountNavText="Account"
276-
signOutNavText="Sign out"
277-
>
278-
<UserAccountMenu
279-
onSignOutClickHandler={() => { }}
280-
displayName="Test User"
281-
onSignInClickHandler={() => { }}
282-
triggerWidth="10rem"
283-
accountHeaderText="My account"
284-
accountButtonText="Manage account"
285-
signOutButtonText="Sign out"
286-
signInButtonText="Sign in"
287-
/>
288-
</NavigationOld>
289-
</HeaderOld>
290-
</div>
291-
</BrowserRouter>
292-
)));
293-
294263
stories.add('Carousel', withInfo(
295264
'A carrousel component',
296265
)(() => {

0 commit comments

Comments
 (0)