|
|
@@ -13,55 +13,32 @@ const ThreeStrandedButton = (props) => {
|
|
|
}
|
|
|
|
|
|
return (
|
|
|
- <Nav>
|
|
|
- <div className="btn-group grw-three-stranded-button" role="group " aria-label="three-stranded-button">
|
|
|
- <NavItem>
|
|
|
- <NavLink
|
|
|
- href="#view"
|
|
|
- type="button"
|
|
|
- className="btn btn-outline-primary view-button"
|
|
|
- onClick={() => { threeStrandedButtonClickedHandler('view') }}
|
|
|
- >
|
|
|
- <i className="icon-control-play icon-fw" />
|
|
|
- { t('view') }
|
|
|
- </NavLink>
|
|
|
- </NavItem>
|
|
|
-
|
|
|
- <NavItem>
|
|
|
- <NavLink
|
|
|
- href="#edit"
|
|
|
- type="button"
|
|
|
- className="btn btn-outline-primary edit-button"
|
|
|
- onClick={() => { threeStrandedButtonClickedHandler('edit') }}
|
|
|
- >
|
|
|
- <i className="icon-note icon-fw" />
|
|
|
- { t('Edit') }
|
|
|
- </NavLink>
|
|
|
- </NavItem>
|
|
|
-
|
|
|
- <NavItem>
|
|
|
- <NavLink
|
|
|
- href="#hackmd"
|
|
|
- type="button"
|
|
|
- className="btn btn-outline-primary hackmd-button"
|
|
|
- onClick={() => { threeStrandedButtonClickedHandler('hackmd') }}
|
|
|
- >
|
|
|
- <i className="icon-note icon-fw" />
|
|
|
- { t('Edit') }
|
|
|
- </NavLink>
|
|
|
- </NavItem>
|
|
|
- {/* <button
|
|
|
+ <div className="btn-group grw-three-stranded-button" role="group " aria-label="three-stranded-button">
|
|
|
+ <button
|
|
|
+ type="button"
|
|
|
+ className="btn btn-outline-primary view-button"
|
|
|
+ onClick={() => { threeStrandedButtonClickedHandler('view') }}
|
|
|
+ >
|
|
|
+ <i className="icon-control-play icon-fw" />
|
|
|
+ { t('view') }
|
|
|
+ </button>
|
|
|
+ <button
|
|
|
+ type="button"
|
|
|
+ className="btn btn-outline-primary edit-button"
|
|
|
+ onClick={() => { threeStrandedButtonClickedHandler('edit') }}
|
|
|
+ >
|
|
|
+ <i className="icon-note icon-fw" />
|
|
|
+ { t('Edit') }
|
|
|
+ </button>
|
|
|
+ <button
|
|
|
type="button"
|
|
|
className="btn btn-outline-primary hackmd-button"
|
|
|
onClick={() => { threeStrandedButtonClickedHandler('hackmd') }}
|
|
|
>
|
|
|
<i className="fa fa-fw fa-file-text-o" />
|
|
|
{ t('hackmd.hack_md') }
|
|
|
- </button> */}
|
|
|
- </div>
|
|
|
- </Nav>
|
|
|
-
|
|
|
-
|
|
|
+ </button>
|
|
|
+ </div>
|
|
|
);
|
|
|
|
|
|
};
|