mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-02 04:46:18 -05:00
Creating a share modal and button which allows a user to send a notification event to all users.
This commit is contained in:
parent
4e85e2f3d7
commit
ac363ae0e2
9 changed files with 139 additions and 8 deletions
|
|
@ -4,6 +4,7 @@ import {Dropdown, Menu} from "semantic-ui-react";
|
|||
import {Media, StatusContext, ThemeContext} from "../contexts/contexts";
|
||||
import Icon from "semantic-ui-react/dist/commonjs/elements/Icon";
|
||||
import {DarkModeToggle, HotspotStatusIcon, NAME} from "./Common";
|
||||
import {ShareButton} from "./Share";
|
||||
|
||||
const links = [
|
||||
{text: 'Videos', to: '/videos', key: 'videos'},
|
||||
|
|
@ -64,6 +65,7 @@ export function NavBar() {
|
|||
{topNavText}
|
||||
</NavLink>;
|
||||
const icons = <React.Fragment>
|
||||
<NavIcon><ShareButton/></NavIcon>
|
||||
<NavIcon><HotspotStatusIcon/></NavIcon>
|
||||
<NavIcon><DarkModeToggle/></NavIcon>
|
||||
</React.Fragment>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue