import React from 'react';

import { BrowserRouter } from 'react-router-dom'

import { Navbar } from '../components/Navbar';

import { Container } from '../components/Container';
import { Banner } from '../components/Banner';
import { Padder } from '../components/Padder';
import { Button } from '../components/Button';

import gradient from '../stories/assets/Amin.jpg'

export const NavbarExample = ({ authenticated }) => {

    return (
        <BrowserRouter>
            <Navbar
                title='Acme'
                homeLink='/'
                // loginLink='/login'
                // signupLink='/signup'
                // withAuth
                menu={[
                    {
                        name: 'Solutions',
                        link: '/',
                        subs: [
                            {
                                name: 'Remote work',
                                link: '/'
                            },
                            {
                                name: 'Project management',
                                link: '/'
                            },
                            {
                                name: 'Communication',
                                link: '/'
                            },
                            {
                                name: 'Reporting & dashboards',
                                link: '/'
                            }
                        ]
                    },
                    {
                        name: 'Pricing',
                        link: '/'
                    }
                ]}
                customElements={
                    <Padder right="2em">
                        <Button intent="primary">Connect Metamask</Button>
                    </Padder>
                }
            />

            <div style={{ height: 1000 }}>
                <Container width={900}>
                    <Padder top="3rem">
                        <h1>Hello world</h1>
                        <hr />
                        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
                        <Padder top="2rem">
                            <Banner
                                height={400}
                                source={gradient}
                                direction='center'
                                parallax={false}
                            />
                        </Padder>
                    </Padder>
                </Container>
            </div>
        </BrowserRouter>
    );
}