import * as React from 'react' import Menu from 'semantic-ui-react/dist/commonjs/collections/Menu' import Icon from 'semantic-ui-react/dist/commonjs/elements/Icon/Icon' import { storiesOf } from '@storybook/react' import centered from '@storybook/addon-centered/react' import { Button } from '../Button/Button' import { Hero } from '../Hero/Hero' import { Parallax } from '../Parallax/Parallax' import { UserMenu } from '../UserMenu/UserMenu' import { avatar } from '../../data/avatar' import { Navbar } from './Navbar' import './Navbar.stories.css' storiesOf('Navbar', module) .addDecorator(centered) .add('DAO', () => { return (
) }) .add('Sign In', () => { return (
console.log('Clicked on sign in')} />
) }) .add('Sign In Page', () => { return (
console.log('Clicked on sign in')} />
) }) .add('Connecting', () => { return (
console.log('Clicked on sign in')} isConnecting />
) }) .add('Connected', () => { return (
) }) .add('On click account', () => { return (
console.log('Clicked on account menu')} />
) }) .add('Fullscreen', () => { return (
console.log('Clicked on account menu')} isFullscreen />
) }) .add('With hero', () => { return (
Help us build Decentraland Join the discussion
) }) .add('With Overlay over Hero', () => { return (
Help us build Decentraland Join the discussion
) }) .add('Custom middle menu', () => { return (
console.log('Clicked on account menu')} middleMenu={ console.log('Clicked on notification bell')} /> } />
) }) .add('Custom left menu', () => { return (
console.log('Clicked on account menu')} leftMenu={ <> Home About Contact Us } />
) }) .add('Custom right menu', () => { return (
console.log('Clicked on account menu')} rightMenu={ } />
) }) .add('With UserMenu', () => { return (
console.log('Clicked on account menu')} rightMenu={} />
) }) .add('Full width inner container', () => { return (
) })