This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/packages/dashboard-v2/src/components/NavBar/NavBar.js

22 lines
489 B
JavaScript
Raw Normal View History

2022-02-18 08:20:47 +00:00
import styled from "styled-components";
2022-02-18 08:20:47 +00:00
import { PageContainer } from "../PageContainer";
const NavBarContainer = styled.div.attrs({
className: `grid sticky top-0 bg-white`,
2022-02-18 08:20:47 +00:00
})``;
const NavBarBody = styled.nav.attrs({
2022-02-18 08:20:47 +00:00
className: "grid h-[80px] font-sans font-light text-sm",
})`
grid-template-columns: auto max-content 1fr;
2022-02-18 08:20:47 +00:00
`;
export const NavBar = (props) => (
<NavBarContainer>
<PageContainer>
<NavBarBody {...props} />
</PageContainer>
</NavBarContainer>
2022-02-18 08:20:47 +00:00
);