File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ import './Header.scss';
1616
1717const b = block ( 'header' ) ;
1818
19+ const ICON_SIZE = 36 ;
20+
1921export interface HeaderProps {
2022 logo : NavigationLogo ;
2123 data : HeaderData ;
@@ -30,7 +32,10 @@ const MobileMenuButton: React.FC<MobileMenuButtonProps> = ({
3032 isSidebarOpened,
3133 onSidebarOpenedChange,
3234} ) => {
33- const iconProps = { icon : isSidebarOpened ? NavigationClose : NavigationOpen , iconSize : 36 } ;
35+ const iconProps = {
36+ icon : isSidebarOpened ? NavigationClose : NavigationOpen ,
37+ iconSize : ICON_SIZE ,
38+ } ;
3439
3540 return (
3641 < Control
Original file line number Diff line number Diff line change @@ -43,11 +43,11 @@ export const DocsWithReadme = () => {
4343 if ( dirPath ) {
4444 sourceBadgeContent = (
4545 < a
46- href = { `https://github.com/gravity-ui/page-constructor/browse/browse /${ dirPath } ` }
46+ href = { `https://github.com/gravity-ui/page-constructor/tree/main /${ dirPath } ` }
4747 target = "_blank"
4848 rel = "noopener noreferrer"
4949 >
50- < img src = "https://badger.yandex-team.ru/custom/[Source]/[Bitbucket][green]/ badge.svg" />
50+ < img src = "https://storage.yandexcloud.net/cloud-www-assets/constructor/storybook/icons/github- badge.svg" />
5151 </ a >
5252 ) ;
5353 }
You can’t perform that action at this time.
0 commit comments