X7ROOT File Manager
Current Path:
/opt/alt/alt-nodejs12/root/usr/lib/node_modules/npm/docs/src/components
opt
/
alt
/
alt-nodejs12
/
root
/
usr
/
lib
/
node_modules
/
npm
/
docs
/
src
/
components
/
📁
..
📄
Accordion.js
(1.14 KB)
📄
Button.js
(478 B)
📄
DocLinks.js
(1.83 KB)
📄
FoundTypo.js
(815 B)
📄
MobileSidebar.js
(756 B)
📄
Sidebar.js
(619 B)
📁
home
📄
layout.js
(604 B)
📄
links.js
(970 B)
📄
navbar.js
(3.17 KB)
📄
scripts.js
(610 B)
📄
seo.js
(1.72 KB)
Editing: Sidebar.js
import React from 'react' import styled from 'styled-components' import DocLinks from './DocLinks' const Container = styled.nav` border-right: 1px solid #86838333; padding: 30px; height: 100vh; display: none; width: 380px; position: sticky; overflow: scroll; padding-bottom: 200px; top: 54px; background-color: ${(props) => props.theme.colors.white}; @media screen and (min-width: ${(props) => props.theme.breakpoints.TABLET}) { display: block; } ` const Sidebar = () => { return ( <Container className='sidebar'> <DocLinks /> </Container> ) } export default Sidebar
Upload File
Create Folder