Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.140.254.100
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
node_modules /
npm /
docs /
src /
components /
Delete
Unzip
Name
Size
Permission
Date
Action
home
[ DIR ]
drwxr-xr-x
2022-01-26 16:43
Accordion.js
1.14
KB
-rw-r--r--
2022-01-10 12:20
Button.js
478
B
-rw-r--r--
2022-01-10 12:20
DocLinks.js
1.83
KB
-rw-r--r--
2022-01-10 12:20
FoundTypo.js
815
B
-rw-r--r--
2022-01-10 12:20
MobileSidebar.js
756
B
-rw-r--r--
2022-01-10 12:20
Sidebar.js
619
B
-rw-r--r--
2022-01-10 12:20
layout.js
604
B
-rw-r--r--
2022-01-10 12:20
links.js
970
B
-rw-r--r--
2022-01-10 12:20
navbar.js
3.17
KB
-rw-r--r--
2022-01-10 12:20
scripts.js
610
B
-rw-r--r--
2022-01-10 12:20
seo.js
1.72
KB
-rw-r--r--
2022-01-10 12:20
Save
Rename
import React from 'react' import styled from 'styled-components' import downCarrot from '../images/down-carrot.svg' import upCarrot from '../images/up-carrot.svg' const SectionButton = styled.button` outline: none; background-color: transparent; cursor: pointer; color: red; border: none; font-size: 18px; font-weight: bold; padding: 5px 0; transition: opacity .5s; &:after { background: center / contain no-repeat url(${(props) => props.isOpen ? upCarrot : downCarrot}); content: ''; height: 11px; width: 28px; display: inline-block; } &:hover { opacity: .6; } ` class Accordion extends React.Component { constructor (props) { super(props) this.state = { isOpen: true } this.onHide = this.onHide.bind(this) } onHide () { this.setState({isOpen: !this.state.isOpen}) } render () { return ( <div> <SectionButton isOpen={this.state.isOpen} onClick={this.onHide}>{this.props.section}</SectionButton> {this.state.isOpen && <div> {this.props.children} </div> } </div> ) } } export default Accordion