2020-09-23 16:51:06 -03:00
|
|
|
import cn from "classnames";
|
2020-09-23 16:57:17 -03:00
|
|
|
import React, { FunctionComponent } from "react";
|
2020-09-23 16:51:06 -03:00
|
|
|
import s from "./Navbar.module.css";
|
2020-09-23 16:57:17 -03:00
|
|
|
import { Logo, Container } from "ui";
|
2020-09-23 17:15:24 -03:00
|
|
|
import { Avatar, Searchbar } from "components";
|
2020-09-23 16:51:06 -03:00
|
|
|
interface Props {
|
|
|
|
className?: string;
|
|
|
|
children?: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
const Navbar: FunctionComponent<Props> = ({ className }) => {
|
|
|
|
const rootClassName = cn(s.root, className);
|
|
|
|
return (
|
|
|
|
<div className={rootClassName}>
|
2020-09-23 16:57:17 -03:00
|
|
|
<Container className={s.container}>
|
|
|
|
<Logo />
|
2020-09-23 17:15:24 -03:00
|
|
|
<Searchbar />
|
|
|
|
<nav>All Clothes Accesories</nav>
|
|
|
|
<nav>
|
|
|
|
<Avatar />
|
|
|
|
</nav>
|
2020-09-23 16:57:17 -03:00
|
|
|
</Container>
|
2020-09-23 16:51:06 -03:00
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default Navbar;
|