-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1011 from t3n/nav
fix: 🐛 add loading state to /dein-abo in nav
- Loading branch information
Showing
12 changed files
with
56 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/components/src/LegacyHeader/components/LegacyMainNav.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
import React from 'react'; | ||
export interface LegacyMainNavProps { | ||
isProMember?: boolean; | ||
userLoading?: boolean; | ||
isSticky?: boolean; | ||
} | ||
export type MainNavLinkGroupsType = { | ||
label: string; | ||
url?: string; | ||
bold?: boolean; | ||
indicator?: boolean; | ||
loading?: boolean; | ||
dropdownLinks?: { | ||
label: string; | ||
url: string; | ||
}[]; | ||
}; | ||
export declare const MainNavDropdown: import("styled-components").StyledComponent<"ul", any, {}, never>; | ||
export declare const Indicator: import("styled-components").StyledComponent<"span", any, {}, never>; | ||
declare const LegacyMainNav: React.FC<LegacyMainNavProps>; | ||
export default LegacyMainNav; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,6 +60,7 @@ const meta: Meta<typeof LegacyHeader> = { | |
'https://storage.googleapis.com/t3n-media/t3n-headercampaign-mobile.png', | ||
isPlusUser: true, | ||
isProMember: true, | ||
userLoading: false, | ||
userEmail: '[email protected]', | ||
}, | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,7 @@ const meta: Meta<typeof LegacyPageLayout> = { | |
'https://storage.googleapis.com/t3n-media/t3n-headercampaign-mobile.png', | ||
isPlusUser: true, | ||
isProMember: true, | ||
userLoading: false, | ||
userEmail: '[email protected]', | ||
children: ( | ||
<> | ||
|