This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| import Sidebar from '../Sidebar'; | |
| import UserHeader from '../UserHeader'; | |
| import MobileNav from '../MobileNav'; | |
| import { StyledContent } from './styles'; | |
| const Layout = ({ user, children }) => { | |
| return ( | |
| <> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import styled from 'styled-components' | |
| import { Content } from 'carbon-components-react/lib/components/UIShell' | |
| export const StyledContent = styled(Content)` | |
| min-height: 100vh; | |
| @media (max-width: 640px) { | |
| margin-left: 0 !important; | |
| } | |
| ` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Layout from './Layout' | |
| export default Layout |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| import { useLocation } from 'react-router-dom'; | |
| import { ArrowRight16 } from '@carbon/icons-react'; | |
| import { HeaderContainer, Header, Image, ViewResumeLink } from './styles'; | |
| const UserHeader = ({ user }) => { | |
| const location = useLocation(); | |
| return ( |